easy_app_helper 1.0.7 → 1.0.8

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
  SHA1:
3
- metadata.gz: 977d7804e7e46cd53b44ea5587f02f3f6a085eb1
4
- data.tar.gz: 0cd1dca9156798a14d84e679e3db53dd5025212b
3
+ metadata.gz: b48b1a40cca25e007c8c9482b38bcc1ba7745c80
4
+ data.tar.gz: 5292526ca66ed1672d56a6263f3508b6d95c4b04
5
5
  SHA512:
6
- metadata.gz: c0f6a267e9155055177284f6790216f519e74fc7c7da221d368f33384eea2f3248f0eb5617bd14400b7b770a1dcdeca77092efde60fd7b4c85c00a57ddad6cd9
7
- data.tar.gz: 86d147b433243fa30559029539cdfd47d0b56d0b36dcfaf8784f2f1c830d65923b35a36285b0eaa39a8ad1f51729c3d9794f1a84454df1a2a7e552a093851c98
6
+ metadata.gz: 065768a14395a003b9af518d290331a55d70de2ee48e99ad10f9d74618da61a45b5f9e3487911f32662510f660c82636114dc9aa556ccb814427d008d51c75d1
7
+ data.tar.gz: ad52ae962932ecf91632c86c94bb8ae20c5e415ffd0ee798e3b11e3dda434aa5ba5daba2f1569945fa5fb1f287695ad1764e85a6363db13d2185bd25df21a80a
@@ -15,6 +15,10 @@ class EasyAppHelper::Core::Config::Places
15
15
  File.expand_path('../../etc', $PROGRAM_NAME)
16
16
  end
17
17
 
18
+ def possible_config_places key
19
+ POSSIBLE_PLACES[key]
20
+ end
21
+
18
22
  end
19
23
 
20
24
 
@@ -69,4 +73,6 @@ class EasyAppHelper::Core::Config::Places
69
73
  conf = CONF[RbConfig::CONFIG['target_os'].to_sym]
70
74
  conf.nil? ? DEFAULT : conf
71
75
  end
76
+
77
+
72
78
  end
@@ -6,5 +6,5 @@
6
6
  ################################################################################
7
7
 
8
8
  module EasyAppHelper
9
- EASY_APP_HELPER_VERSION = "1.0.7"
9
+ EASY_APP_HELPER_VERSION = "1.0.8"
10
10
  end
data/spec/config_spec.rb CHANGED
@@ -189,7 +189,10 @@ describe "The EasyAppHelper config object" do
189
189
 
190
190
  context "When a gem has its own :internal config file" do
191
191
  before(:all) do
192
- EasyAppHelper.config.script_filename = "test_internal"
192
+ pp = EasyAppHelper.config.class.const_get :POSSIBLE_PLACES
193
+ pp[:internal] = [File.expand_path('../../etc', __FILE__)]
194
+ EasyAppHelper.config.class.const_set :POSSIBLE_PLACES, pp
195
+ EasyAppHelper.config.script_filename = 'test_internal'
193
196
  end
194
197
 
195
198
  it "should take its data in account" do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: easy_app_helper
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.7
4
+ version: 1.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - L.Briais
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-10-27 00:00:00.000000000 Z
11
+ date: 2013-10-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler