motion-env 0.0.1 → 0.0.2

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,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5e7939f4f64183ce081230914ff2af9c0a19b905
4
- data.tar.gz: 4db4365eade8e759878f088255ff6c4a82ea9807
3
+ metadata.gz: 5bf66e693100426c4a02c07638761fa6f9c80645
4
+ data.tar.gz: bea8c0a65ac7885d4f89074c50ee1e4bdbe44cc2
5
5
  SHA512:
6
- metadata.gz: a5a30de7157ebb32fa8f2aba8b2e6a37eff27a48cd3b41e732f4adb3074a8a7338b2c759fa7400a3fefda985893e287bf11a3ea4ccd41e4b16939bf579af54ff
7
- data.tar.gz: 1ece939c2823090bb9a0f37c58c2801f8b78e776cbacc89e8224a5ac6317acb43106fc1016f8abe795d5ad98b48fba8dc639cc42b4fcab21bad3b29a2f4cbdf5
6
+ metadata.gz: 4a0f2a39b0297d75577431ad5709f9778dd631a741956afb3a9b275881056eb5892a05875fc6c680509913d8879eeb2c435d42b5baa49ee58a363a3b0d3ed3ed
7
+ data.tar.gz: 91bc47b9478f50599458213d27d5de1e8025c3f30de12cea521bdc04ef701d200d0727d9588dd702ff4a0374013e1289ea75ca056696de29fd3e2a5248430f34
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- motion-env (0.0.1)
4
+ motion-env (0.0.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -28,7 +28,7 @@ In your app:
28
28
  => 3
29
29
  > ENV['bool']
30
30
  => false
31
- (main)> ENV['hash']
31
+ > ENV['hash']
32
32
  => {:herp=>"derp"}
33
33
  > ENV['array']
34
34
  => [1, 2, 3]
@@ -70,4 +70,4 @@ Big thanks to [motion-my_env](https://github.com/ainame/motion-my_env) and [@ain
70
70
 
71
71
  [Clay Allsopp](http://clayallsopp.com/)
72
72
  - [clay@usepropeller.com](mailto:clay@usepropeller.com)
73
- - [@clayallsopp](https://twitter.com/clayallsopp)
73
+ - [@clayallsopp](https://twitter.com/clayallsopp)
data/Rakefile CHANGED
@@ -17,6 +17,7 @@ Motion::Project::App.setup do |app|
17
17
  app.name = 'motion-env'
18
18
 
19
19
  app.ENV['hash'] = {herp: "derp"}
20
+ app.ENV['empty_hash'] = {}
20
21
  app.env['string'] = "Sup dog"
21
22
  app.env["int"] = 3
22
23
  app.env["bool"] = false
@@ -19,7 +19,7 @@ end
19
19
  config_env.each do |key, value|
20
20
  dump_value = value
21
21
  if !value.is_a?(String)
22
- dump_value = MARSHAL_SIGIL + Marshal.dump(value)
22
+ dump_value = MARSHAL_SIGIL + Marshal.dump(value).strip
23
23
  end
24
24
  f.write "ENV['#{key.to_s}'] = '#{dump_value}'\n"
25
25
  end
data/motion-env.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "motion-env"
5
- s.version = "0.0.1"
5
+ s.version = "0.0.2"
6
6
  s.authors = ["Clay Allsopp"]
7
7
  s.email = ["clay@usepropeller.com"]
8
8
  s.homepage = "https://github.com/usepropeller/motion-env"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: motion-env
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Clay Allsopp
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-10-01 00:00:00.000000000 Z
11
+ date: 2014-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake