jumpstart 0.3.5 → 0.3.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
1
  ---
2
- :jumpstart_version_minor: 3
3
- :jumpstart_version_patch: 5
4
2
  :jumpstart_version_major: 0
3
+ :jumpstart_version_minor: 3
4
+ :jumpstart_version_patch: 6
data/lib/jumpstart.rb CHANGED
@@ -107,7 +107,7 @@ module JumpStart
107
107
 
108
108
  # Handles calls to JumpStart::Setup.bump_version_major, JumpStart::Setup.bump_version_minor and JumpStart::Setup.bump_version_patch class methods.
109
109
  def method_missing(method, *args)
110
- if method.to_s.match(/bump_version_(major|minor|patch)/)
110
+ if method.to_s.match(/^bump_version_(major|minor|patch)$/)
111
111
  version_type = method.to_s.sub('bump_', '')
112
112
  self.send(:bump, "#{version_type}")
113
113
  else
@@ -117,7 +117,7 @@ module JumpStart
117
117
 
118
118
  # Handles calls to missing constants in the JumpStart module. Calls JumpStart.version if JumpStart::VERSION is recognised.
119
119
  def const_missing(name)
120
- if name.to_s.match(/VERSION/)
120
+ if name.to_s =~ /^VERSION$/
121
121
  version
122
122
  else
123
123
  super
metadata CHANGED
@@ -1,13 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jumpstart
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
5
4
  prerelease: false
6
5
  segments:
7
6
  - 0
8
7
  - 3
9
- - 5
10
- version: 0.3.5
8
+ - 6
9
+ version: 0.3.6
11
10
  platform: ruby
12
11
  authors:
13
12
  - Ian Alexander Wood (i0n)
@@ -15,7 +14,7 @@ autorequire:
15
14
  bindir: bin
16
15
  cert_chain: []
17
16
 
18
- date: 2010-05-30 00:00:00 +01:00
17
+ date: 2010-05-31 00:00:00 +01:00
19
18
  default_executable:
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
@@ -26,7 +25,6 @@ dependencies:
26
25
  requirements:
27
26
  - - ">="
28
27
  - !ruby/object:Gem::Version
29
- hash: 3
30
28
  segments:
31
29
  - 0
32
30
  version: "0"
@@ -40,7 +38,6 @@ dependencies:
40
38
  requirements:
41
39
  - - ">="
42
40
  - !ruby/object:Gem::Version
43
- hash: 3
44
41
  segments:
45
42
  - 0
46
43
  version: "0"
@@ -155,7 +152,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
155
152
  requirements:
156
153
  - - ">="
157
154
  - !ruby/object:Gem::Version
158
- hash: 3
159
155
  segments:
160
156
  - 0
161
157
  version: "0"
@@ -164,7 +160,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
164
160
  requirements:
165
161
  - - ">="
166
162
  - !ruby/object:Gem::Version
167
- hash: 23
168
163
  segments:
169
164
  - 1
170
165
  - 3