simp-rake-helpers 2.1.3 → 2.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2266b34e5f9ca97094666ce1c0d4ea1e76720695
4
- data.tar.gz: f81138ca23bdadefa050c35b8451c257d0208166
3
+ metadata.gz: 7058c26eaceede07bfb8b8a2fe70de0264a8669e
4
+ data.tar.gz: efda3e611429ec432e8331ffb73974ec1b143ae0
5
5
  SHA512:
6
- metadata.gz: 2f3311a8435d4d6825a5e345976d9217636b169e3194f38e13748426211415fcee9627e921463e45ea4d26b143114c44e4f724f760add15e92c54a43af73a1c2
7
- data.tar.gz: 59e8330b1f6c03c1f991b7b48a0be6fbd28f4f4e21a44c556c5f9152de57b96529ddbcdb89ff8121606bb46e2b5b8c32f0e2b6b68a805240c1f1edde1fae8a55
6
+ metadata.gz: 219538cb72e1ecf9c624dfaa2de524d9ef97b16506da3d120fe0c19c58d3a08d897fe29fdb6fadea14de0c957dd6e032f5a89dd3f752b02ec8bed0fba2f83029
7
+ data.tar.gz: 7f1db517f6f02d30c6bc66f529c2faa28e7122c659995d3ce15aa05b5353032744dd3301d5e525cab505c472c15314d02a77894fbd252582da5174fe27aa7376
@@ -1,3 +1,11 @@
1
+ ### 2.3.0 / 2016-06-22
2
+ * Move 'listen' into the runtime dependencies so that 'guard' stops trying to
3
+ yank it into a version that is not compatible with Ruby < 2.2.
4
+
5
+ ### 2.2.0 / 2016-06-03
6
+ * Added support for the new LUA-based RPM spec files.
7
+ * Fixed a few bugs in some of the internal state checks.
8
+
1
9
  ### 2.1.2 / 2016-04-29
2
10
  * Fixed runtime dependencies
3
11
 
@@ -1,3 +1,4 @@
1
+ require 'bundler'
1
2
  require 'simp/rake'
2
3
  require 'simp/rake/build/constants'
3
4
 
@@ -65,7 +66,7 @@ module Simp::Rake::Build
65
66
  end
66
67
  # Any ruby code that opens a subshell will automatically use the current Bundler environment.
67
68
  # Clean env will give bundler the environment present before Bundler is activated.
