versionify 0.2.0 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/versionify/version.rb +2 -2
- data/lib/versionify.rb +9 -0
- metadata +20 -31
data/lib/versionify/version.rb
CHANGED
@@ -1,3 +1,3 @@
|
|
1
1
|
module Versionify
|
2
|
-
VERSION = "0.2.
|
3
|
-
end
|
2
|
+
VERSION = "0.2.3"
|
3
|
+
end
|
data/lib/versionify.rb
CHANGED
@@ -1,6 +1,9 @@
|
|
1
|
+
require 'rake'
|
1
2
|
Dir["#{File.dirname __FILE__}/versionify/*.rb"].each {|file| require "#{file}" }
|
2
3
|
|
3
4
|
module Versionify
|
5
|
+
extend Rake::DSL
|
6
|
+
|
4
7
|
def self.bump level = :patch
|
5
8
|
version = read_or_create
|
6
9
|
|
@@ -38,14 +41,20 @@ module Versionify
|
|
38
41
|
|
39
42
|
namespace :version do
|
40
43
|
namespace :bump do
|
44
|
+
|
45
|
+
desc 'bump the patch'
|
41
46
|
task :patch do
|
42
47
|
bump :patch
|
43
48
|
print_version
|
44
49
|
end
|
50
|
+
|
51
|
+
desc 'bump the minor'
|
45
52
|
task :minor do
|
46
53
|
bump :minor
|
47
54
|
print_version
|
48
55
|
end
|
56
|
+
|
57
|
+
desc 'bump the major'
|
49
58
|
task :major do
|
50
59
|
bump :major
|
51
60
|
print_version
|
metadata
CHANGED
@@ -1,29 +1,23 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: versionify
|
3
|
-
version: !ruby/object:Gem::Version
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.3
|
4
5
|
prerelease:
|
5
|
-
version: 0.2.0
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
7
|
+
authors:
|
8
8
|
- Sam Taylor
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
date: 2011-04-12 00:00:00 +01:00
|
14
|
-
default_executable:
|
12
|
+
date: 2011-07-27 00:00:00.000000000Z
|
15
13
|
dependencies: []
|
16
|
-
|
17
14
|
description:
|
18
|
-
email:
|
15
|
+
email:
|
19
16
|
- sjltaylor@gmail.com
|
20
17
|
executables: []
|
21
|
-
|
22
18
|
extensions: []
|
23
|
-
|
24
19
|
extra_rdoc_files: []
|
25
|
-
|
26
|
-
files:
|
20
|
+
files:
|
27
21
|
- .gitignore
|
28
22
|
- Gemfile
|
29
23
|
- Rakefile
|
@@ -31,33 +25,28 @@ files:
|
|
31
25
|
- lib/versionify.rb
|
32
26
|
- lib/versionify/version.rb
|
33
27
|
- versionify.gemspec
|
34
|
-
|
35
|
-
homepage: ""
|
28
|
+
homepage: ''
|
36
29
|
licenses: []
|
37
|
-
|
38
30
|
post_install_message:
|
39
31
|
rdoc_options: []
|
40
|
-
|
41
|
-
require_paths:
|
32
|
+
require_paths:
|
42
33
|
- lib
|
43
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
34
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
44
35
|
none: false
|
45
|
-
requirements:
|
46
|
-
- -
|
47
|
-
- !ruby/object:Gem::Version
|
48
|
-
version:
|
49
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - ! '>='
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '0'
|
40
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
50
41
|
none: false
|
51
|
-
requirements:
|
52
|
-
- -
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version:
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
55
46
|
requirements: []
|
56
|
-
|
57
47
|
rubyforge_project: versionify
|
58
|
-
rubygems_version: 1.5
|
48
|
+
rubygems_version: 1.8.5
|
59
49
|
signing_key:
|
60
50
|
specification_version: 3
|
61
51
|
summary: version functionality for rails apps
|
62
52
|
test_files: []
|
63
|
-
|