figaro 0.6.2 → 0.6.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 +8 -8
- data/README.md +0 -2
- data/figaro.gemspec +2 -1
- data/gemfiles/rails30.gemfile +0 -2
- data/gemfiles/rails31.gemfile +0 -2
- data/gemfiles/rails32.gemfile +0 -2
- data/gemfiles/rails40.gemfile +0 -2
- data/lib/figaro/tasks.rb +6 -0
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZTFhMzU1YjQwOWZjNTBiNWFhMjlkNzM3MWJkZWJjMDE3YjliZDJmNQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NmFjZDczZTNmOWUzN2YzMDM4YzVhOWViNGQxMjhjNDA2OWY4M2Q0NQ==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZWNkODkxOGI2ZmY1ZTE2MDgwYmMwMGNlNmI4MTczMDg0YmFjN2UwNjlmNGNl
|
10
|
+
NjkxZjRkYjM2ZTczNmE3YzEzZGJhZGFjMzczZjM1NmI1YmQwMDk3MjFlNTc5
|
11
|
+
ZjBiYTRiZDlkMzM0OTEwZTQwYmYxMWJmYWVkY2EwMjI3YWI0MWQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MGRhZDkyZjQxZTdkZjYxNjk0NmJiYTU0NGRmM2IzNTJjMzY2MmQzNzkwODMw
|
14
|
+
NjIwOTk3MTI2N2M2NzgwZDEwMDQ0MTViYzdjZWZhNTVhZDIyNjRjOWY5OWJi
|
15
|
+
YTY2NjY0YzMyMmNkNDQ1NDFlYWY1MmE3N2Y3N2NkZDU1MTcwZjY=
|
data/README.md
CHANGED
@@ -17,8 +17,6 @@ Figaro provides a clean and simple way to configure your app and keep the privat
|
|
17
17
|
|
18
18
|
## How does it work?
|
19
19
|
|
20
|
-
It works really well.
|
21
|
-
|
22
20
|
There are a few similar solutions out there, and a lot of homegrown attempts. Most namespace your configuration under a `Config` (or similar) namespace. That's fine, but there's already a place to describe the application environment… `ENV`!
|
23
21
|
|
24
22
|
`ENV` is a collection of simple string key/value pairs and it works just great for application configuration.
|
data/figaro.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |gem|
|
4
4
|
gem.name = "figaro"
|
5
|
-
gem.version = "0.6.
|
5
|
+
gem.version = "0.6.3"
|
6
6
|
|
7
7
|
gem.authors = ["Steve Richert"]
|
8
8
|
gem.email = ["steve.richert@gmail.com"]
|
@@ -11,6 +11,7 @@ Gem::Specification.new do |gem|
|
|
11
11
|
gem.homepage = "https://github.com/laserlemon/figaro"
|
12
12
|
gem.license = "MIT"
|
13
13
|
|
14
|
+
gem.add_dependency "bundler", "~> 1.0"
|
14
15
|
gem.add_dependency "rails", ">= 3", "< 5"
|
15
16
|
|
16
17
|
gem.files = `git ls-files`.split($\)
|
data/gemfiles/rails30.gemfile
CHANGED
data/gemfiles/rails31.gemfile
CHANGED
data/gemfiles/rails32.gemfile
CHANGED
data/gemfiles/rails40.gemfile
CHANGED
data/lib/figaro/tasks.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
require "bundler"
|
2
|
+
|
1
3
|
module Figaro
|
2
4
|
module Tasks
|
3
5
|
class Heroku < Struct.new(:app)
|
@@ -17,6 +19,10 @@ module Figaro
|
|
17
19
|
with_app = app ? " --app #{app}" : ""
|
18
20
|
`heroku #{command}#{with_app}`
|
19
21
|
end
|
22
|
+
|
23
|
+
def `(command)
|
24
|
+
Bundler.with_clean_env { super }
|
25
|
+
end
|
20
26
|
end
|
21
27
|
end
|
22
28
|
end
|
metadata
CHANGED
@@ -1,15 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: figaro
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steve Richert
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-03-
|
11
|
+
date: 2013-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ~>
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.0'
|
13
27
|
- !ruby/object:Gem::Dependency
|
14
28
|
name: rails
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|