pressure_cooker 0.1.2 → 0.1.3

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.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MzQ3YWMxMWE1ZjRlOWYyOGY2ZWJiYmFlNzZiNzBjNjc3ZmRhZDQ1OA==
4
+ MzhkYTQ2OGM1MDc4Y2RlMWNjMTY5ZDBhY2RlMDliMWZkZmUyMTU2Yw==
5
5
  data.tar.gz: !binary |-
6
- YWYyNGNlZjE3NzhiY2YyN2UxZDE4OGU1NTFlNTU1MzYyYWRjNGI4MA==
6
+ NmFlMjIyMTFlZjFjNWE3MTM4YmI3MDFiZDlkMTM2NTg2MzFkN2ZlYQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- ZGM0MzQ0NDFkNzhhOWJiNTNhMTgxZTA1MDMzZGZkMDIzZDRkZjI1ZjJhMjkx
10
- ZTZlMThjOWI5MzU5ZGVmMWI3Y2Q0NDJjYzEyYTYwMTcxYjRlYjAxYzFjZDYx
11
- ZDU2YWU5NmMzOWRjMTFjNDJhMWQ5YzUyNGY1ODkyNzM5NGUxODE=
9
+ NmZhNDM3Yjg0ODNjZGFkNmJmYzQxZjU1ZDJiZDJjNzBmNjcxNWMyMmI5YmQw
10
+ NWZkMzVjOTA2ODQ3MjVjNTdhZmYzOTk1MDRlMjFjMWI1ZmVmODkyMWE5OTc4
11
+ NDhkNDE3NzhlYWY1MzM1NGI4ZWVhZWViZDc4MDA0MGU4MjQwMGE=
12
12
  data.tar.gz: !binary |-
13
- YWEyYTRmNmNmOWE1OWVjOTgwMGE0MzhjZThjMzAyMzczYmI3ODY4ZmI1YjZi
14
- NjRiYmUxNjc4NzZiZmI3NGNkNGM2M2Y2ZmM2N2E1OTBiYjM0OWE1OTExYTJi
15
- NjZkZmI4YWRkY2I3NGM5MzhhMjljZDliOGRhZDlkNDdlMzljZjg=
13
+ YzBjY2NkZjQ0ZGZkNWY5NjZiYTYwODMyMzk5YjUzYzBiZWU4MTg3YWU4Mjhj
14
+ MmFiNzFhYjQwYjY2MzAzZDA0ZTUyMWM0NTkwNDRhYzQxZmJkYjQ2N2NjNzI3
15
+ MTViNzc4NzJjMDQyYTYxMTFjYjRlMTliN2U4YzUwMDg1NGZjZTQ=
data/bin/cook_gem.rb CHANGED
@@ -23,14 +23,30 @@ system "mkdir bin"
23
23
  puts
24
24
  system "rspec --init"
25
25
 
26
+ # require our gem in spec_helper
27
+ system 'mv spec/spec_helper.rb spec/_spec_helper.rb'
28
+ old_spec_helper = File.open('spec/_spec_helper.rb', 'r')
29
+ File.open("spec/spec_helper.rb", 'w') do |spec_helper|
30
+ spec_helper.puts "require '#{gem_name}'"
31
+ old_spec_helper.lines.each do |line|
32
+ spec_helper.puts line
33
+ end
34
+ end
35
+ system 'rm spec/_spec_helper.rb'
36
+
37
+ # add smoke_spec.rb for basic
26
38
  smoke_spec = File.new("spec/smoke_spec.rb", 'w')
27
39
  smoke_spec.puts '# smoke test'
40
+ smoke_spec.puts "require 'spec_helper'"
41
+ smoke_spec.puts
28
42
  smoke_spec.puts "describe #{gem_module} do"
29
43
  smoke_spec.puts " it 'has a version' do"
30
44
  smoke_spec.puts " expect(#{gem_module}::VERSION).to match(/^\\d+\\.\\d+\\.\\d+$/)"
31
45
  smoke_spec.puts " end"
32
46
  smoke_spec.puts "end"
33
47
  smoke_spec.close
48
+
49
+ # add dir for future specs
34
50
  system "mkdir spec/#{gem_name}"
35
51
 
36
52
  # update gemspec with dependencies
@@ -1,3 +1,3 @@
1
1
  module PressureCooker
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pressure_cooker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - mjorgensen