68
- Bundler.with_clean_env do
69
+ ::Bundler.with_clean_env do
69
70
  out = %x(bundle #{args.action} 2>&1)
70
71
  status = $?.success?
71
72
  puts out if verbose
@@ -194,7 +194,7 @@ module Simp::Rake::Build
194
194
  # This is a working version of gpg-agent, that means we need to
195
195
  # connect to it to figure out what's going on
196
196
 
197
- gpg_agent_socket = %x(#{Dir.pwd}/S.gpg-agent)
197
+ gpg_agent_socket = %(#{Dir.pwd}/S.gpg-agent)
198
198
  gpg_agent_pid_info = %x(gpg-agent --homedir=#{Dir.pwd} /get serverpid).strip
199
199
  gpg_agent_pid_info =~ %r(\[(\d+)\])
200
200
  gpg_agent_pid = $1
@@ -2,5 +2,5 @@ module Simp; end
2
2
  module Simp::Rake; end
3
3
 
4
4
  class Simp::Rake::Helpers
5
- VERSION = '2.1.3'
5
+ VERSION = '2.3.0'
6
6
  end
@@ -39,23 +39,33 @@ module Simp::Rake
39
39
  attr_reader :spec_info
40
40
 
41
41
  def initialize( base_dir, unique_name=nil )
42
- @base_dir = base_dir
43
- @pkg_name = File.basename(@base_dir)
44
- @spec_file = Dir.glob("#{@base_dir}/build/*.spec").first
45
- @pkg_dir = "#{@base_dir}/dist"
46
- @exclude_list = [ File.basename(@pkg_dir) ]
47
- @clean_list = []
48
- @ignore_changes_list = []
49
- @chroot_name = unique_name
50
- @mock_root_dir = ENV.fetch('SIMP_BUILD_MOCK_root','/var/lib/mock')
42
+ @base_dir = base_dir
43
+ @pkg_name = File.basename(@base_dir)
44
+ @spec_file = Dir.glob("#{@base_dir}/build/*.spec").first
45
+ @pkg_dir = "#{@base_dir}/dist"
46
+ @exclude_list = [ File.basename(@pkg_dir) ]
47
+ @clean_list = []
48
+ @ignore_changes_list = []
49
+ @chroot_name = unique_name
50
+ @mock_root_dir = ENV.fetch('SIMP_BUILD_MOCK_root','/var/lib/mock')
51
51
 
52
- ::CLEAN.include( @pkg_dir )
52
+ # The following are required to build successful RPMs using the new
53
+ # LUA-based RPM template
53
54
 
54
- yield self if block_given?
55
+ @puppet_module_info_files = [
56
+ @spec_file,
57
+ %(#{@base_dir}/build),
58
+ %(#{@base_dir}/CHANGELOG),
59
+ %(#{@base_dir}/metadata.json)
60
+ ]
55
61
 
56
- ::CLEAN.include( @clean_list )
62
+ ::CLEAN.include( @pkg_dir )
57
63
 
58
- define
64
+ yield self if block_given?
65
+
66
+ ::CLEAN.include( @clean_list )
67
+
68
+ define
59
69
  end
60
70
 
61
71
  def define
@@ -79,22 +89,36 @@ module Simp::Rake
79
89
  # Ensures that the correct file names are used across the board.
80
90
  def initialize_spec_info(chroot, unique)
81
91
  unless @spec_info
82
- spec_file = @spec_file
83
-
84
92
  # This gets the resting spec file and allows us to pull out the name
85
- @spec_info = Simp::RPM.get_info( spec_file )
93
+ @spec_info = Simp::RPM.get_info( @spec_file )
94
+ @spec_info_dir = @base_dir
86
95
 
87
96
  if chroot
88
97
  @chroot_name = @chroot_name || "#{@spec_info[:name]}__#{ENV.fetch( 'USER', 'USER' )}"
89
98
  mock_cmd = mock_pre_check( chroot, @chroot_name, unique ) + " --root #{chroot}"
90
99
 
91
- sh %Q(#{mock_cmd} --copyin #{spec_file} /tmp)
100
+ # Need to do this in case there is already a directory in /tmp
101
+ rand_dirname = (0...10).map { ('a'..'z').to_a[rand(26)] }.join
102
+ rand_tmpdir = %(/tmp/#{rand_dirname}_tmp)
103
+
104
+ sh %Q(#{mock_cmd} --chroot 'mkdir -p #{rand_tmpdir}')
105
+
106
+ @puppet_module_info_files .each do |copy_in|
107
+ if File.exist?(copy_in)
108
+ sh %Q(#{mock_cmd} --copyin #{copy_in} #{rand_tmpdir})
109
+ end
110
+ end
111
+
112
+ sh %Q(#{mock_cmd} --chroot 'chmod -R ugo+rwX #{rand_tmpdir}')
113
+
92
114
  info_hash = {
93
- :command => %Q(#{mock_cmd} --shell),
94
- :rpm_extras => %(--specfile /tmp/#{File.basename(spec_file)} )
115
+ :command => %Q(#{mock_cmd} --chroot --cwd='#{rand_tmpdir}'),
116
+ :rpm_extras => %(--specfile #{rand_tmpdir}/#{File.basename(@spec_file)} )
95
117
  }
96
118
 
97
- @spec_info = Simp::RPM.get_info(spec_file, info_hash)
119
+ @spec_info = Simp::RPM.get_info(@spec_file, info_hash)
120
+
121
+ @spec_info_dir = rand_tmpdir
98
122
  end
99
123
 
100
124
  @dir_name = "#{@spec_info[:name]}-#{@spec_info[:version]}"
@@ -127,6 +151,13 @@ module Simp::Rake
127
151
  namespace :pkg do
128
152
  directory @pkg_dir
129
153
 
154
+ task :initialize_spec_info,[:chroot,:unique] => [@pkg_dir] do |t,args|
155
+ args.with_defaults(:chroot => nil)
156
+ args.with_defaults(:unique => false)
157
+
158
+ initialize_spec_info(args.chroot, args.unique)
159
+ end
160
+
130
161
  # :pkg:tar
131
162
  # -----------------------------
132
163
  desc <<-EOM
@@ -135,14 +166,10 @@ module Simp::Rake
135
166
  version, rpm spec file must have macro for
136
167
  this to work.
137
168
  EOM
138
- task :tar,[:chroot,:unique,:snapshot_release] => [@pkg_dir] do |t,args|
169
+ task :tar,[:chroot,:unique,:snapshot_release] => [:initialize_spec_info] do |t,args|
139
170
  args.with_defaults(:snapshot_release => false)
140
- args.with_defaults(:unique => false)
141
171
  args.with_defaults(:chroot => nil)
142
-
143
- if args.chroot
144
- initialize_spec_info(args.chroot, args.unique)
145
- end
172
+ args.with_defaults(:unique => false)
146
173
 
147
174
  l_date = ''
148
175
  if args.snapshot_release == 'true'
@@ -213,7 +240,7 @@ module Simp::Rake
213
240
  srpms = Dir.glob(%(#{@pkg_dir}/#{@spec_info[:name]}#{suffix}-#{@spec_info[:version]}-#{@spec_info[:release]}#{l_date}.*.src.rpm))
214
241
 
215
242
  if require_rebuild?(@tar_dest,srpms)
216
- cmd = %Q(#{mock_cmd} --no-clean --root #{args.chroot} #{mocksnap} --buildsrpm --spec #{@spec_file} --source #{@pkg_dir})
243
+ cmd = %Q(#{mock_cmd} --no-clean --root #{args.chroot} #{mocksnap} --buildsrpm --spec #{@spec_file} --sources #{@pkg_dir})
217
244
  if suffix
218
245
  cmd += %( -D "_variant #{variant}")
219
246
  end
@@ -345,9 +372,8 @@ module Simp::Rake
345
372
  # Returns a String that contains the appropriate mock command.
346
373
  def mock_pre_check( chroot, unique_ext, unique=false, init=true )
347
374
 
348
- raise %Q(unique_ext must be a String ("#{unique_ext}" = #{unique_ext.class})) unless unique_ext.is_a? String
349
-
350
375
  mock = ENV['mock'] || '/usr/bin/mock'
376
+
351
377
  raise(Exception,"Could not find mock on your system, exiting") unless File.executable?(mock)
352
378
 
353
379
  mock_configs = Pkg.get_mock_configs
@@ -362,10 +388,12 @@ module Simp::Rake
362
388
  )
363
389
  end
364
390
 
391
+ raise %Q(unique_ext must be a String ("#{unique_ext}" = #{unique_ext.class})) unless unique_ext.is_a? String
392
+
365
393
  # if true, restrict yum to the chroot's local yum cache (defaults to false)
366
394
  mock_offline = ENV.fetch( 'SIMP_RAKE_MOCK_OFFLINE', 'N' ).chomp.index( %r{^(1|Y|true|yes)$} ) || false
367
395
 
368
- mock_cmd = "#{mock} --quiet"
396
+ mock_cmd = "#{mock} -D 'pup_module_info_dir #{@spec_info_dir}' --quiet"
369
397
  mock_cmd += " --uniqueext=#{unique_ext}" if unique
370
398
  mock_cmd += ' --offline' if mock_offline
371
399
 
@@ -70,11 +70,32 @@ module Simp
70
70
 
71
71
  if File.readable?(rpm_source)
72
72
  if rpm_source.split('.').last == 'rpm'
73
- rpm_info = %x(#{rpm_cmd} -p #{rpm_source} 2>/dev/null)
73
+ rpm_info = %x(#{rpm_cmd} -p #{rpm_source} 2>/dev/null).strip
74
+
75
+ if rpm_info.empty?
76
+ raise <<-EOE
77
+ Error getting RPM info.
78
+ Run '#{rpm_cmd.gsub("\n",'\\n')} -p #{rpm_source}' to debug the issue.
79
+ EOE
80
+ end
74
81
  elsif mock_hash
75
- rpm_info = %x(#{rpm_cmd})
82
+ rpm_info = %x(#{rpm_cmd}).strip
83
+
84
+ if rpm_info.empty?
85
+ raise <<-EOE
86
+ Error getting RPM info.
87
+ Run '#{rpm_cmd.gsub("\n",'\\n')}' to debug the issue.
88
+ EOE
89
+ end
76
90
  else
77
- rpm_info = %x(#{rpm_cmd} --specfile #{rpm_source} 2>/dev/null)
91
+ rpm_info = %x(#{rpm_cmd} --specfile #{rpm_source} 2>/dev/null).strip
92
+
93
+ if rpm_info.empty?
94
+ raise <<-EOE
95
+ Error getting RPM info.
96
+ Run '#{rpm_cmd.gsub("\n",'\\n')} --specfile #{rpm_source}' to debug the issue.
97
+ EOE
98
+ end
78
99
  end
79
100
 
80
101
  info[:name],info[:version],info[:release] = rpm_info.split("\n").first.split(' ')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simp-rake-helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.3
4
+ version: 2.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Tessmer
@@ -9,362 +9,368 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-05-03 00:00:00.000000000 Z
12
+ date: 2016-06-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - ~>
18
+ - - "~>"
19
19
  - !ruby/object:Gem::Version
20
20
  version: '1.0'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - ~>
25
+ - - "~>"
26
26
  - !ruby/object:Gem::Version
27
27
  version: '1.0'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: rake
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - ~>
32
+ - - ">="
33
33
  - !ruby/object:Gem::Version
34
34
  version: '10.0'
35
+ - - "<"
36
+ - !ruby/object:Gem::Version
37
+ version: '12.0'
35
38
  type: :runtime
36
39
  prerelease: false
37
40
  version_requirements: !ruby/object:Gem::Requirement
38
41
  requirements:
39
- - - ~>
42
+ - - ">="
40
43
  - !ruby/object:Gem::Version
41
44
  version: '10.0'
45
+ - - "<"
46
+ - !ruby/object:Gem::Version
47
+ version: '12.0'
42
48
  - !ruby/object:Gem::Dependency
43
49
  name: coderay
44
50
  requirement: !ruby/object:Gem::Requirement
45
51
  requirements:
46
- - - ~>
52
+ - - "~>"
47
53
  - !ruby/object:Gem::Version
48
54
  version: '1.0'
49
55
  type: :runtime
50
56
  prerelease: false
51
57
  version_requirements: !ruby/object:Gem::Requirement
52
58
  requirements:
53
- - - ~>
59
+ - - "~>"
54
60
  - !ruby/object:Gem::Version
55
61
  version: '1.0'
56
62
  - !ruby/object:Gem::Dependency
57
63
  name: puppet
58
64
  requirement: !ruby/object:Gem::Requirement
59
65
  requirements:
60
- - - '>='
66
+ - - ">="
61
67
  - !ruby/object:Gem::Version
62
68
  version: '3.0'
63
69
  type: :runtime
64
70
  prerelease: false
65
71
  version_requirements: !ruby/object:Gem::Requirement
66
72
  requirements:
67
- - - '>='
73
+ - - ">="
68
74
  - !ruby/object:Gem::Version
69
75
  version: '3.0'
70
76
  - !ruby/object:Gem::Dependency
71
77
  name: puppet-lint
72
78
  requirement: !ruby/object:Gem::Requirement
73
79
  requirements:
74
- - - ~>
80
+ - - "~>"
75
81
  - !ruby/object:Gem::Version
76
82
  version: '1.0'
77
83
  type: :runtime
78
84
  prerelease: false
79
85
  version_requirements: !ruby/object:Gem::Requirement
80
86
  requirements:
81
- - - ~>
87
+ - - "~>"
82
88
  - !ruby/object:Gem::Version
83
89
  version: '1.0'
84
90
  - !ruby/object:Gem::Dependency
85
91
  name: puppetlabs_spec_helper
86
92
  requirement: !ruby/object:Gem::Requirement
87
93
  requirements:
88
- - - ~>
94
+ - - "~>"
89
95
  - !ruby/object:Gem::Version
90
96
  version: '0.0'
91
97
  type: :runtime
92
98
  prerelease: false
93
99
  version_requirements: !ruby/object:Gem::Requirement
94
100
  requirements:
95
- - - ~>
101
+ - - "~>"
96
102
  - !ruby/object:Gem::Version
97
103
  version: '0.0'
98
104
  - !ruby/object:Gem::Dependency
99
105
  name: parallel
100
106
  requirement: !ruby/object:Gem::Requirement
101
107
  requirements:
102
- - - ~>
108
+ - - "~>"
103
109
  - !ruby/object:Gem::Version
104
110
  version: '1.0'
105
111
  type: :runtime
106
112
  prerelease: false
107
113
  version_requirements: !ruby/object:Gem::Requirement
108
114
  requirements:
109
- - - ~>
115
+ - - "~>"
110
116
  - !ruby/object:Gem::Version
111
117
  version: '1.0'
112
118
  - !ruby/object:Gem::Dependency
113
119
  name: simp-rspec-puppet-facts
114
120
  requirement: !ruby/object:Gem::Requirement
115
121
  requirements:
116
- - - ~>
122
+ - - "~>"
117
123
  - !ruby/object:Gem::Version
118
124
  version: '1.0'
119
125
  type: :runtime
120
126
  prerelease: false
121
127
  version_requirements: !ruby/object:Gem::Requirement
122
128
  requirements:
123
- - - ~>
129
+ - - "~>"
124
130
  - !ruby/object:Gem::Version
125
131
  version: '1.0'
126
132
  - !ruby/object:Gem::Dependency
127
133
  name: puppet-blacksmith
128
134
  requirement: !ruby/object:Gem::Requirement
129
135
  requirements:
130
- - - ~>
136
+ - - "~>"
131
137
  - !ruby/object:Gem::Version
132
138
  version: '3.3'
133
139
  type: :runtime
134
140
  prerelease: false
135
141
  version_requirements: !ruby/object:Gem::Requirement
136
142
  requirements:
137
- - - ~>
143
+ - - "~>"
138
144
  - !ruby/object:Gem::Version
139
145
  version: '3.3'
140
146
  - !ruby/object:Gem::Dependency
141
147
  name: simp-beaker-helpers
142
148
  requirement: !ruby/object:Gem::Requirement
143
149
  requirements:
144
- - - ~>
150
+ - - "~>"
145
151
  - !ruby/object:Gem::Version
146
152
  version: '1.0'
147
153
  type: :runtime
148
154
  prerelease: false
149
155
  version_requirements: !ruby/object:Gem::Requirement
150
156
  requirements:
151
- - - ~>
157
+ - - "~>"
152
158
  - !ruby/object:Gem::Version
153
159
  version: '1.0'
154
160
  - !ruby/object:Gem::Dependency
155
161
  name: parallel_tests
156
162
  requirement: !ruby/object:Gem::Requirement
157
163
  requirements:
158
- - - ~>
164
+ - - "~>"
159
165
  - !ruby/object:Gem::Version
160
166
  version: '2.4'
161
167
  type: :runtime
162
168
  prerelease: false
163
169
  version_requirements: !ruby/object:Gem::Requirement
164
170
  requirements:
165
- - - ~>
171
+ - - "~>"
166
172
  - !ruby/object:Gem::Version
167
173
  version: '2.4'
168
174
  - !ruby/object:Gem::Dependency
169
175
  name: r10k
170
176
  requirement: !ruby/object:Gem::Requirement
171
177
  requirements:
172
- - - ~>
178
+ - - "~>"
173
179
  - !ruby/object:Gem::Version
174
180
  version: '2.2'
175
181
  type: :runtime
176
182
  prerelease: false
177
183
  version_requirements: !ruby/object:Gem::Requirement
178
184
  requirements:
179
- - - ~>
185
+ - - "~>"
180
186
  - !ruby/object:Gem::Version
181
187
  version: '2.2'
182
188
  - !ruby/object:Gem::Dependency
183
189
  name: pager
184
190
  requirement: !ruby/object:Gem::Requirement
185
191
  requirements:
186
- - - '>='
192
+ - - ">="
187
193
  - !ruby/object:Gem::Version
188
194
  version: '0'
189
195
  type: :runtime
190
196
  prerelease: false
191
197
  version_requirements: !ruby/object:Gem::Requirement
192
198
  requirements:
193
- - - '>='
199
+ - - ">="
194
200
  - !ruby/object:Gem::Version
195
201
  version: '0'
196
202
  - !ruby/object:Gem::Dependency
197
203
  name: rspec
198
204
  requirement: !ruby/object:Gem::Requirement
199
205
  requirements:
200
- - - ~>
206
+ - - "~>"
201
207
  - !ruby/object:Gem::Version
202
208
  version: '3.0'
203
209
  type: :runtime
204
210
  prerelease: false
205
211
  version_requirements: !ruby/object:Gem::Requirement
206
212
  requirements:
207
- - - ~>
213
+ - - "~>"
208
214
  - !ruby/object:Gem::Version
209
215
  version: '3.0'
210
216
  - !ruby/object:Gem::Dependency
211
217
  name: beaker
212
218
  requirement: !ruby/object:Gem::Requirement
213
219
  requirements:
214
- - - ~>
220
+ - - "~>"
215
221
  - !ruby/object:Gem::Version
216
222
  version: '2.0'
217
223
  type: :runtime
218
224
  prerelease: false
219
225
  version_requirements: !ruby/object:Gem::Requirement
220
226
  requirements:
221
- - - ~>
227
+ - - "~>"
222
228
  - !ruby/object:Gem::Version
223
229
  version: '2.0'
224
230
  - !ruby/object:Gem::Dependency
225
231
  name: beaker-rspec
226
232
  requirement: !ruby/object:Gem::Requirement
227
233
  requirements:
228
- - - ~>
234
+ - - "~>"
229
235
  - !ruby/object:Gem::Version
230
236
  version: '5.0'
231
237
  type: :runtime
232
238
  prerelease: false
233
239
  version_requirements: !ruby/object:Gem::Requirement
234
240
  requirements:
235
- - - ~>
241
+ - - "~>"
236
242
  - !ruby/object:Gem::Version
237
243
  version: '5.0'
238
244
  - !ruby/object:Gem::Dependency
239
245
  name: rspec-core
240
246
  requirement: !ruby/object:Gem::Requirement
241
247
  requirements:
242
- - - ~>
248
+ - - "~>"
243
249
  - !ruby/object:Gem::Version
244
250
  version: '3.0'
245
251
  type: :runtime
246
252
  prerelease: false
247
253
  version_requirements: !ruby/object:Gem::Requirement
248
254
  requirements:
249
- - - ~>
255
+ - - "~>"
250
256
  - !ruby/object:Gem::Version
251
257
  version: '3.0'
258
+ - !ruby/object:Gem::Dependency
259
+ name: listen
260
+ requirement: !ruby/object:Gem::Requirement
261
+ requirements:
262
+ - - "~>"
263
+ - !ruby/object:Gem::Version
264
+ version: 3.0.6
265
+ type: :runtime
266
+ prerelease: false
267
+ version_requirements: !ruby/object:Gem::Requirement
268
+ requirements:
269
+ - - "~>"
270
+ - !ruby/object:Gem::Version
271
+ version: 3.0.6
252
272
  - !ruby/object:Gem::Dependency
253
273
  name: gitlog-md
254
274
  requirement: !ruby/object:Gem::Requirement
255
275
  requirements:
256
- - - ~>
276
+ - - "~>"
257
277
  - !ruby/object:Gem::Version
258
278
  version: '0'
259
279
  type: :development
260
280
  prerelease: false
261
281
  version_requirements: !ruby/object:Gem::Requirement
262
282
  requirements:
263
- - - ~>
283
+ - - "~>"
264
284
  - !ruby/object:Gem::Version
265
285
  version: '0'
266
286
  - !ruby/object:Gem::Dependency
267
287
  name: pry
268
288
  requirement: !ruby/object:Gem::Requirement
269
289
  requirements:
270
- - - ~>
290
+ - - "~>"
271
291
  - !ruby/object:Gem::Version
272
292
  version: '0.0'
273
293
  type: :development
274
294
  prerelease: false
275
295
  version_requirements: !ruby/object:Gem::Requirement
276
296
  requirements:
277
- - - ~>
297
+ - - "~>"
278
298
  - !ruby/object:Gem::Version
279
299
  version: '0.0'
280
300
  - !ruby/object:Gem::Dependency
281
301
  name: pry-doc
282
302
  requirement: !ruby/object:Gem::Requirement
283
303
  requirements:
284
- - - ~>
304
+ - - "~>"
285
305
  - !ruby/object:Gem::Version
286
306
  version: '0.0'
287
307
  type: :development
288
308
  prerelease: false
289
309
  version_requirements: !ruby/object:Gem::Requirement
290
310
  requirements:
291
- - - ~>
311
+ - - "~>"
292
312
  - !ruby/object:Gem::Version
293
313
  version: '0.0'
294
314
  - !ruby/object:Gem::Dependency
295
315
  name: highline
296
316
  requirement: !ruby/object:Gem::Requirement
297
317
  requirements:
298
- - - ~>
318
+ - - "~>"
299
319
  - !ruby/object:Gem::Version
300
320
  version: '1.6'
301
- - - '>'
321
+ - - ">"
302
322
  - !ruby/object:Gem::Version
303
323
  version: 1.6.1
304
324
  type: :development
305
325
  prerelease: false
306
326
  version_requirements: !ruby/object:Gem::Requirement
307
327
  requirements:
308
- - - ~>
328
+ - - "~>"
309
329
  - !ruby/object:Gem::Version
310
330
  version: '1.6'
311
- - - '>'
331
+ - - ">"
312
332
  - !ruby/object:Gem::Version
313
333
  version: 1.6.1
314
- - !ruby/object:Gem::Dependency
315
- name: listen
316
- requirement: !ruby/object:Gem::Requirement
317
- requirements:
318
- - - ~>
319
- - !ruby/object:Gem::Version
320
- version: 3.0.6
321
- type: :development
322
- prerelease: false
323
- version_requirements: !ruby/object:Gem::Requirement
324
- requirements:
325
- - - ~>
326
- - !ruby/object:Gem::Version
327
- version: 3.0.6
328
334
  - !ruby/object:Gem::Dependency
329
335
  name: guard
330
336
  requirement: !ruby/object:Gem::Requirement
331
337
  requirements:
332
- - - ~>
338
+ - - "~>"
333
339
  - !ruby/object:Gem::Version
334
340
  version: '2.0'
335
341
  type: :development
336
342
  prerelease: false
337
343
  version_requirements: !ruby/object:Gem::Requirement
338
344
  requirements:
339
- - - ~>
345
+ - - "~>"
340
346
  - !ruby/object:Gem::Version
341
347
  version: '2.0'
342
348
  - !ruby/object:Gem::Dependency
343
349
  name: guard-shell
344
350
  requirement: !ruby/object:Gem::Requirement
345
351
  requirements:
346
- - - ~>
352
+ - - "~>"
347
353
  - !ruby/object:Gem::Version
348
354
  version: '0.0'
349
355
  type: :development
350
356
  prerelease: false
351
357
  version_requirements: !ruby/object:Gem::Requirement
352
358
  requirements:
353
- - - ~>
359
+ - - "~>"
354
360
  - !ruby/object:Gem::Version
355
361
  version: '0.0'
356
362
  - !ruby/object:Gem::Dependency
357
363
  name: guard-rspec
358
364
  requirement: !ruby/object:Gem::Requirement
359
365
  requirements:
360
- - - ~>
366
+ - - "~>"
361
367
  - !ruby/object:Gem::Version
362
368
  version: '4.0'
363
369
  type: :development
364
370
  prerelease: false
365
371
  version_requirements: !ruby/object:Gem::Requirement
366
372
  requirements:
367
- - - ~>
373
+ - - "~>"
368
374
  - !ruby/object:Gem::Version
369
375
  version: '4.0'
370
376
  description: |2
@@ -374,9 +380,9 @@ executables: []
374
380
  extensions: []
375
381
  extra_rdoc_files: []
376
382
  files:
377
- - .gitignore
378
- - .rspec
379
- - .travis.yml
383
+ - ".gitignore"
384
+ - ".rspec"
385
+ - ".travis.yml"
380
386
  - CHANGELOG.md
381
387
  - CONTRIBUTING.md
382
388
  - Gemfile
@@ -433,12 +439,12 @@ require_paths:
433
439
  - lib
434
440
  required_ruby_version: !ruby/object:Gem::Requirement
435
441
  requirements:
436
- - - '>='
442
+ - - ">="
437
443
  - !ruby/object:Gem::Version
438
444
  version: '0'
439
445
  required_rubygems_version: !ruby/object:Gem::Requirement
440
446
  requirements:
441
- - - '>='
447
+ - - ">="
442
448
  - !ruby/object:Gem::Version
443
449
  version: '0'
444
450
  requirements: []