biran 0.1.8 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a2899df8d26f43dff4f0b02faa88e392cb6bbae9cc09d45d069941ec01c578dc
4
- data.tar.gz: ab08ca47f5e366256e732b928cb0987036409d051bc45e1612eae066aeae3136
3
+ metadata.gz: fd1a9587486a601454672e7e3756f05f0e91f42000ab77f109d86eceb8c58729
4
+ data.tar.gz: d4b1c75531689dea324602cd28a4619002846af2e198eb9b7cd667329457232a
5
5
  SHA512:
6
- metadata.gz: eba5400620ab12da84098d634f078e568ba5b33b97cd2cff7a44d3566322dff32b512259880145fc8559fa6fd97bb11a4cf9ecce6a9c96ddd4d3914402236b25
7
- data.tar.gz: 281d530de1ee0f93a11fcc5030c66950715eff2f8cad295b5e08eb2c027e0438e4652b82928e7d35187a35ecf3f093590196593abb82b089e239365bc6173a04
6
+ metadata.gz: 94fdbc6e574f3616e4fa49a50cd17ca357dc8790eb1122eeef1d288847144f4c30ff6f7f6757716d44cd78f4d469d5e929bdfd79c01810bc309b3a72b32008cf
7
+ data.tar.gz: 5649a2ca6a258fe966aa4062cc07759597fb6f637ba7ee61929c32495243d9f2c181f812a65f86c40502d83daf406adf56b0e70073d862b6b74b0fcd2c4f8f58
data/README.md CHANGED
@@ -231,7 +231,7 @@ Availble in: environment, initializer, instance**
231
231
 
232
232
  Generally not needed to specify unless you are not using rails or do not want to use `Rails.env` for lookups in config blocks.
233
233
  You can set the app_env during instance creation by passing an environment string.
234
- The following example will use the default or any of the built in environment vairables(BIRAN_APP_ENV, RACK_ENV, RAILS_ENV) or fall back to default.
234
+ The following example will use the value of one of the built in environment variable found, checked in the following order: BIRAN_APP_ENV, RAILS_ENV, RACK_ENV. If one of the environment variables is not found, the default value will be used.
235
235
  ```
236
236
  config = Biran::Configurinator.new
237
237
  ```
@@ -20,7 +20,7 @@ module Biran
20
20
  end
21
21
 
22
22
  def app_env
23
- ENV['BIRAN_APP_ENV'] || ENV['RACK_ENV'] || ENV['RAILS_ENV'] || configuration.app_env
23
+ ENV['BIRAN_APP_ENV'] || ENV['RAILS_ENV'] || ENV['RACK_ENV'] || configuration.app_env
24
24
  end
25
25
 
26
26
  def app_base
@@ -1,3 +1,3 @@
1
1
  module Biran
2
- VERSION = '0.1.8'
2
+ VERSION = '0.1.9'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: biran
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - javierg
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2019-05-29 00:00:00.000000000 Z
13
+ date: 2019-07-24 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: railties