pork 1.1.1 → 1.1.2

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: 3f774152ae332f0ad1a67b441750593c9e2aff4b
4
- data.tar.gz: d9cf56d01e36f684c9afb0628e528c8822044898
3
+ metadata.gz: b6be40200d742b7e914299393fd153df6aa2f221
4
+ data.tar.gz: 5727e914add3a14a117f3a2783f511dbf7309e49
5
5
  SHA512:
6
- metadata.gz: ab26b97a4e4ba7484a0e17650a1275fba3e773b891fd5b0e5b2172dcb24a2fa25144ff26209b85b8f394e815ce4abaf67e26afa6eba4e3171698ab3056fbe9ab
7
- data.tar.gz: bc7b76d4c68108fd809b76056a45ee02f7f62c1326330b78548897e50a26aa893245add5c8c76bdd582c61ba803634443dfb0f025c27fc3d6ea2f2a6bd4941d8
6
+ metadata.gz: 5334721d9e117e448255baaca63a13d1295ccbb0518b40bf436925b6dbe9dc14a2ea9884c90024b7bb4f5e565bf106243b022ea34c0b4a4cc67ab83f6abc6f0e
7
+ data.tar.gz: 20d9b914a4d068d8a6fc4f5660df4ca29523873e2da69680059192775bb5db10336b455cb04db937a4fe7beabb9affa6e751ab0fd43e17b202efa4ad2d029159
data/CHANGES.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # CHANGES
2
2
 
3
+ ## Pork 1.1.2 -- 2015-01-28
4
+
5
+ * Really fixed passing `ENV['PORK_MODE']=execute`. I should sleep now.
6
+
3
7
  ## Pork 1.1.1 -- 2015-01-28
4
8
 
5
9
  * Fixed passing `ENV['PORK_MODE']=execute`
@@ -60,9 +60,9 @@ module Pork
60
60
  @auto = auto
61
61
  @autorun ||= at_exit do
62
62
  next unless @auto
63
- Random.srand(ENV['PORK_SEED'].to_i) if ENV['PORK_SEED']
64
- execute_mode(ENV['PORK_MODE']) if ENV['PORK_MODE']
65
- require "pork/mode/#{execute_mode}" if execute_mode.to_s != 'execute'
63
+ Random.srand(ENV['PORK_SEED'].to_i) if ENV['PORK_SEED']
64
+ execute_mode(ENV['PORK_MODE'].to_sym) if ENV['PORK_MODE']
65
+ require "pork/mode/#{execute_mode}" if execute_mode != :execute
66
66
  seed
67
67
  trap
68
68
  run
@@ -1,4 +1,4 @@
1
1
 
2
2
  module Pork
3
- VERSION = '1.1.1'
3
+ VERSION = '1.1.2'
4
4
  end
@@ -1,9 +1,9 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: pork 1.1.1 ruby lib
2
+ # stub: pork 1.1.2 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "pork"
6
- s.version = "1.1.1"
6
+ s.version = "1.1.2"
7
7
 
8
8
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
9
9
  s.require_paths = ["lib"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pork
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lin Jen-Shin (godfat)