bueller 0.0.4 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/bueller/commands/version/base.rb +1 -1
- data/lib/bueller/commands/write_gemspec.rb +0 -1
- data/lib/bueller/gemspec_helper.rb +5 -15
- data/lib/bueller/generator.rb +17 -7
- data/lib/bueller/tasks.rb +0 -20
- data/lib/bueller/templates/.gitignore +0 -4
- data/lib/bueller/templates/Gemfile +2 -0
- data/lib/bueller/templates/gemspec +8 -3
- data/lib/bueller/version.rb +3 -0
- data/lib/bueller/version_helper.rb +17 -6
- data/lib/bueller.rb +1 -1
- data/spec/bueller/commands/write_gemspec_spec.rb +3 -7
- data/spec/bueller/gemspec_helper_spec.rb +4 -34
- data/spec/bueller/generator_spec.rb +2 -0
- data/spec/bueller/version_helper_spec.rb +12 -3
- data/spec/fixtures/existing-project/existing-project.gemspec +3 -1
- data/spec/fixtures/existing-project/lib/existing-project/version.rb +3 -0
- metadata +107 -104
@@ -14,14 +14,6 @@ class Bueller
|
|
14
14
|
end
|
15
15
|
|
16
16
|
def valid?
|
17
|
-
begin
|
18
|
-
reload_spec
|
19
|
-
spec
|
20
|
-
rescue => e
|
21
|
-
errors << "could not eval gemspec: #{e}"
|
22
|
-
return false
|
23
|
-
end
|
24
|
-
|
25
17
|
begin
|
26
18
|
spec.validate
|
27
19
|
rescue => e
|
@@ -55,19 +47,13 @@ class Bueller
|
|
55
47
|
end
|
56
48
|
|
57
49
|
def spec
|
58
|
-
@spec ||=
|
50
|
+
@spec ||= Gem::Specification.load path
|
59
51
|
end
|
60
52
|
|
61
53
|
def gem_path
|
62
54
|
File.join(base_dir, 'pkg', spec.file_name)
|
63
55
|
end
|
64
56
|
|
65
|
-
def update_version(version)
|
66
|
-
raise VersionMissing unless has_version?
|
67
|
-
spec_source.sub! /\.version\s*=\s*.*/, %Q{.version = "#{version}"}
|
68
|
-
reload_spec
|
69
|
-
end
|
70
|
-
|
71
57
|
def set_date
|
72
58
|
spec_source.sub! /\.date\s*=\s*.*/, %Q{.date = "#{Time.now.strftime('%Y-%m-%d')}"}
|
73
59
|
reload_spec
|
@@ -80,5 +66,9 @@ class Bueller
|
|
80
66
|
def version
|
81
67
|
spec.version
|
82
68
|
end
|
69
|
+
|
70
|
+
def project_name
|
71
|
+
spec.name
|
72
|
+
end
|
83
73
|
end
|
84
74
|
end
|
data/lib/bueller/generator.rb
CHANGED
@@ -181,20 +181,21 @@ class Bueller
|
|
181
181
|
raise FileInTheWay, "The directory #{target_dir} already exists, aborting. Maybe move it out of the way before continuing?"
|
182
182
|
end
|
183
183
|
|
184
|
+
require 'bundler'
|
185
|
+
require 'bundler/cli'
|
184
186
|
|
185
|
-
|
187
|
+
Dir.chdir File.dirname(target_dir) do
|
188
|
+
cli = Bundler::CLI.new
|
189
|
+
cli.gem project_name
|
190
|
+
end
|
191
|
+
|
192
|
+
append_template_in_target '.gitignore'
|
186
193
|
output_template_in_target 'Rakefile'
|
187
|
-
output_template_in_target 'Gemfile'
|
188
194
|
output_template_in_target 'LICENSE'
|
189
195
|
output_template_in_target 'README.rdoc'
|
190
196
|
output_template_in_target '.document'
|
191
197
|
output_template_in_target 'gemspec', "#{project_name}.gemspec"
|
192
198
|
|
193
|
-
mkdir_in_target lib_dir
|
194
|
-
File.open File.join(target_dir, lib_dir, lib_filename), 'w' do |f|
|
195
|
-
f.puts "module #{constant_name}\n\nend"
|
196
|
-
end
|
197
|
-
|
198
199
|
mkdir_in_target test_dir
|
199
200
|
output_template_in_target File.join(testing_framework.to_s, 'helper.rb'),
|
200
201
|
File.join(test_dir, test_helper_filename)
|
@@ -221,6 +222,15 @@ class Bueller
|
|
221
222
|
template.result(binding).gsub(/\n\n\n+/, "\n\n")
|
222
223
|
end
|
223
224
|
|
225
|
+
def append_template_in_target(source, destination = source)
|
226
|
+
final_destination = File.join(target_dir, destination)
|
227
|
+
template_result = render_template(source)
|
228
|
+
|
229
|
+
File.open(final_destination, 'a') {|file| file.write(template_result)}
|
230
|
+
|
231
|
+
$stdout.puts "\tappend\t#{destination}"
|
232
|
+
end
|
233
|
+
|
224
234
|
def output_template_in_target(source, destination = source)
|
225
235
|
final_destination = File.join(target_dir, destination)
|
226
236
|
template_result = render_template(source)
|
data/lib/bueller/tasks.rb
CHANGED
@@ -40,19 +40,6 @@ class Bueller
|
|
40
40
|
end
|
41
41
|
end
|
42
42
|
|
43
|
-
namespace :gemspec do
|
44
|
-
desc 'Validates the gemspec'
|
45
|
-
task :validate => :gemspec_required do
|
46
|
-
if bueller.gemspec_helper.valid?
|
47
|
-
puts "Gemspec is valid"
|
48
|
-
true
|
49
|
-
else
|
50
|
-
puts "Gemspec is not valid"
|
51
|
-
false
|
52
|
-
end
|
53
|
-
end
|
54
|
-
end
|
55
|
-
|
56
43
|
desc "Displays the current version"
|
57
44
|
task :version do
|
58
45
|
$stdout.puts "Current version: #{bueller.version}"
|
@@ -86,13 +73,6 @@ class Bueller
|
|
86
73
|
end
|
87
74
|
end
|
88
75
|
end
|
89
|
-
|
90
|
-
namespace :rubygems do
|
91
|
-
desc "Release gem to Rubygems"
|
92
|
-
task :release => :build do
|
93
|
-
gem_helper.rubygem_push bueller.gemspec_helper.gem_path
|
94
|
-
end
|
95
|
-
end
|
96
76
|
end
|
97
77
|
end
|
98
78
|
end
|
@@ -1,6 +1,10 @@
|
|
1
|
+
$:.push File.expand_path("../lib", __FILE__)
|
2
|
+
require '<%= project_name %>/version'
|
3
|
+
|
1
4
|
Gem::Specification.new do |s|
|
2
5
|
s.name = '<%= project_name %>'
|
3
|
-
s.version =
|
6
|
+
s.version = <%= constant_name %>::VERSION
|
7
|
+
s.platform = Gem::Platform::RUBY
|
4
8
|
s.date = '<%= Time.now.strftime('%Y-%m-%d') %>'
|
5
9
|
s.authors = ['<%= user_name %>']
|
6
10
|
s.email = '<%= user_email %>'
|
@@ -16,9 +20,10 @@ Gem::Specification.new do |s|
|
|
16
20
|
s.rubygems_version = '1.3.7'
|
17
21
|
s.specification_version = 3
|
18
22
|
|
23
|
+
s.files = `git ls-files`.split("\n")
|
24
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
25
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
19
26
|
s.require_paths = ['lib']
|
20
|
-
s.files = Dir.glob('lib/**/*.rb')
|
21
|
-
s.test_files = Dir.glob('<%= test_pattern %>')
|
22
27
|
|
23
28
|
<% development_dependencies.each do |dependency| %>
|
24
29
|
s.add_development_dependency '<%= dependency %>'
|
@@ -13,20 +13,31 @@ class Bueller
|
|
13
13
|
parse_version
|
14
14
|
end
|
15
15
|
|
16
|
+
def version_path
|
17
|
+
File.join(gemspec_helper.base_dir, 'lib', gemspec_helper.project_name, 'version.rb')
|
18
|
+
end
|
19
|
+
|
20
|
+
def version_source
|
21
|
+
@version_source ||= File.read version_path
|
22
|
+
end
|
23
|
+
|
16
24
|
def parse_version
|
17
|
-
|
18
|
-
# http://rubular.com/regexes/10468 -> 3.5.4
|
19
|
-
raise VersionMissing unless gemspec_helper.has_version?
|
20
|
-
if gemspec_helper.version.to_s =~ /^(\d+)\.(\d+)\.(\d+)(?:\.(.*?))?$/
|
25
|
+
if version_source =~ /VERSION[^\d]+(\d+)\.(\d+)\.(\d+)(\.([^'"]*))?/
|
21
26
|
@major = $1.to_i
|
22
27
|
@minor = $2.to_i
|
23
28
|
@patch = $3.to_i
|
24
|
-
@build = $
|
29
|
+
@build = $5
|
25
30
|
else
|
26
|
-
raise
|
31
|
+
raise VersionMissing, "lib/#{gemspec_helper.project_name}/version.rb doesn't contain a version string"
|
27
32
|
end
|
28
33
|
end
|
29
34
|
|
35
|
+
def write_version
|
36
|
+
version_source.sub! /VERSION\s*=.*/, %Q{VERSION = "#{to_s}"}
|
37
|
+
File.open(version_path, 'w') { |f| f.puts version_source }
|
38
|
+
parse_version
|
39
|
+
end
|
40
|
+
|
30
41
|
def bump_major
|
31
42
|
@major += 1
|
32
43
|
@minor = 0
|
data/lib/bueller.rb
CHANGED
@@ -8,16 +8,12 @@ describe Bueller::Commands::WriteGemspec do
|
|
8
8
|
context "after run" do
|
9
9
|
before :each do
|
10
10
|
bueller.gemspec_helper.stub!(:write)
|
11
|
+
bueller.gemspec_helper.stub!(:reload_spec)
|
11
12
|
Time.stub!(:now).and_return Time.parse('2011-01-13 04:22:33')
|
12
13
|
end
|
13
|
-
it "
|
14
|
-
bueller.version_helper.bump_major
|
14
|
+
it "updates the gemspec date to the beginning of today" do
|
15
15
|
command.run
|
16
|
-
bueller.gemspec_helper.
|
17
|
-
end
|
18
|
-
it "should update gemspec date to the beginning of today" do
|
19
|
-
command.run
|
20
|
-
bueller.gemspec_helper.spec.date.to_s.should =~ /2011-01-13/
|
16
|
+
bueller.gemspec_helper.spec_source.should =~ /2011-01-13/
|
21
17
|
end
|
22
18
|
it "should write gemspec" do
|
23
19
|
bueller.gemspec_helper.should_receive :write
|
@@ -1,33 +1,17 @@
|
|
1
1
|
require 'spec_helper'
|
2
|
+
require 'time'
|
2
3
|
|
3
4
|
describe Bueller::GemSpecHelper do
|
4
5
|
let(:spec) { Gemspec.build }
|
5
6
|
let(:helper) { Bueller::GemSpecHelper.new('.') }
|
6
7
|
|
7
|
-
describe '#valid?' do
|
8
|
-
it 'should return true if the gemspec is valid' do
|
9
|
-
helper.should be_valid
|
10
|
-
end
|
11
|
-
it 'should return false if the gemspec is not valid' do
|
12
|
-
helper.stub!(:reload_spec).and_raise StandardError
|
13
|
-
helper.should_not be_valid
|
14
|
-
end
|
15
|
-
end
|
16
|
-
|
17
|
-
describe '#reload_spec' do
|
18
|
-
it 'should clear out the evaluated gemspec' do
|
19
|
-
helper.spec_source = '2 + 2'
|
20
|
-
helper.reload_spec
|
21
|
-
helper.spec.should == 4
|
22
|
-
end
|
23
|
-
end
|
24
|
-
|
25
8
|
describe "#write" do
|
26
9
|
it 'should include updates made to the gemspec' do
|
27
10
|
file = mock(File)
|
28
11
|
File.stub!(:open).and_yield file
|
29
|
-
|
30
|
-
|
12
|
+
Time.stub!(:now).and_return Time.parse('2011-03-02 23:33:03')
|
13
|
+
helper.set_date
|
14
|
+
file.should_receive(:puts).with(/2011-03-02/)
|
31
15
|
helper.write
|
32
16
|
end
|
33
17
|
end
|
@@ -38,18 +22,4 @@ describe Bueller::GemSpecHelper do
|
|
38
22
|
helper.path.should == "spec/bueller/test.gemspec"
|
39
23
|
end
|
40
24
|
end
|
41
|
-
|
42
|
-
describe '#update_version' do
|
43
|
-
it 'should set the spec version to the new version' do
|
44
|
-
helper.update_version '999.999.999'
|
45
|
-
helper.version.to_s.should == '999.999.999'
|
46
|
-
end
|
47
|
-
it 'should raise an error if the spec has no existing version' do
|
48
|
-
s = Gem::Specification.new
|
49
|
-
helper.instance_variable_set :@spec, s
|
50
|
-
expect do
|
51
|
-
helper.update_version '9.9.9'
|
52
|
-
end.should raise_error(Bueller::GemSpecHelper::VersionMissing)
|
53
|
-
end
|
54
|
-
end
|
55
25
|
end
|
@@ -2,14 +2,19 @@ require 'spec_helper'
|
|
2
2
|
|
3
3
|
describe Bueller::VersionHelper do
|
4
4
|
|
5
|
-
let(:gemspec_helper) { mock Bueller::GemSpecHelper, :has_version? => true }
|
5
|
+
let(:gemspec_helper) { mock Bueller::GemSpecHelper, :has_version? => true, :base_dir => '/path/to/gem', :project_name => 'mygem' }
|
6
6
|
let(:helper) { Bueller::VersionHelper.new gemspec_helper }
|
7
7
|
|
8
8
|
describe "full version" do
|
9
9
|
before do
|
10
|
-
|
10
|
+
File.stub!(:read).and_return <<-RUBY
|
11
|
+
module MyGem
|
12
|
+
VERSION = '3.5.4'
|
13
|
+
end
|
14
|
+
RUBY
|
11
15
|
end
|
12
16
|
|
17
|
+
|
13
18
|
it 'should have version 3.5.4' do
|
14
19
|
helper.should have_version(3, 5, 4)
|
15
20
|
end
|
@@ -32,7 +37,11 @@ describe Bueller::VersionHelper do
|
|
32
37
|
|
33
38
|
describe "prerelease version" do
|
34
39
|
before do
|
35
|
-
|
40
|
+
File.stub!(:read).and_return <<-RUBY
|
41
|
+
module MyGem
|
42
|
+
VERSION = '3.5.4.a1'
|
43
|
+
end
|
44
|
+
RUBY
|
36
45
|
end
|
37
46
|
|
38
47
|
it 'should be version 3.5.4.a1' do
|
@@ -1,8 +1,10 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
+
$:.push File.expand_path("../lib", __FILE__)
|
3
|
+
require "existing-project/version"
|
2
4
|
|
3
5
|
Gem::Specification.new do |s|
|
4
6
|
s.name = %q{existing-project}
|
5
|
-
s.version =
|
7
|
+
s.version = ExistingProject::VERSION
|
6
8
|
|
7
9
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
10
|
s.authors = ["Josh Nichols"]
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 5
|
9
|
+
version: 0.0.5
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Derek Kastner
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2011-
|
17
|
+
date: 2011-02-02 00:00:00 -05:00
|
18
18
|
default_executable: bueller
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
@@ -193,103 +193,105 @@ extra_rdoc_files:
|
|
193
193
|
- LICENSE
|
194
194
|
- README.markdown
|
195
195
|
files:
|
196
|
-
- lib/bueller.rb
|
197
|
-
- lib/bueller/tasks.rb
|
198
|
-
- lib/bueller/rubyforge_tasks.rb
|
199
|
-
- lib/bueller/generator.rb
|
200
|
-
- lib/bueller/commands/write_gemspec.rb
|
201
|
-
- lib/bueller/commands/version/bump_patch.rb
|
196
|
+
- lib/bueller/commands/version/base.rb
|
202
197
|
- lib/bueller/commands/version/bump_major.rb
|
203
198
|
- lib/bueller/commands/version/bump_minor.rb
|
199
|
+
- lib/bueller/commands/version/bump_patch.rb
|
204
200
|
- lib/bueller/commands/version/write.rb
|
205
|
-
- lib/bueller/commands/
|
206
|
-
- lib/bueller/
|
207
|
-
- lib/bueller/
|
208
|
-
- lib/bueller/
|
209
|
-
- lib/bueller/
|
201
|
+
- lib/bueller/commands/write_gemspec.rb
|
202
|
+
- lib/bueller/commands.rb
|
203
|
+
- lib/bueller/errors.rb
|
204
|
+
- lib/bueller/gemspec_helper.rb
|
205
|
+
- lib/bueller/generator/application.rb
|
206
|
+
- lib/bueller/generator/bacon_mixin.rb
|
207
|
+
- lib/bueller/generator/github_mixin.rb
|
208
|
+
- lib/bueller/generator/micronaut_mixin.rb
|
209
|
+
- lib/bueller/generator/minitest_mixin.rb
|
210
|
+
- lib/bueller/generator/options.rb
|
211
|
+
- lib/bueller/generator/rdoc_mixin.rb
|
212
|
+
- lib/bueller/generator/riot_mixin.rb
|
213
|
+
- lib/bueller/generator/rspec_mixin.rb
|
214
|
+
- lib/bueller/generator/shindo_mixin.rb
|
215
|
+
- lib/bueller/generator/shoulda_mixin.rb
|
216
|
+
- lib/bueller/generator/testspec_mixin.rb
|
217
|
+
- lib/bueller/generator/testunit_mixin.rb
|
218
|
+
- lib/bueller/generator/yard_mixin.rb
|
219
|
+
- lib/bueller/generator.rb
|
220
|
+
- lib/bueller/rubyforge_tasks.rb
|
221
|
+
- lib/bueller/tasks.rb
|
222
|
+
- lib/bueller/templates/bacon/flunking.rb
|
223
|
+
- lib/bueller/templates/bacon/helper.rb
|
224
|
+
- lib/bueller/templates/bueller_tasks.erb
|
210
225
|
- lib/bueller/templates/features/default.feature
|
211
226
|
- lib/bueller/templates/features/support/env.rb
|
212
|
-
- lib/bueller/templates/
|
227
|
+
- lib/bueller/templates/Gemfile
|
228
|
+
- lib/bueller/templates/gemspec
|
213
229
|
- lib/bueller/templates/LICENSE
|
230
|
+
- lib/bueller/templates/micronaut/flunking.rb
|
231
|
+
- lib/bueller/templates/micronaut/helper.rb
|
232
|
+
- lib/bueller/templates/minitest/flunking.rb
|
233
|
+
- lib/bueller/templates/minitest/helper.rb
|
234
|
+
- lib/bueller/templates/other_tasks.erb
|
235
|
+
- lib/bueller/templates/Rakefile
|
236
|
+
- lib/bueller/templates/README.rdoc
|
214
237
|
- lib/bueller/templates/riot/flunking.rb
|
215
238
|
- lib/bueller/templates/riot/helper.rb
|
216
|
-
- lib/bueller/templates/
|
217
|
-
- lib/bueller/templates/
|
239
|
+
- lib/bueller/templates/rspec/flunking.rb
|
240
|
+
- lib/bueller/templates/rspec/helper.rb
|
218
241
|
- lib/bueller/templates/shindo/flunking.rb
|
219
242
|
- lib/bueller/templates/shindo/helper.rb
|
220
|
-
- lib/bueller/templates/minitest/flunking.rb
|
221
|
-
- lib/bueller/templates/minitest/helper.rb
|
222
|
-
- lib/bueller/templates/testunit/flunking.rb
|
223
|
-
- lib/bueller/templates/testunit/helper.rb
|
224
243
|
- lib/bueller/templates/shoulda/flunking.rb
|
225
244
|
- lib/bueller/templates/shoulda/helper.rb
|
226
|
-
- lib/bueller/templates/
|
227
|
-
- lib/bueller/templates/
|
228
|
-
- lib/bueller/templates/
|
229
|
-
- lib/bueller/templates/
|
230
|
-
- lib/bueller/
|
231
|
-
- lib/bueller/templates/gemspec
|
232
|
-
- lib/bueller/templates/README.rdoc
|
233
|
-
- lib/bueller/generator/bacon_mixin.rb
|
234
|
-
- lib/bueller/generator/github_mixin.rb
|
235
|
-
- lib/bueller/generator/shoulda_mixin.rb
|
236
|
-
- lib/bueller/generator/yard_mixin.rb
|
237
|
-
- lib/bueller/generator/minitest_mixin.rb
|
238
|
-
- lib/bueller/generator/options.rb
|
239
|
-
- lib/bueller/generator/testunit_mixin.rb
|
240
|
-
- lib/bueller/generator/application.rb
|
241
|
-
- lib/bueller/generator/shindo_mixin.rb
|
242
|
-
- lib/bueller/generator/rspec_mixin.rb
|
243
|
-
- lib/bueller/generator/testspec_mixin.rb
|
244
|
-
- lib/bueller/generator/rdoc_mixin.rb
|
245
|
-
- lib/bueller/generator/riot_mixin.rb
|
246
|
-
- lib/bueller/generator/micronaut_mixin.rb
|
247
|
-
- lib/bueller/errors.rb
|
248
|
-
- lib/bueller/gemspec_helper.rb
|
245
|
+
- lib/bueller/templates/testspec/flunking.rb
|
246
|
+
- lib/bueller/templates/testspec/helper.rb
|
247
|
+
- lib/bueller/templates/testunit/flunking.rb
|
248
|
+
- lib/bueller/templates/testunit/helper.rb
|
249
|
+
- lib/bueller/version.rb
|
249
250
|
- lib/bueller/version_helper.rb
|
250
|
-
- lib/bueller
|
251
|
+
- lib/bueller.rb
|
251
252
|
- bin/bueller
|
252
253
|
- lib/bueller/templates/.gitignore
|
253
254
|
- lib/bueller/templates/.document
|
254
255
|
- lib/bueller/templates/rspec/.rspec
|
255
256
|
- LICENSE
|
256
257
|
- README.markdown
|
257
|
-
- spec/bueller_spec.rb
|
258
|
-
- spec/support/git.rb
|
259
|
-
- spec/support/gemspec.rb
|
260
|
-
- spec/support/have_version.rb
|
261
|
-
- spec/support/application.rb
|
262
|
-
- spec/support/file_system.rb
|
263
|
-
- spec/fixtures/existing-project-with-version-constant/LICENSE
|
264
|
-
- spec/fixtures/existing-project-with-version-constant/test/existing_project_with_version_test.rb
|
265
|
-
- spec/fixtures/existing-project-with-version-constant/test/test_helper.rb
|
266
|
-
- spec/fixtures/existing-project-with-version-constant/existing-project-with-version.gemspec
|
267
|
-
- spec/fixtures/existing-project-with-version-constant/lib/existing_project_with_version.rb
|
268
|
-
- spec/fixtures/existing-project-with-version-constant/Rakefile
|
269
|
-
- spec/fixtures/existing-project-with-version-constant/README.rdoc
|
270
|
-
- spec/fixtures/existing-project/LICENSE
|
271
|
-
- spec/fixtures/existing-project/test/existing_project_with_version_test.rb
|
272
|
-
- spec/fixtures/existing-project/test/test_helper.rb
|
273
|
-
- spec/fixtures/existing-project/existing-project.gemspec
|
274
|
-
- spec/fixtures/existing-project/lib/existing_project_with_version.rb
|
275
|
-
- spec/fixtures/existing-project/Rakefile
|
276
|
-
- spec/fixtures/existing-project/README.rdoc
|
277
|
-
- spec/fixtures/bar/hey_include_me_in_gemspec
|
278
|
-
- spec/fixtures/bar/bin/foo_the_ultimate_bin
|
279
|
-
- spec/fixtures/bar/lib/foo_the_ultimate_lib.rb
|
280
|
-
- spec/fixtures/bar/bar.gemspec
|
281
|
-
- spec/bueller/gemspec_helper_spec.rb
|
282
|
-
- spec/bueller/commands/write_gemspec_spec.rb
|
283
|
-
- spec/bueller/commands/version/bump_patch_spec.rb
|
284
|
-
- spec/bueller/commands/version/bump_minor_spec.rb
|
285
258
|
- spec/bueller/commands/version/bump_major_spec.rb
|
259
|
+
- spec/bueller/commands/version/bump_minor_spec.rb
|
260
|
+
- spec/bueller/commands/version/bump_patch_spec.rb
|
261
|
+
- spec/bueller/commands/write_gemspec_spec.rb
|
262
|
+
- spec/bueller/gemspec_helper_spec.rb
|
286
263
|
- spec/bueller/generator/application_spec.rb
|
287
264
|
- spec/bueller/generator/options_spec.rb
|
288
265
|
- spec/bueller/generator_mixins_spec.rb
|
289
|
-
- spec/bueller/version_helper_spec.rb
|
290
266
|
- spec/bueller/generator_spec.rb
|
291
267
|
- spec/bueller/tasks_spec.rb
|
268
|
+
- spec/bueller/version_helper_spec.rb
|
269
|
+
- spec/bueller_spec.rb
|
270
|
+
- spec/fixtures/bar/bar.gemspec
|
271
|
+
- spec/fixtures/bar/bin/foo_the_ultimate_bin
|
272
|
+
- spec/fixtures/bar/hey_include_me_in_gemspec
|
273
|
+
- spec/fixtures/bar/lib/foo_the_ultimate_lib.rb
|
274
|
+
- spec/fixtures/existing-project/existing-project.gemspec
|
275
|
+
- spec/fixtures/existing-project/lib/existing-project/version.rb
|
276
|
+
- spec/fixtures/existing-project/lib/existing_project_with_version.rb
|
277
|
+
- spec/fixtures/existing-project/LICENSE
|
278
|
+
- spec/fixtures/existing-project/Rakefile
|
279
|
+
- spec/fixtures/existing-project/README.rdoc
|
280
|
+
- spec/fixtures/existing-project/test/existing_project_with_version_test.rb
|
281
|
+
- spec/fixtures/existing-project/test/test_helper.rb
|
282
|
+
- spec/fixtures/existing-project-with-version-constant/existing-project-with-version.gemspec
|
283
|
+
- spec/fixtures/existing-project-with-version-constant/lib/existing_project_with_version.rb
|
284
|
+
- spec/fixtures/existing-project-with-version-constant/LICENSE
|
285
|
+
- spec/fixtures/existing-project-with-version-constant/Rakefile
|
286
|
+
- spec/fixtures/existing-project-with-version-constant/README.rdoc
|
287
|
+
- spec/fixtures/existing-project-with-version-constant/test/existing_project_with_version_test.rb
|
288
|
+
- spec/fixtures/existing-project-with-version-constant/test/test_helper.rb
|
292
289
|
- spec/spec_helper.rb
|
290
|
+
- spec/support/application.rb
|
291
|
+
- spec/support/file_system.rb
|
292
|
+
- spec/support/gemspec.rb
|
293
|
+
- spec/support/git.rb
|
294
|
+
- spec/support/have_version.rb
|
293
295
|
has_rdoc: true
|
294
296
|
homepage: http://github.com/dkastner/bueller
|
295
297
|
licenses: []
|
@@ -304,7 +306,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
304
306
|
requirements:
|
305
307
|
- - ">="
|
306
308
|
- !ruby/object:Gem::Version
|
307
|
-
hash:
|
309
|
+
hash: 3954278857675132921
|
308
310
|
segments:
|
309
311
|
- 0
|
310
312
|
version: "0"
|
@@ -326,39 +328,40 @@ signing_key:
|
|
326
328
|
specification_version: 3
|
327
329
|
summary: Tools for building gems with bundler and friends
|
328
330
|
test_files:
|
329
|
-
- spec/bueller_spec.rb
|
330
|
-
- spec/support/git.rb
|
331
|
-
- spec/support/gemspec.rb
|
332
|
-
- spec/support/have_version.rb
|
333
|
-
- spec/support/application.rb
|
334
|
-
- spec/support/file_system.rb
|
335
|
-
- spec/fixtures/existing-project-with-version-constant/LICENSE
|
336
|
-
- spec/fixtures/existing-project-with-version-constant/test/existing_project_with_version_test.rb
|
337
|
-
- spec/fixtures/existing-project-with-version-constant/test/test_helper.rb
|
338
|
-
- spec/fixtures/existing-project-with-version-constant/existing-project-with-version.gemspec
|
339
|
-
- spec/fixtures/existing-project-with-version-constant/lib/existing_project_with_version.rb
|
340
|
-
- spec/fixtures/existing-project-with-version-constant/Rakefile
|
341
|
-
- spec/fixtures/existing-project-with-version-constant/README.rdoc
|
342
|
-
- spec/fixtures/existing-project/LICENSE
|
343
|
-
- spec/fixtures/existing-project/test/existing_project_with_version_test.rb
|
344
|
-
- spec/fixtures/existing-project/test/test_helper.rb
|
345
|
-
- spec/fixtures/existing-project/existing-project.gemspec
|
346
|
-
- spec/fixtures/existing-project/lib/existing_project_with_version.rb
|
347
|
-
- spec/fixtures/existing-project/Rakefile
|
348
|
-
- spec/fixtures/existing-project/README.rdoc
|
349
|
-
- spec/fixtures/bar/hey_include_me_in_gemspec
|
350
|
-
- spec/fixtures/bar/bin/foo_the_ultimate_bin
|
351
|
-
- spec/fixtures/bar/lib/foo_the_ultimate_lib.rb
|
352
|
-
- spec/fixtures/bar/bar.gemspec
|
353
|
-
- spec/bueller/gemspec_helper_spec.rb
|
354
|
-
- spec/bueller/commands/write_gemspec_spec.rb
|
355
|
-
- spec/bueller/commands/version/bump_patch_spec.rb
|
356
|
-
- spec/bueller/commands/version/bump_minor_spec.rb
|
357
331
|
- spec/bueller/commands/version/bump_major_spec.rb
|
332
|
+
- spec/bueller/commands/version/bump_minor_spec.rb
|
333
|
+
- spec/bueller/commands/version/bump_patch_spec.rb
|
334
|
+
- spec/bueller/commands/write_gemspec_spec.rb
|
335
|
+
- spec/bueller/gemspec_helper_spec.rb
|
358
336
|
- spec/bueller/generator/application_spec.rb
|
359
337
|
- spec/bueller/generator/options_spec.rb
|
360
338
|
- spec/bueller/generator_mixins_spec.rb
|
361
|
-
- spec/bueller/version_helper_spec.rb
|
362
339
|
- spec/bueller/generator_spec.rb
|
363
340
|
- spec/bueller/tasks_spec.rb
|
341
|
+
- spec/bueller/version_helper_spec.rb
|
342
|
+
- spec/bueller_spec.rb
|
343
|
+
- spec/fixtures/bar/bar.gemspec
|
344
|
+
- spec/fixtures/bar/bin/foo_the_ultimate_bin
|
345
|
+
- spec/fixtures/bar/hey_include_me_in_gemspec
|
346
|
+
- spec/fixtures/bar/lib/foo_the_ultimate_lib.rb
|
347
|
+
- spec/fixtures/existing-project/existing-project.gemspec
|
348
|
+
- spec/fixtures/existing-project/lib/existing-project/version.rb
|
349
|
+
- spec/fixtures/existing-project/lib/existing_project_with_version.rb
|
350
|
+
- spec/fixtures/existing-project/LICENSE
|
351
|
+
- spec/fixtures/existing-project/Rakefile
|
352
|
+
- spec/fixtures/existing-project/README.rdoc
|
353
|
+
- spec/fixtures/existing-project/test/existing_project_with_version_test.rb
|
354
|
+
- spec/fixtures/existing-project/test/test_helper.rb
|
355
|
+
- spec/fixtures/existing-project-with-version-constant/existing-project-with-version.gemspec
|
356
|
+
- spec/fixtures/existing-project-with-version-constant/lib/existing_project_with_version.rb
|
357
|
+
- spec/fixtures/existing-project-with-version-constant/LICENSE
|
358
|
+
- spec/fixtures/existing-project-with-version-constant/Rakefile
|
359
|
+
- spec/fixtures/existing-project-with-version-constant/README.rdoc
|
360
|
+
- spec/fixtures/existing-project-with-version-constant/test/existing_project_with_version_test.rb
|
361
|
+
- spec/fixtures/existing-project-with-version-constant/test/test_helper.rb
|
364
362
|
- spec/spec_helper.rb
|
363
|
+
- spec/support/application.rb
|
364
|
+
- spec/support/file_system.rb
|
365
|
+
- spec/support/gemspec.rb
|
366
|
+
- spec/support/git.rb
|
367
|
+
- spec/support/have_version.rb
|