motion-env 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +2 -2
- data/Rakefile +1 -0
- data/lib/motion-env/builder.rb +1 -1
- data/motion-env.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5bf66e693100426c4a02c07638761fa6f9c80645
|
4
|
+
data.tar.gz: bea8c0a65ac7885d4f89074c50ee1e4bdbe44cc2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a0f2a39b0297d75577431ad5709f9778dd631a741956afb3a9b275881056eb5892a05875fc6c680509913d8879eeb2c435d42b5baa49ee58a363a3b0d3ed3ed
|
7
|
+
data.tar.gz: 91bc47b9478f50599458213d27d5de1e8025c3f30de12cea521bdc04ef701d200d0727d9588dd702ff4a0374013e1289ea75ca056696de29fd3e2a5248430f34
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -28,7 +28,7 @@ In your app:
|
|
28
28
|
=> 3
|
29
29
|
> ENV['bool']
|
30
30
|
=> false
|
31
|
-
|
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
data/lib/motion-env/builder.rb
CHANGED
@@ -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
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.
|
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:
|
11
|
+
date: 2014-02-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|