enviro 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -24,7 +24,7 @@ module Enviro
24
24
  if @_configuration_path_str
25
25
  @_configuration_path ||= @_configuration_path_str
26
26
  else
27
- @_configuration_path ||= (ENV[self.configuration_path_env]||'enviro.yml')
27
+ @_configuration_path ||= (ENV[configuration_path_env]||'enviro.yml')
28
28
  end
29
29
  end
30
30
 
@@ -1,3 +1,3 @@
1
1
  module Enviro
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -72,6 +72,10 @@ describe Enviro::Configuration do
72
72
  TestEnviroConfiguration.configuration_path_env.should == 'CUSTOM_PATH'
73
73
  end
74
74
 
75
+ it "should look in the right place for its configuration file" do
76
+ TestEnviroConfiguration.configuration_path.should == ENV['CUSTOM_PATH']
77
+ end
78
+
75
79
  end
76
80
 
77
81
  context "with path specified in enviro configuration itself" do
@@ -1,7 +1,7 @@
1
1
  require 'spec_helper'
2
2
 
3
3
  describe Enviro::VERSION do
4
- it "should be 0.0.1" do
5
- Enviro::VERSION.should == '0.0.1'
4
+ it "should be 0.0.4" do
5
+ Enviro::VERSION.should == '0.0.4'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enviro
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -14,7 +14,7 @@ default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: cucumber
17
- requirement: &17235500 !ruby/object:Gem::Requirement
17
+ requirement: &19642440 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: '0'
23
23
  type: :development
24
24
  prerelease: false
25
- version_requirements: *17235500
25
+ version_requirements: *19642440
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: rspec
28
- requirement: &17235080 !ruby/object:Gem::Requirement
28
+ requirement: &19642020 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ! '>='
@@ -33,10 +33,10 @@ dependencies:
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
- version_requirements: *17235080
36
+ version_requirements: *19642020
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: autotest-standalone
39
- requirement: &17234660 !ruby/object:Gem::Requirement
39
+ requirement: &19641600 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ! '>='
@@ -44,10 +44,10 @@ dependencies:
44
44
  version: '0'
45
45
  type: :development
46
46
  prerelease: false
47
- version_requirements: *17234660
47
+ version_requirements: *19641600
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: autotest-growl
50
- requirement: &17234240 !ruby/object:Gem::Requirement
50
+ requirement: &19641180 !ruby/object:Gem::Requirement
51
51
  none: false
52
52
  requirements:
53
53
  - - ! '>='
@@ -55,10 +55,10 @@ dependencies:
55
55
  version: '0'
56
56
  type: :development
57
57
  prerelease: false
58
- version_requirements: *17234240
58
+ version_requirements: *19641180
59
59
  - !ruby/object:Gem::Dependency
60
60
  name: simplecov
61
- requirement: &17233820 !ruby/object:Gem::Requirement
61
+ requirement: &19640760 !ruby/object:Gem::Requirement
62
62
  none: false
63
63
  requirements:
64
64
  - - ! '>='
@@ -66,10 +66,10 @@ dependencies:
66
66
  version: '0'
67
67
  type: :development
68
68
  prerelease: false
69
- version_requirements: *17233820
69
+ version_requirements: *19640760
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: ruby-debug19
72
- requirement: &17233400 !ruby/object:Gem::Requirement
72
+ requirement: &19640340 !ruby/object:Gem::Requirement
73
73
  none: false
74
74
  requirements:
75
75
  - - ! '>='
@@ -77,7 +77,7 @@ dependencies:
77
77
  version: '0'
78
78
  type: :development
79
79
  prerelease: false
80
- version_requirements: *17233400
80
+ version_requirements: *19640340
81
81
  description: ! ' Add rails like application wide environment configuration, logging
82
82
  and more. '
83
83
  email: