bump 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/Gemfile +5 -0
- data/Gemfile.lock +26 -0
- data/README.textile +0 -2
- data/Rakefile +6 -0
- data/bin/bump +0 -0
- data/bump.gemspec +5 -17
- data/{test → spec}/bump_spec.rb +14 -2
- data/spec/fixture/fixture.gemspec +0 -0
- metadata +30 -47
- data/test/fixture/fixture.gemspec +0 -21
data/.gitignore
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
*.gem
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
bump (0.1.3)
|
5
|
+
|
6
|
+
GEM
|
7
|
+
remote: http://rubygems.org/
|
8
|
+
specs:
|
9
|
+
diff-lcs (1.1.3)
|
10
|
+
rake (0.9.2.2)
|
11
|
+
rspec (2.11.0)
|
12
|
+
rspec-core (~> 2.11.0)
|
13
|
+
rspec-expectations (~> 2.11.0)
|
14
|
+
rspec-mocks (~> 2.11.0)
|
15
|
+
rspec-core (2.11.1)
|
16
|
+
rspec-expectations (2.11.3)
|
17
|
+
diff-lcs (~> 1.1.3)
|
18
|
+
rspec-mocks (2.11.3)
|
19
|
+
|
20
|
+
PLATFORMS
|
21
|
+
ruby
|
22
|
+
|
23
|
+
DEPENDENCIES
|
24
|
+
bump!
|
25
|
+
rake
|
26
|
+
rspec (~> 2)
|
data/README.textile
CHANGED
data/Rakefile
ADDED
data/bin/bump
CHANGED
File without changes
|
data/bump.gemspec
CHANGED
@@ -1,26 +1,14 @@
|
|
1
|
-
Gem::Specification.new do |s|
|
2
|
-
s.
|
3
|
-
s.version = "0.1.3"
|
1
|
+
Gem::Specification.new "bump" do |s|
|
2
|
+
s.version = "0.1.4"
|
4
3
|
s.author = "Gregory Marcilhacy"
|
5
4
|
s.email = "g.marcilhacy@gmail.com"
|
6
|
-
s.homepage = "
|
5
|
+
s.homepage = "https://github.com/gregorym/bump"
|
7
6
|
s.summary = "Bump your gem version file"
|
8
7
|
|
9
|
-
s.files =
|
10
|
-
|
11
|
-
bump.gemspec
|
12
|
-
bin/bump
|
13
|
-
lib/bump.rb
|
14
|
-
)
|
15
|
-
|
16
|
-
s.test_files = %w(
|
17
|
-
test/bump_spec.rb
|
18
|
-
test/fixture/fixture.gemspec
|
19
|
-
)
|
20
|
-
|
8
|
+
s.files = `git ls-files`.split("\n")
|
9
|
+
s.license = "MIT"
|
21
10
|
s.require_path = "lib"
|
22
11
|
s.executables = ["bump"]
|
23
|
-
|
24
12
|
end
|
25
13
|
|
26
14
|
|
data/{test → spec}/bump_spec.rb
RENAMED
@@ -1,7 +1,19 @@
|
|
1
1
|
require File.dirname(__FILE__) + "/../lib/bump.rb"
|
2
2
|
|
3
3
|
describe Bump do
|
4
|
-
|
4
|
+
|
5
|
+
around do |example|
|
6
|
+
gemspec = <<-RUBY.sub(" "*6, "")
|
7
|
+
Gem::Specification.new do |s|
|
8
|
+
s.version = "1.0.0"
|
9
|
+
end
|
10
|
+
RUBY
|
11
|
+
path = File.expand_path("../fixture/fixture.gemspec", __FILE__)
|
12
|
+
File.open(path, 'w') {|f| f.write(gemspec) }
|
13
|
+
example.call
|
14
|
+
File.open(path, 'w') {|f| f.write("") }
|
15
|
+
end
|
16
|
+
|
5
17
|
it "should find current version" do
|
6
18
|
bump = Bump::Bump.new("current")
|
7
19
|
bump.gemspec_path = File.dirname(__FILE__) + "/fixture/fixture.gemspec"
|
@@ -30,4 +42,4 @@ describe Bump do
|
|
30
42
|
output.include?("2.0.0").should be_true
|
31
43
|
end
|
32
44
|
|
33
|
-
end
|
45
|
+
end
|
File without changes
|
metadata
CHANGED
@@ -1,73 +1,56 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: bump
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.4
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 1
|
9
|
-
- 3
|
10
|
-
version: 0.1.3
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Gregory Marcilhacy
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
date: 2011-07-23 00:00:00 +02:00
|
19
|
-
default_executable:
|
12
|
+
date: 2012-10-09 00:00:00.000000000 Z
|
20
13
|
dependencies: []
|
21
|
-
|
22
14
|
description:
|
23
15
|
email: g.marcilhacy@gmail.com
|
24
|
-
executables:
|
16
|
+
executables:
|
25
17
|
- bump
|
26
18
|
extensions: []
|
27
|
-
|
28
19
|
extra_rdoc_files: []
|
29
|
-
|
30
|
-
|
20
|
+
files:
|
21
|
+
- .gitignore
|
22
|
+
- Gemfile
|
23
|
+
- Gemfile.lock
|
31
24
|
- README.textile
|
32
|
-
-
|
25
|
+
- Rakefile
|
33
26
|
- bin/bump
|
27
|
+
- bump.gemspec
|
34
28
|
- lib/bump.rb
|
35
|
-
-
|
36
|
-
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
29
|
+
- spec/bump_spec.rb
|
30
|
+
- spec/fixture/fixture.gemspec
|
31
|
+
homepage: https://github.com/gregorym/bump
|
32
|
+
licenses:
|
33
|
+
- MIT
|
41
34
|
post_install_message:
|
42
35
|
rdoc_options: []
|
43
|
-
|
44
|
-
require_paths:
|
36
|
+
require_paths:
|
45
37
|
- lib
|
46
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
38
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
47
39
|
none: false
|
48
|
-
requirements:
|
49
|
-
- -
|
50
|
-
- !ruby/object:Gem::Version
|
51
|
-
|
52
|
-
|
53
|
-
- 0
|
54
|
-
version: "0"
|
55
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
41
|
+
- - ! '>='
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '0'
|
44
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
56
45
|
none: false
|
57
|
-
requirements:
|
58
|
-
- -
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
|
61
|
-
segments:
|
62
|
-
- 0
|
63
|
-
version: "0"
|
46
|
+
requirements:
|
47
|
+
- - ! '>='
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: '0'
|
64
50
|
requirements: []
|
65
|
-
|
66
51
|
rubyforge_project:
|
67
|
-
rubygems_version: 1.
|
52
|
+
rubygems_version: 1.8.23
|
68
53
|
signing_key:
|
69
54
|
specification_version: 3
|
70
55
|
summary: Bump your gem version file
|
71
|
-
test_files:
|
72
|
-
- test/bump_spec.rb
|
73
|
-
- test/fixture/fixture.gemspec
|
56
|
+
test_files: []
|
@@ -1,21 +0,0 @@
|
|
1
|
-
Gem::Specification.new do |s|
|
2
|
-
s.name = "fixture"
|
3
|
-
s.version = "2.0.0"
|
4
|
-
s.author = "Gregory Marcilhacy"
|
5
|
-
s.email = "g.marcilhacy@gmail.com"
|
6
|
-
s.homepage = "http://github.com/gregorymp/bump"
|
7
|
-
s.summary = "Bump your gem version file"
|
8
|
-
|
9
|
-
s.files = %w(
|
10
|
-
README.textile
|
11
|
-
bump.gemspec
|
12
|
-
bin/bump
|
13
|
-
lib/bump.rb
|
14
|
-
)
|
15
|
-
|
16
|
-
s.require_path = "lib"
|
17
|
-
s.executables = ["bump"]
|
18
|
-
|
19
|
-
end
|
20
|
-
|
21
|
-
|