envious 0.1.0 → 0.1.1

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.
data/.gitignore CHANGED
@@ -15,5 +15,5 @@ spec/reports
15
15
  test/tmp
16
16
  test/version_tmp
17
17
  tmp
18
- .rbenv-version
19
- .DS_STORE
18
+ .DS_STORE
19
+ vendor/bundle
@@ -0,0 +1 @@
1
+ 1.9.3-p286
@@ -1,12 +1,16 @@
1
1
  Gem::Specification.new do |gem|
2
2
  gem.name = "envious"
3
- gem.version = "0.1.0"
3
+ gem.version = "0.1.1"
4
4
  gem.authors = ["Ryan Nielson"]
5
5
  gem.email = ["ryan.nielson@gmail.com"]
6
6
  gem.description = %q{Easy Ruby on Rails application and environment configuration.}
7
7
  gem.summary = %q{Easy Ruby on Rails application and environment configuration using YAML and ENV.}
8
8
  gem.homepage = "http://github.com/ryannielson/envious"
9
9
 
10
+ gem.add_dependency "rails", "~> 3.0"
11
+
12
+ gem.add_development_dependency "rspec", "~> 2.0"
13
+
10
14
  gem.files = `git ls-files`.split($/)
11
15
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
12
16
  gem.require_paths = ["lib"]
@@ -25,7 +25,7 @@ module Envious
25
25
  end
26
26
 
27
27
  def environment_vars
28
- yaml.fetch(environment)
28
+ yaml.fetch(environment, {})
29
29
  end
30
30
 
31
31
  def add_to_environment(hash)
@@ -0,0 +1,17 @@
1
+ # This file was generated by the `rspec --init` command. Conventionally, all
2
+ # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
3
+ # Require this file using `require "spec_helper"` to ensure that it is only
4
+ # loaded once.
5
+ #
6
+ # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
7
+ RSpec.configure do |config|
8
+ config.treat_symbols_as_metadata_keys_with_true_values = true
9
+ config.run_all_when_everything_filtered = true
10
+ config.filter_run :focus
11
+
12
+ # Run specs in random order to surface order dependencies. If you find an
13
+ # order dependency and want to debug it, you can fix the order by providing
14
+ # the seed, which is printed after each run.
15
+ # --seed 1234
16
+ config.order = 'random'
17
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: envious
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,8 +9,40 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-19 00:00:00.000000000 Z
13
- dependencies: []
12
+ date: 2012-12-20 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rails
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: '3.0'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: '3.0'
30
+ - !ruby/object:Gem::Dependency
31
+ name: rspec
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ~>
36
+ - !ruby/object:Gem::Version
37
+ version: '2.0'
38
+ type: :development
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: '2.0'
14
46
  description: Easy Ruby on Rails application and environment configuration.
15
47
  email:
16
48
  - ryan.nielson@gmail.com
@@ -19,6 +51,7 @@ extensions: []
19
51
  extra_rdoc_files: []
20
52
  files:
21
53
  - .gitignore
54
+ - .rbenv-version
22
55
  - Gemfile
23
56
  - LICENSE.txt
24
57
  - README.md
@@ -28,6 +61,7 @@ files:
28
61
  - lib/envious/railtie.rb
29
62
  - lib/generators/envious/setup_generator.rb
30
63
  - lib/generators/envious/templates/environment_vars.yml
64
+ - spec/spec_helper.rb
31
65
  homepage: http://github.com/ryannielson/envious
32
66
  licenses: []
33
67
  post_install_message:
@@ -53,4 +87,5 @@ signing_key:
53
87
  specification_version: 3
54
88
  summary: Easy Ruby on Rails application and environment configuration using YAML and
55
89
  ENV.
56
- test_files: []
90
+ test_files:
91
+ - spec/spec_helper.rb