31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
# File 'lib/gemsmith/cli.rb', line 31
def self.configuration
Runcom::Configuration.new file_name: Identity.file_name, defaults: {
year: Time.now.year,
github_user: Git.github_user,
gem: {
name: "undefined",
path: "undefined",
class: "Undefined",
platform: "Gem::Platform::RUBY",
url: Git.github_url("undefined"),
license: "MIT"
},
author: {
name: Git.config_value("user.name"),
email: Git.config_value("user.email"),
url: ""
},
organization: {
name: "",
url: ""
},
versions: {
ruby: RUBY_VERSION,
rails: "5.0"
},
generate: {
cli: false,
rails: false,
security: true,
pry: true,
guard: true,
rspec: true,
reek: true,
rubocop: true,
scss_lint: false,
git_hub: false,
code_climate: false,
gemnasium: false,
travis: false,
patreon: false
},
publish: {
sign: false
}
}
end
|