enviro 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/enviro.gemspec CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |s|
8
8
  s.platform = Gem::Platform::RUBY
9
9
  s.authors = ["Bram Swenson"]
10
10
  s.email = ["bram@craniumisajar.com"]
11
- s.homepage = "http://github.com/bramswenson/enviro"
11
+ s.homepage = ""
12
12
  s.summary = %q{ Add rails like application wide environment configuration, logging and more. }
13
13
  s.description = %q{ Add rails like application wide environment configuration, logging and more. }
14
14
 
@@ -1,3 +1,3 @@
1
1
  module Enviro
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
data/lib/enviro.rb CHANGED
@@ -1,5 +1,3 @@
1
- require "bundler/setup"
2
- Bundler.require
3
1
  require 'forwardable'
4
2
 
5
3
  module Enviro
@@ -12,4 +12,15 @@ describe Enviro::Environate do
12
12
  end
13
13
  end
14
14
 
15
+ context "the extended module" do
16
+
17
+ context "should respond to" do
18
+ %w( environment configuration logger).each do |meth|
19
+ it "#{meth}" do
20
+ EnviroModule.should respond_to(meth.to_sym)
21
+ end
22
+ end
23
+ end
24
+ end
25
+
15
26
  end
data/spec/spec_helper.rb CHANGED
@@ -5,3 +5,6 @@ class EnviroMe
5
5
  include Enviro::Environate
6
6
  end
7
7
 
8
+ module EnviroModule
9
+ include Enviro::Environate
10
+ 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.1
4
+ version: 0.0.2
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: &20410940 !ruby/object:Gem::Requirement
17
+ requirement: &17892580 !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: *20410940
25
+ version_requirements: *17892580
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: rspec
28
- requirement: &20442280 !ruby/object:Gem::Requirement
28
+ requirement: &17892160 !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: *20442280
36
+ version_requirements: *17892160
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: autotest-standalone
39
- requirement: &20441860 !ruby/object:Gem::Requirement
39
+ requirement: &17891740 !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: *20441860
47
+ version_requirements: *17891740
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: autotest-growl
50
- requirement: &20441440 !ruby/object:Gem::Requirement
50
+ requirement: &17891320 !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: *20441440
58
+ version_requirements: *17891320
59
59
  - !ruby/object:Gem::Dependency
60
60
  name: simplecov
61
- requirement: &20441020 !ruby/object:Gem::Requirement
61
+ requirement: &17890900 !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: *20441020
69
+ version_requirements: *17890900
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: ruby-debug19
72
- requirement: &20440600 !ruby/object:Gem::Requirement
72
+ requirement: &17890480 !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: *20440600
80
+ version_requirements: *17890480
81
81
  description: ! ' Add rails like application wide environment configuration, logging
82
82
  and more. '
83
83
  email:
@@ -114,7 +114,7 @@ files:
114
114
  - tasks/default.rake
115
115
  - tasks/rspec.rake
116
116
  has_rdoc: true
117
- homepage: http://github.com/bramswenson/enviro
117
+ homepage: ''
118
118
  licenses: []
119
119
  post_install_message:
120
120
  rdoc_options: []