heroku-env 0.0.3 → 0.1.0

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: aa122904c9efffa4a6203563cf19f7adeab9f122
4
- data.tar.gz: 82b3a4658cc13ed5c22d226b3a443f25b60c9f7e
3
+ metadata.gz: 4253a6532b120705e8f4278637b6e5a048256afc
4
+ data.tar.gz: e249486fd985d8b2de520f8dfe2c54cf6a1d07b4
5
5
  SHA512:
6
- metadata.gz: 9feea723fe84a1ecd9eebe34307cbfc7191a3a6e50477a468470a1b839ec163aff134bd2fe50b136c45d836c0ff35afe7ffcf34326a1c4957b2fdb904b1d40dd
7
- data.tar.gz: 50e76f22d0cf3c9b1551b9c0637c14a488c9c36d9eea2147de600296d14392ba297d2fa7675d4434e43c4cfd9833407642459582191ab5128a222841b9531cd1
6
+ metadata.gz: 1faf0464222282bbb8be884a510bba1435767344535925406495b2e10ce6c0046fbf0ea45f2125dc33011b6b9c658a42eaf8e494091c8932c2cb6f96207c95b1
7
+ data.tar.gz: f7f7c67ae27f60f105b0b0076e0942f89e2547979a2368ac14f786532f5915cf956590bbdb93a79c506b3661076ffb92cc147040b82f1e92a369d8b45fd7d350
@@ -42,3 +42,7 @@ module HerokuEnv
42
42
  ENV["AIRBRAKE_KEY"] ||= ENV["RAYGUN_APIKEY"] || ENV["ROLLBAR_ACCESS_TOKEN"] || ENV["APPENLIGHT_APIKEY"]
43
43
  end
44
44
  end
45
+
46
+ require "heroku-env/railtie" if defined?(Rails)
47
+
48
+ HerokuEnv.run
@@ -0,0 +1,13 @@
1
+ module HerokuEnv
2
+ class Railtie < Rails::Railtie
3
+ config.before_configuration { load }
4
+
5
+ def load
6
+ HerokuEnv.run
7
+ end
8
+
9
+ def self.load
10
+ instance.load
11
+ end
12
+ end
13
+ end
@@ -1,3 +1,3 @@
1
1
  module HerokuEnv
2
- VERSION = "0.0.3"
2
+ VERSION = "0.1.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: heroku-env
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefan Sundin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-06 00:00:00.000000000 Z
11
+ date: 2015-05-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -32,10 +32,8 @@ executables: []
32
32
  extensions: []
33
33
  extra_rdoc_files: []
34
34
  files:
35
- - Gemfile
36
- - Gemfile.lock
37
- - heroku-env.gemspec
38
35
  - lib/heroku-env.rb
36
+ - lib/heroku-env/railtie.rb
39
37
  - lib/heroku-env/version.rb
40
38
  homepage: https://github.com/stefansundin/heroku-env
41
39
  licenses: []
data/Gemfile DELETED
@@ -1,2 +0,0 @@
1
- source "https://rubygems.org"
2
- gemspec
@@ -1,16 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- heroku-env (0.0.3)
5
-
6
- GEM
7
- remote: https://rubygems.org/
8
- specs:
9
- rake (10.4.2)
10
-
11
- PLATFORMS
12
- ruby
13
-
14
- DEPENDENCIES
15
- heroku-env!
16
- rake (= 10.4.2)
@@ -1,20 +0,0 @@
1
- require File.expand_path("../lib/heroku-env/version", __FILE__)
2
-
3
- Gem::Specification.new do |s|
4
- s.name = "heroku-env"
5
- s.version = HerokuEnv::VERSION
6
- s.platform = Gem::Platform::RUBY
7
- s.authors = ["Stefan Sundin"]
8
- s.email = ["stefan@stefansundin.com"]
9
- s.homepage = "https://github.com/stefansundin/heroku-env"
10
- s.summary = "Don't worry about the environment."
11
- s.description = "This gem automatically promotes Heroku addons' environment settings. See the GitHub page for usage."
12
-
13
- s.required_rubygems_version = ">= 1.3.6"
14
-
15
- s.add_development_dependency "rake", "10.4.2"
16
-
17
- s.files = `git ls-files`.split("\n") - %w(.gitignore README.md Rakefile)
18
- s.executables = `git ls-files`.split("\n").map{|f| f =~ /^bin\/(.*)/ ? $1 : nil}.compact
19
- s.require_path = 'lib'
20
- end