juwelier 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.coveralls.yml +2 -0
- data/.document +8 -0
- data/.semver +5 -0
- data/.travis.yml +7 -0
- data/.yardopts +2 -0
- data/ChangeLog.markdown +230 -0
- data/Gemfile +40 -0
- data/LICENSE.txt +20 -0
- data/README.markdown +252 -0
- data/Rakefile +78 -0
- data/bin/juwelier +9 -0
- data/features/generator/cucumber.feature +103 -0
- data/features/generator/directory_layout.feature +86 -0
- data/features/generator/dotdocument.feature +13 -0
- data/features/generator/env_options.feature +9 -0
- data/features/generator/gemfile.feature +81 -0
- data/features/generator/git.feature +102 -0
- data/features/generator/license.feature +20 -0
- data/features/generator/rakefile.feature +158 -0
- data/features/generator/readme.feature +12 -0
- data/features/generator/test.feature +54 -0
- data/features/generator/test_helper.feature +149 -0
- data/features/placeholder.feature +5 -0
- data/features/step_definitions/debug_steps.rb +6 -0
- data/features/step_definitions/filesystem_steps.rb +70 -0
- data/features/step_definitions/generator_steps.rb +387 -0
- data/features/step_definitions/task_steps.rb +6 -0
- data/features/support/env.rb +41 -0
- data/features/tasks/build_gem.feature +9 -0
- data/features/tasks/version.feature +31 -0
- data/features/tasks/version_bumping.feature +49 -0
- data/juwelier.gemspec +241 -0
- data/lib/juwelier.rb +178 -0
- data/lib/juwelier/commands.rb +20 -0
- data/lib/juwelier/commands/build_gem.rb +40 -0
- data/lib/juwelier/commands/check_dependencies.rb +66 -0
- data/lib/juwelier/commands/install_gem.rb +31 -0
- data/lib/juwelier/commands/release_gemspec.rb +87 -0
- data/lib/juwelier/commands/release_to_git.rb +64 -0
- data/lib/juwelier/commands/release_to_rubygems.rb +28 -0
- data/lib/juwelier/commands/validate_gemspec.rb +30 -0
- data/lib/juwelier/commands/version/base.rb +55 -0
- data/lib/juwelier/commands/version/bump_major.rb +13 -0
- data/lib/juwelier/commands/version/bump_minor.rb +12 -0
- data/lib/juwelier/commands/version/bump_patch.rb +14 -0
- data/lib/juwelier/commands/version/write.rb +12 -0
- data/lib/juwelier/commands/write_gemspec.rb +39 -0
- data/lib/juwelier/errors.rb +8 -0
- data/lib/juwelier/gemcutter_tasks.rb +8 -0
- data/lib/juwelier/gemspec_helper.rb +87 -0
- data/lib/juwelier/generator.rb +304 -0
- data/lib/juwelier/generator/application.rb +63 -0
- data/lib/juwelier/generator/bacon_mixin.rb +43 -0
- data/lib/juwelier/generator/github_mixin.rb +22 -0
- data/lib/juwelier/generator/micronaut_mixin.rb +41 -0
- data/lib/juwelier/generator/minitest_mixin.rb +42 -0
- data/lib/juwelier/generator/options.rb +172 -0
- data/lib/juwelier/generator/rdoc_mixin.rb +13 -0
- data/lib/juwelier/generator/riot_mixin.rb +42 -0
- data/lib/juwelier/generator/rspec_mixin.rb +42 -0
- data/lib/juwelier/generator/shindo_mixin.rb +44 -0
- data/lib/juwelier/generator/shoulda_mixin.rb +42 -0
- data/lib/juwelier/generator/testspec_mixin.rb +42 -0
- data/lib/juwelier/generator/testunit_mixin.rb +39 -0
- data/lib/juwelier/generator/yard_mixin.rb +15 -0
- data/lib/juwelier/rubyforge_tasks.rb +95 -0
- data/lib/juwelier/rubygems_dot_org_tasks.rb +38 -0
- data/lib/juwelier/rubygems_tasks.rb +38 -0
- data/lib/juwelier/specification.rb +110 -0
- data/lib/juwelier/tasks.rb +239 -0
- data/lib/juwelier/templates/.document +5 -0
- data/lib/juwelier/templates/.gitignore +49 -0
- data/lib/juwelier/templates/Gemfile +12 -0
- data/lib/juwelier/templates/LICENSE.txt +20 -0
- data/lib/juwelier/templates/README.rdoc +19 -0
- data/lib/juwelier/templates/Rakefile +9 -0
- data/lib/juwelier/templates/bacon/flunking.rb +7 -0
- data/lib/juwelier/templates/bacon/helper.rb +10 -0
- data/lib/juwelier/templates/bundler_setup.erb +10 -0
- data/lib/juwelier/templates/features/default.feature +9 -0
- data/lib/juwelier/templates/features/support/env.rb +11 -0
- data/lib/juwelier/templates/juwelier_tasks.erb +31 -0
- data/lib/juwelier/templates/micronaut/flunking.rb +7 -0
- data/lib/juwelier/templates/micronaut/helper.rb +19 -0
- data/lib/juwelier/templates/minitest/flunking.rb +7 -0
- data/lib/juwelier/templates/minitest/helper.rb +13 -0
- data/lib/juwelier/templates/other_tasks.erb +70 -0
- data/lib/juwelier/templates/riot/flunking.rb +11 -0
- data/lib/juwelier/templates/riot/helper.rb +5 -0
- data/lib/juwelier/templates/rspec/.rspec +1 -0
- data/lib/juwelier/templates/rspec/flunking.rb +7 -0
- data/lib/juwelier/templates/rspec/helper.rb +14 -0
- data/lib/juwelier/templates/shindo/flunking.rb +8 -0
- data/lib/juwelier/templates/shindo/helper.rb +7 -0
- data/lib/juwelier/templates/shoulda/flunking.rb +7 -0
- data/lib/juwelier/templates/shoulda/helper.rb +12 -0
- data/lib/juwelier/templates/simplecov.erb +16 -0
- data/lib/juwelier/templates/testspec/flunking.rb +7 -0
- data/lib/juwelier/templates/testspec/helper.rb +7 -0
- data/lib/juwelier/templates/testunit/flunking.rb +7 -0
- data/lib/juwelier/templates/testunit/helper.rb +11 -0
- data/lib/juwelier/version.rb +10 -0
- data/lib/juwelier/version_helper.rb +141 -0
- data/test/fixtures/bar/VERSION.yml +4 -0
- data/test/fixtures/bar/bin/foo_the_ultimate_bin +1 -0
- data/test/fixtures/bar/hey_include_me_in_gemspec +0 -0
- data/test/fixtures/bar/lib/foo_the_ultimate_lib.rb +1 -0
- data/test/fixtures/existing-project-with-version-constant/.document +5 -0
- data/test/fixtures/existing-project-with-version-constant/.gitignore +5 -0
- data/test/fixtures/existing-project-with-version-constant/LICENSE.txt +20 -0
- data/test/fixtures/existing-project-with-version-constant/README.rdoc +7 -0
- data/test/fixtures/existing-project-with-version-constant/Rakefile +85 -0
- data/test/fixtures/existing-project-with-version-constant/existing-project-with-version.gemspec +29 -0
- data/test/fixtures/existing-project-with-version-constant/lib/existing_project_with_version.rb +0 -0
- data/test/fixtures/existing-project-with-version-constant/test/existing_project_with_version_test.rb +7 -0
- data/test/fixtures/existing-project-with-version-constant/test/test_helper.rb +10 -0
- data/test/fixtures/existing-project-with-version-plaintext/.document +5 -0
- data/test/fixtures/existing-project-with-version-plaintext/.gitignore +5 -0
- data/test/fixtures/existing-project-with-version-plaintext/LICENSE.txt +20 -0
- data/test/fixtures/existing-project-with-version-plaintext/README.rdoc +7 -0
- data/test/fixtures/existing-project-with-version-plaintext/Rakefile +84 -0
- data/test/fixtures/existing-project-with-version-plaintext/VERSION +1 -0
- data/test/fixtures/existing-project-with-version-plaintext/existing-project-with-version.gemspec +29 -0
- data/test/fixtures/existing-project-with-version-plaintext/lib/existing_project_with_version.rb +0 -0
- data/test/fixtures/existing-project-with-version-plaintext/test/existing_project_with_version_test.rb +7 -0
- data/test/fixtures/existing-project-with-version-plaintext/test/test_helper.rb +10 -0
- data/test/fixtures/existing-project-with-version-yaml/.document +5 -0
- data/test/fixtures/existing-project-with-version-yaml/.gitignore +5 -0
- data/test/fixtures/existing-project-with-version-yaml/LICENSE.txt +20 -0
- data/test/fixtures/existing-project-with-version-yaml/README.rdoc +7 -0
- data/test/fixtures/existing-project-with-version-yaml/Rakefile +84 -0
- data/test/fixtures/existing-project-with-version-yaml/VERSION.yml +4 -0
- data/test/fixtures/existing-project-with-version-yaml/bin/foo_the_ultimate_bin +0 -0
- data/test/fixtures/existing-project-with-version-yaml/existing-project-with-version.gemspec +29 -0
- data/test/fixtures/existing-project-with-version-yaml/lib/existing_project_with_version.rb +0 -0
- data/test/fixtures/existing-project-with-version-yaml/test/existing_project_with_version_test.rb +7 -0
- data/test/fixtures/existing-project-with-version-yaml/test/test_helper.rb +10 -0
- data/test/geminstaller.yml +12 -0
- data/test/juwelier/commands/test_build_gem.rb +112 -0
- data/test/juwelier/commands/test_install_gem.rb +35 -0
- data/test/juwelier/commands/test_release_to_gemcutter.rb +39 -0
- data/test/juwelier/commands/test_release_to_git.rb +271 -0
- data/test/juwelier/commands/test_release_to_github.rb +477 -0
- data/test/juwelier/commands/test_validate_gemspec.rb +27 -0
- data/test/juwelier/commands/test_write_gemspec.rb +103 -0
- data/test/juwelier/commands/version/test_base.rb +53 -0
- data/test/juwelier/commands/version/test_bump_major.rb +22 -0
- data/test/juwelier/commands/version/test_bump_minor.rb +19 -0
- data/test/juwelier/commands/version/test_bump_patch.rb +20 -0
- data/test/juwelier/commands/version/test_write.rb +22 -0
- data/test/juwelier/generator/test_application.rb +142 -0
- data/test/juwelier/generator/test_options.rb +227 -0
- data/test/juwelier/test_gemspec_helper.rb +44 -0
- data/test/juwelier/test_generator.rb +140 -0
- data/test/juwelier/test_generator_initialization.rb +150 -0
- data/test/juwelier/test_generator_mixins.rb +23 -0
- data/test/juwelier/test_specification.rb +245 -0
- data/test/juwelier/test_tasks.rb +50 -0
- data/test/juwelier/test_version_helper.rb +214 -0
- data/test/shoulda_macros/juwelier_macros.rb +35 -0
- data/test/test_helper.rb +174 -0
- data/test/test_juwelier.rb +177 -0
- metadata +396 -0
@@ -0,0 +1,177 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
class TestJuwelier < Test::Unit::TestCase
|
4
|
+
|
5
|
+
def build_juwelier(base_dir = nil)
|
6
|
+
base_dir ||= git_dir_path
|
7
|
+
FileUtils.mkdir_p base_dir
|
8
|
+
|
9
|
+
Juwelier.new(build_spec, base_dir)
|
10
|
+
end
|
11
|
+
|
12
|
+
def git_dir_path
|
13
|
+
File.join(tmp_dir, 'git')
|
14
|
+
end
|
15
|
+
|
16
|
+
def non_git_dir_path
|
17
|
+
File.join(tmp_dir, 'nongit')
|
18
|
+
end
|
19
|
+
|
20
|
+
def build_git_dir
|
21
|
+
|
22
|
+
FileUtils.mkdir_p git_dir_path
|
23
|
+
Dir.chdir git_dir_path do
|
24
|
+
Git.init
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
def build_non_git_dir
|
29
|
+
FileUtils.mkdir_p non_git_dir_path
|
30
|
+
end
|
31
|
+
|
32
|
+
should "raise an error if a nil gemspec is given" do
|
33
|
+
assert_raises Juwelier::GemspecError do
|
34
|
+
Juwelier.new(nil)
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
should "know if it is in a git repo" do
|
39
|
+
build_git_dir
|
40
|
+
|
41
|
+
assert build_juwelier(git_dir_path).in_git_repo?
|
42
|
+
end
|
43
|
+
|
44
|
+
should "know if it is not in a git repo" do
|
45
|
+
build_non_git_dir
|
46
|
+
|
47
|
+
juwelier = build_juwelier(non_git_dir_path)
|
48
|
+
assert ! juwelier.in_git_repo?, "juwelier doesn't know that #{juwelier.base_dir} is not a git repository"
|
49
|
+
end
|
50
|
+
|
51
|
+
should "find the base repo" do
|
52
|
+
juwelier = build_juwelier(File.dirname(File.expand_path(__FILE__)))
|
53
|
+
assert_equal File.dirname(File.dirname(File.expand_path(__FILE__))), juwelier.git_base_dir
|
54
|
+
end
|
55
|
+
|
56
|
+
should "build and run write gemspec command when writing gemspec" do
|
57
|
+
juwelier = build_juwelier
|
58
|
+
|
59
|
+
command = Object.new
|
60
|
+
mock(command).run
|
61
|
+
|
62
|
+
mock(Juwelier::Commands::WriteGemspec).build_for(juwelier) { command }
|
63
|
+
|
64
|
+
juwelier.write_gemspec
|
65
|
+
end
|
66
|
+
|
67
|
+
should "build and run validate gemspec command when validating gemspec" do
|
68
|
+
juwelier = build_juwelier
|
69
|
+
|
70
|
+
command = Object.new
|
71
|
+
mock(command).run
|
72
|
+
|
73
|
+
mock(Juwelier::Commands::ValidateGemspec).build_for(juwelier) { command }
|
74
|
+
|
75
|
+
juwelier.validate_gemspec
|
76
|
+
end
|
77
|
+
|
78
|
+
should "build and run build gem command when building gem" do
|
79
|
+
juwelier = build_juwelier
|
80
|
+
|
81
|
+
command = Object.new
|
82
|
+
mock(command).run
|
83
|
+
|
84
|
+
mock(Juwelier::Commands::BuildGem).build_for(juwelier) { command }
|
85
|
+
|
86
|
+
juwelier.build_gem
|
87
|
+
end
|
88
|
+
|
89
|
+
should "build and run build gem command when installing gem" do
|
90
|
+
juwelier = build_juwelier
|
91
|
+
|
92
|
+
command = Object.new
|
93
|
+
mock(command).run
|
94
|
+
|
95
|
+
mock(Juwelier::Commands::InstallGem).build_for(juwelier) { command }
|
96
|
+
|
97
|
+
juwelier.install_gem
|
98
|
+
end
|
99
|
+
|
100
|
+
should "build and run bump major version command when bumping major version" do
|
101
|
+
juwelier = build_juwelier
|
102
|
+
|
103
|
+
command = Object.new
|
104
|
+
mock(command).run
|
105
|
+
|
106
|
+
mock(Juwelier::Commands::Version::BumpMajor).build_for(juwelier) { command }
|
107
|
+
|
108
|
+
juwelier.bump_major_version
|
109
|
+
end
|
110
|
+
|
111
|
+
should "build and run bump minor version command when bumping minor version" do
|
112
|
+
juwelier = build_juwelier
|
113
|
+
|
114
|
+
command = Object.new
|
115
|
+
mock(command).run
|
116
|
+
|
117
|
+
mock(Juwelier::Commands::Version::BumpMinor).build_for(juwelier) { command }
|
118
|
+
|
119
|
+
juwelier.bump_minor_version
|
120
|
+
end
|
121
|
+
|
122
|
+
should "build and run write version command when writing version" do
|
123
|
+
juwelier = build_juwelier
|
124
|
+
|
125
|
+
command = Object.new
|
126
|
+
mock(command).run
|
127
|
+
mock(command).major=(1)
|
128
|
+
mock(command).minor=(5)
|
129
|
+
mock(command).patch=(2)
|
130
|
+
mock(command).build=('a1')
|
131
|
+
|
132
|
+
mock(Juwelier::Commands::Version::Write).build_for(juwelier) { command }
|
133
|
+
|
134
|
+
juwelier.write_version(1, 5, 2, 'a1')
|
135
|
+
end
|
136
|
+
|
137
|
+
should "build and run release to github command when running release_gemspec" do
|
138
|
+
juwelier = build_juwelier
|
139
|
+
args = {}
|
140
|
+
|
141
|
+
command = Object.new
|
142
|
+
mock(command).run(args)
|
143
|
+
|
144
|
+
mock(Juwelier::Commands::ReleaseGemspec).build_for(juwelier) { command }
|
145
|
+
|
146
|
+
juwelier.release_gemspec(args)
|
147
|
+
end
|
148
|
+
|
149
|
+
should "build and run release to git command when running release_to_git" do
|
150
|
+
juwelier = build_juwelier
|
151
|
+
args = {}
|
152
|
+
|
153
|
+
command = Object.new
|
154
|
+
mock(command).run(args)
|
155
|
+
|
156
|
+
mock(Juwelier::Commands::ReleaseToGit).build_for(juwelier) { command }
|
157
|
+
|
158
|
+
juwelier.release_to_git(args)
|
159
|
+
end
|
160
|
+
|
161
|
+
should "respond to gemspec_helper" do
|
162
|
+
assert_respond_to build_juwelier, :gemspec_helper
|
163
|
+
end
|
164
|
+
|
165
|
+
should "respond to version_helper" do
|
166
|
+
assert_respond_to build_juwelier, :version_helper
|
167
|
+
end
|
168
|
+
|
169
|
+
should "respond to repo" do
|
170
|
+
assert_respond_to build_juwelier, :repo
|
171
|
+
end
|
172
|
+
|
173
|
+
should "respond to commit" do
|
174
|
+
assert_respond_to build_juwelier, :commit
|
175
|
+
end
|
176
|
+
|
177
|
+
end
|
metadata
ADDED
@@ -0,0 +1,396 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: juwelier
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Fred Mitchell
|
8
|
+
- Josh Nichols
|
9
|
+
- Yusuke Murata
|
10
|
+
autorequire:
|
11
|
+
bindir: bin
|
12
|
+
cert_chain: []
|
13
|
+
date: 2016-02-06 00:00:00.000000000 Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: rake
|
17
|
+
requirement: !ruby/object:Gem::Requirement
|
18
|
+
requirements:
|
19
|
+
- - ">="
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
requirements:
|
26
|
+
- - ">="
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
version: '0'
|
29
|
+
- !ruby/object:Gem::Dependency
|
30
|
+
name: git
|
31
|
+
requirement: !ruby/object:Gem::Requirement
|
32
|
+
requirements:
|
33
|
+
- - ">="
|
34
|
+
- !ruby/object:Gem::Version
|
35
|
+
version: 1.2.5
|
36
|
+
type: :runtime
|
37
|
+
prerelease: false
|
38
|
+
version_requirements: !ruby/object:Gem::Requirement
|
39
|
+
requirements:
|
40
|
+
- - ">="
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: 1.2.5
|
43
|
+
- !ruby/object:Gem::Dependency
|
44
|
+
name: nokogiri
|
45
|
+
requirement: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - ">="
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: 1.5.10
|
50
|
+
type: :runtime
|
51
|
+
prerelease: false
|
52
|
+
version_requirements: !ruby/object:Gem::Requirement
|
53
|
+
requirements:
|
54
|
+
- - ">="
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: 1.5.10
|
57
|
+
- !ruby/object:Gem::Dependency
|
58
|
+
name: github_api
|
59
|
+
requirement: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - ">="
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: '0'
|
64
|
+
type: :runtime
|
65
|
+
prerelease: false
|
66
|
+
version_requirements: !ruby/object:Gem::Requirement
|
67
|
+
requirements:
|
68
|
+
- - ">="
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: '0'
|
71
|
+
- !ruby/object:Gem::Dependency
|
72
|
+
name: highline
|
73
|
+
requirement: !ruby/object:Gem::Requirement
|
74
|
+
requirements:
|
75
|
+
- - ">="
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: 1.6.15
|
78
|
+
type: :runtime
|
79
|
+
prerelease: false
|
80
|
+
version_requirements: !ruby/object:Gem::Requirement
|
81
|
+
requirements:
|
82
|
+
- - ">="
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: 1.6.15
|
85
|
+
- !ruby/object:Gem::Dependency
|
86
|
+
name: bundler
|
87
|
+
requirement: !ruby/object:Gem::Requirement
|
88
|
+
requirements:
|
89
|
+
- - ">="
|
90
|
+
- !ruby/object:Gem::Version
|
91
|
+
version: '1.0'
|
92
|
+
type: :runtime
|
93
|
+
prerelease: false
|
94
|
+
version_requirements: !ruby/object:Gem::Requirement
|
95
|
+
requirements:
|
96
|
+
- - ">="
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: '1.0'
|
99
|
+
- !ruby/object:Gem::Dependency
|
100
|
+
name: rdoc
|
101
|
+
requirement: !ruby/object:Gem::Requirement
|
102
|
+
requirements:
|
103
|
+
- - ">="
|
104
|
+
- !ruby/object:Gem::Version
|
105
|
+
version: '0'
|
106
|
+
type: :runtime
|
107
|
+
prerelease: false
|
108
|
+
version_requirements: !ruby/object:Gem::Requirement
|
109
|
+
requirements:
|
110
|
+
- - ">="
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: '0'
|
113
|
+
- !ruby/object:Gem::Dependency
|
114
|
+
name: builder
|
115
|
+
requirement: !ruby/object:Gem::Requirement
|
116
|
+
requirements:
|
117
|
+
- - ">="
|
118
|
+
- !ruby/object:Gem::Version
|
119
|
+
version: '0'
|
120
|
+
type: :runtime
|
121
|
+
prerelease: false
|
122
|
+
version_requirements: !ruby/object:Gem::Requirement
|
123
|
+
requirements:
|
124
|
+
- - ">="
|
125
|
+
- !ruby/object:Gem::Version
|
126
|
+
version: '0'
|
127
|
+
- !ruby/object:Gem::Dependency
|
128
|
+
name: yard
|
129
|
+
requirement: !ruby/object:Gem::Requirement
|
130
|
+
requirements:
|
131
|
+
- - ">="
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: 0.8.5
|
134
|
+
type: :development
|
135
|
+
prerelease: false
|
136
|
+
version_requirements: !ruby/object:Gem::Requirement
|
137
|
+
requirements:
|
138
|
+
- - ">="
|
139
|
+
- !ruby/object:Gem::Version
|
140
|
+
version: 0.8.5
|
141
|
+
- !ruby/object:Gem::Dependency
|
142
|
+
name: bluecloth
|
143
|
+
requirement: !ruby/object:Gem::Requirement
|
144
|
+
requirements:
|
145
|
+
- - ">="
|
146
|
+
- !ruby/object:Gem::Version
|
147
|
+
version: '0'
|
148
|
+
type: :development
|
149
|
+
prerelease: false
|
150
|
+
version_requirements: !ruby/object:Gem::Requirement
|
151
|
+
requirements:
|
152
|
+
- - ">="
|
153
|
+
- !ruby/object:Gem::Version
|
154
|
+
version: '0'
|
155
|
+
- !ruby/object:Gem::Dependency
|
156
|
+
name: cucumber
|
157
|
+
requirement: !ruby/object:Gem::Requirement
|
158
|
+
requirements:
|
159
|
+
- - ">="
|
160
|
+
- !ruby/object:Gem::Version
|
161
|
+
version: 1.1.4
|
162
|
+
type: :development
|
163
|
+
prerelease: false
|
164
|
+
version_requirements: !ruby/object:Gem::Requirement
|
165
|
+
requirements:
|
166
|
+
- - ">="
|
167
|
+
- !ruby/object:Gem::Version
|
168
|
+
version: 1.1.4
|
169
|
+
- !ruby/object:Gem::Dependency
|
170
|
+
name: simplecov
|
171
|
+
requirement: !ruby/object:Gem::Requirement
|
172
|
+
requirements:
|
173
|
+
- - ">="
|
174
|
+
- !ruby/object:Gem::Version
|
175
|
+
version: '0'
|
176
|
+
type: :development
|
177
|
+
prerelease: false
|
178
|
+
version_requirements: !ruby/object:Gem::Requirement
|
179
|
+
requirements:
|
180
|
+
- - ">="
|
181
|
+
- !ruby/object:Gem::Version
|
182
|
+
version: '0'
|
183
|
+
- !ruby/object:Gem::Dependency
|
184
|
+
name: semver
|
185
|
+
requirement: !ruby/object:Gem::Requirement
|
186
|
+
requirements:
|
187
|
+
- - ">="
|
188
|
+
- !ruby/object:Gem::Version
|
189
|
+
version: '0'
|
190
|
+
type: :development
|
191
|
+
prerelease: false
|
192
|
+
version_requirements: !ruby/object:Gem::Requirement
|
193
|
+
requirements:
|
194
|
+
- - ">="
|
195
|
+
- !ruby/object:Gem::Version
|
196
|
+
version: '0'
|
197
|
+
description: Simple and opinionated helper for creating Rubygem projects on GitHub
|
198
|
+
email:
|
199
|
+
- fred.mitchell@gmx.de
|
200
|
+
- fred.mitchell@gmx.com
|
201
|
+
- info@muratayusuke.com
|
202
|
+
executables:
|
203
|
+
- juwelier
|
204
|
+
extensions: []
|
205
|
+
extra_rdoc_files:
|
206
|
+
- ChangeLog.markdown
|
207
|
+
- LICENSE.txt
|
208
|
+
- README.markdown
|
209
|
+
files:
|
210
|
+
- ".coveralls.yml"
|
211
|
+
- ".document"
|
212
|
+
- ".semver"
|
213
|
+
- ".travis.yml"
|
214
|
+
- ".yardopts"
|
215
|
+
- ChangeLog.markdown
|
216
|
+
- Gemfile
|
217
|
+
- LICENSE.txt
|
218
|
+
- README.markdown
|
219
|
+
- Rakefile
|
220
|
+
- bin/juwelier
|
221
|
+
- features/generator/cucumber.feature
|
222
|
+
- features/generator/directory_layout.feature
|
223
|
+
- features/generator/dotdocument.feature
|
224
|
+
- features/generator/env_options.feature
|
225
|
+
- features/generator/gemfile.feature
|
226
|
+
- features/generator/git.feature
|
227
|
+
- features/generator/license.feature
|
228
|
+
- features/generator/rakefile.feature
|
229
|
+
- features/generator/readme.feature
|
230
|
+
- features/generator/test.feature
|
231
|
+
- features/generator/test_helper.feature
|
232
|
+
- features/placeholder.feature
|
233
|
+
- features/step_definitions/debug_steps.rb
|
234
|
+
- features/step_definitions/filesystem_steps.rb
|
235
|
+
- features/step_definitions/generator_steps.rb
|
236
|
+
- features/step_definitions/task_steps.rb
|
237
|
+
- features/support/env.rb
|
238
|
+
- features/tasks/build_gem.feature
|
239
|
+
- features/tasks/version.feature
|
240
|
+
- features/tasks/version_bumping.feature
|
241
|
+
- juwelier.gemspec
|
242
|
+
- lib/juwelier.rb
|
243
|
+
- lib/juwelier/commands.rb
|
244
|
+
- lib/juwelier/commands/build_gem.rb
|
245
|
+
- lib/juwelier/commands/check_dependencies.rb
|
246
|
+
- lib/juwelier/commands/install_gem.rb
|
247
|
+
- lib/juwelier/commands/release_gemspec.rb
|
248
|
+
- lib/juwelier/commands/release_to_git.rb
|
249
|
+
- lib/juwelier/commands/release_to_rubygems.rb
|
250
|
+
- lib/juwelier/commands/validate_gemspec.rb
|
251
|
+
- lib/juwelier/commands/version/base.rb
|
252
|
+
- lib/juwelier/commands/version/bump_major.rb
|
253
|
+
- lib/juwelier/commands/version/bump_minor.rb
|
254
|
+
- lib/juwelier/commands/version/bump_patch.rb
|
255
|
+
- lib/juwelier/commands/version/write.rb
|
256
|
+
- lib/juwelier/commands/write_gemspec.rb
|
257
|
+
- lib/juwelier/errors.rb
|
258
|
+
- lib/juwelier/gemcutter_tasks.rb
|
259
|
+
- lib/juwelier/gemspec_helper.rb
|
260
|
+
- lib/juwelier/generator.rb
|
261
|
+
- lib/juwelier/generator/application.rb
|
262
|
+
- lib/juwelier/generator/bacon_mixin.rb
|
263
|
+
- lib/juwelier/generator/github_mixin.rb
|
264
|
+
- lib/juwelier/generator/micronaut_mixin.rb
|
265
|
+
- lib/juwelier/generator/minitest_mixin.rb
|
266
|
+
- lib/juwelier/generator/options.rb
|
267
|
+
- lib/juwelier/generator/rdoc_mixin.rb
|
268
|
+
- lib/juwelier/generator/riot_mixin.rb
|
269
|
+
- lib/juwelier/generator/rspec_mixin.rb
|
270
|
+
- lib/juwelier/generator/shindo_mixin.rb
|
271
|
+
- lib/juwelier/generator/shoulda_mixin.rb
|
272
|
+
- lib/juwelier/generator/testspec_mixin.rb
|
273
|
+
- lib/juwelier/generator/testunit_mixin.rb
|
274
|
+
- lib/juwelier/generator/yard_mixin.rb
|
275
|
+
- lib/juwelier/rubyforge_tasks.rb
|
276
|
+
- lib/juwelier/rubygems_dot_org_tasks.rb
|
277
|
+
- lib/juwelier/rubygems_tasks.rb
|
278
|
+
- lib/juwelier/specification.rb
|
279
|
+
- lib/juwelier/tasks.rb
|
280
|
+
- lib/juwelier/templates/.document
|
281
|
+
- lib/juwelier/templates/.gitignore
|
282
|
+
- lib/juwelier/templates/Gemfile
|
283
|
+
- lib/juwelier/templates/LICENSE.txt
|
284
|
+
- lib/juwelier/templates/README.rdoc
|
285
|
+
- lib/juwelier/templates/Rakefile
|
286
|
+
- lib/juwelier/templates/bacon/flunking.rb
|
287
|
+
- lib/juwelier/templates/bacon/helper.rb
|
288
|
+
- lib/juwelier/templates/bundler_setup.erb
|
289
|
+
- lib/juwelier/templates/features/default.feature
|
290
|
+
- lib/juwelier/templates/features/support/env.rb
|
291
|
+
- lib/juwelier/templates/juwelier_tasks.erb
|
292
|
+
- lib/juwelier/templates/micronaut/flunking.rb
|
293
|
+
- lib/juwelier/templates/micronaut/helper.rb
|
294
|
+
- lib/juwelier/templates/minitest/flunking.rb
|
295
|
+
- lib/juwelier/templates/minitest/helper.rb
|
296
|
+
- lib/juwelier/templates/other_tasks.erb
|
297
|
+
- lib/juwelier/templates/riot/flunking.rb
|
298
|
+
- lib/juwelier/templates/riot/helper.rb
|
299
|
+
- lib/juwelier/templates/rspec/.rspec
|
300
|
+
- lib/juwelier/templates/rspec/flunking.rb
|
301
|
+
- lib/juwelier/templates/rspec/helper.rb
|
302
|
+
- lib/juwelier/templates/shindo/flunking.rb
|
303
|
+
- lib/juwelier/templates/shindo/helper.rb
|
304
|
+
- lib/juwelier/templates/shoulda/flunking.rb
|
305
|
+
- lib/juwelier/templates/shoulda/helper.rb
|
306
|
+
- lib/juwelier/templates/simplecov.erb
|
307
|
+
- lib/juwelier/templates/testspec/flunking.rb
|
308
|
+
- lib/juwelier/templates/testspec/helper.rb
|
309
|
+
- lib/juwelier/templates/testunit/flunking.rb
|
310
|
+
- lib/juwelier/templates/testunit/helper.rb
|
311
|
+
- lib/juwelier/version.rb
|
312
|
+
- lib/juwelier/version_helper.rb
|
313
|
+
- test/fixtures/bar/VERSION.yml
|
314
|
+
- test/fixtures/bar/bin/foo_the_ultimate_bin
|
315
|
+
- test/fixtures/bar/hey_include_me_in_gemspec
|
316
|
+
- test/fixtures/bar/lib/foo_the_ultimate_lib.rb
|
317
|
+
- test/fixtures/existing-project-with-version-constant/.document
|
318
|
+
- test/fixtures/existing-project-with-version-constant/.gitignore
|
319
|
+
- test/fixtures/existing-project-with-version-constant/LICENSE.txt
|
320
|
+
- test/fixtures/existing-project-with-version-constant/README.rdoc
|
321
|
+
- test/fixtures/existing-project-with-version-constant/Rakefile
|
322
|
+
- test/fixtures/existing-project-with-version-constant/existing-project-with-version.gemspec
|
323
|
+
- test/fixtures/existing-project-with-version-constant/lib/existing_project_with_version.rb
|
324
|
+
- test/fixtures/existing-project-with-version-constant/test/existing_project_with_version_test.rb
|
325
|
+
- test/fixtures/existing-project-with-version-constant/test/test_helper.rb
|
326
|
+
- test/fixtures/existing-project-with-version-plaintext/.document
|
327
|
+
- test/fixtures/existing-project-with-version-plaintext/.gitignore
|
328
|
+
- test/fixtures/existing-project-with-version-plaintext/LICENSE.txt
|
329
|
+
- test/fixtures/existing-project-with-version-plaintext/README.rdoc
|
330
|
+
- test/fixtures/existing-project-with-version-plaintext/Rakefile
|
331
|
+
- test/fixtures/existing-project-with-version-plaintext/VERSION
|
332
|
+
- test/fixtures/existing-project-with-version-plaintext/existing-project-with-version.gemspec
|
333
|
+
- test/fixtures/existing-project-with-version-plaintext/lib/existing_project_with_version.rb
|
334
|
+
- test/fixtures/existing-project-with-version-plaintext/test/existing_project_with_version_test.rb
|
335
|
+
- test/fixtures/existing-project-with-version-plaintext/test/test_helper.rb
|
336
|
+
- test/fixtures/existing-project-with-version-yaml/.document
|
337
|
+
- test/fixtures/existing-project-with-version-yaml/.gitignore
|
338
|
+
- test/fixtures/existing-project-with-version-yaml/LICENSE.txt
|
339
|
+
- test/fixtures/existing-project-with-version-yaml/README.rdoc
|
340
|
+
- test/fixtures/existing-project-with-version-yaml/Rakefile
|
341
|
+
- test/fixtures/existing-project-with-version-yaml/VERSION.yml
|
342
|
+
- test/fixtures/existing-project-with-version-yaml/bin/foo_the_ultimate_bin
|
343
|
+
- test/fixtures/existing-project-with-version-yaml/existing-project-with-version.gemspec
|
344
|
+
- test/fixtures/existing-project-with-version-yaml/lib/existing_project_with_version.rb
|
345
|
+
- test/fixtures/existing-project-with-version-yaml/test/existing_project_with_version_test.rb
|
346
|
+
- test/fixtures/existing-project-with-version-yaml/test/test_helper.rb
|
347
|
+
- test/geminstaller.yml
|
348
|
+
- test/juwelier/commands/test_build_gem.rb
|
349
|
+
- test/juwelier/commands/test_install_gem.rb
|
350
|
+
- test/juwelier/commands/test_release_to_gemcutter.rb
|
351
|
+
- test/juwelier/commands/test_release_to_git.rb
|
352
|
+
- test/juwelier/commands/test_release_to_github.rb
|
353
|
+
- test/juwelier/commands/test_validate_gemspec.rb
|
354
|
+
- test/juwelier/commands/test_write_gemspec.rb
|
355
|
+
- test/juwelier/commands/version/test_base.rb
|
356
|
+
- test/juwelier/commands/version/test_bump_major.rb
|
357
|
+
- test/juwelier/commands/version/test_bump_minor.rb
|
358
|
+
- test/juwelier/commands/version/test_bump_patch.rb
|
359
|
+
- test/juwelier/commands/version/test_write.rb
|
360
|
+
- test/juwelier/generator/test_application.rb
|
361
|
+
- test/juwelier/generator/test_options.rb
|
362
|
+
- test/juwelier/test_gemspec_helper.rb
|
363
|
+
- test/juwelier/test_generator.rb
|
364
|
+
- test/juwelier/test_generator_initialization.rb
|
365
|
+
- test/juwelier/test_generator_mixins.rb
|
366
|
+
- test/juwelier/test_specification.rb
|
367
|
+
- test/juwelier/test_tasks.rb
|
368
|
+
- test/juwelier/test_version_helper.rb
|
369
|
+
- test/shoulda_macros/juwelier_macros.rb
|
370
|
+
- test/test_helper.rb
|
371
|
+
- test/test_juwelier.rb
|
372
|
+
homepage: http://github.com/flajann2/juwelier
|
373
|
+
licenses:
|
374
|
+
- MIT
|
375
|
+
metadata: {}
|
376
|
+
post_install_message:
|
377
|
+
rdoc_options: []
|
378
|
+
require_paths:
|
379
|
+
- lib
|
380
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
381
|
+
requirements:
|
382
|
+
- - ">="
|
383
|
+
- !ruby/object:Gem::Version
|
384
|
+
version: '2.0'
|
385
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
386
|
+
requirements:
|
387
|
+
- - ">="
|
388
|
+
- !ruby/object:Gem::Version
|
389
|
+
version: '0'
|
390
|
+
requirements: []
|
391
|
+
rubyforge_project:
|
392
|
+
rubygems_version: 2.5.1
|
393
|
+
signing_key:
|
394
|
+
specification_version: 4
|
395
|
+
summary: Powerful and Opinionated tool for creating and managing RubyGem projects
|
396
|
+
test_files: []
|