utilio 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- utilio (0.0.3)
4
+ utilio (0.0.4)
5
5
 
6
6
  GEM
7
7
  remote: http://rubygems.org/
@@ -23,5 +23,5 @@ PLATFORMS
23
23
 
24
24
  DEPENDENCIES
25
25
  bundler (>= 1.0.0.rc.5)
26
- rspec (>= 2.0.0.beta.rc)
26
+ rspec (>= 2.0.0.rc)
27
27
  utilio!
@@ -5,8 +5,8 @@ module Utilio
5
5
  class << self
6
6
 
7
7
  DEFAULT_OPTS = {
8
- environment: nil,
9
- file: 'config/database.yml'
8
+ :environment => nil,
9
+ :file => 'config/database.yml'
10
10
  }
11
11
 
12
12
  # Load the configuration file from your application root
@@ -1,3 +1,3 @@
1
1
  module Utilio
2
- VERSION = '0.0.3'
2
+ VERSION = '0.0.4'
3
3
  end
@@ -10,7 +10,7 @@ describe Utilio::Database do
10
10
 
11
11
  it "should allow you to load a db configuration" do
12
12
  lambda {
13
- Utilio::Database.config(file: config_file).should_not be_nil
13
+ Utilio::Database.config(:file => config_file).should_not be_nil
14
14
  }.should_not raise_error
15
15
  end
16
16
 
@@ -20,11 +20,11 @@ describe Utilio::Database do
20
20
 
21
21
  it "should load the correct env data" do
22
22
  %w( development test production ).each do |env|
23
- Utilio::Database.config(environment: env)['database'].should == env
23
+ Utilio::Database.config(:environment => env)['database'].should == env
24
24
  end
25
25
 
26
26
  %w( bogus not_there ).each do |env|
27
- Utilio::Database.config(environment: env).should be_nil
27
+ Utilio::Database.config(:environment => env).should be_nil
28
28
  end
29
29
  end
30
30
 
@@ -16,7 +16,7 @@ Gem::Specification.new do |s|
16
16
  s.rubyforge_project = 'utilio'
17
17
 
18
18
  s.add_development_dependency 'bundler', '>= 1.0.0.rc.5'
19
- s.add_development_dependency 'rspec', '>= 2.0.0.beta.rc'
19
+ s.add_development_dependency 'rspec', '>= 2.0.0.rc'
20
20
 
21
21
  s.files = `git ls-files`.split("\n")
22
22
  s.require_path = 'lib'
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 3
9
- version: 0.0.3
8
+ - 4
9
+ version: 0.0.4
10
10
  platform: ruby
11
11
  authors:
12
12
  - BJ Neilsen
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-10-05 00:00:00 -06:00
18
+ date: 2010-10-07 00:00:00 -06:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -47,9 +47,8 @@ dependencies:
47
47
  - 2
48
48
  - 0
49
49
  - 0
50
- - beta
51
50
  - rc
52
- version: 2.0.0.beta.rc
51
+ version: 2.0.0.rc
53
52
  type: :development
54
53
  version_requirements: *id002
55
54
  description: A general collection of application utilities for dealing with paths and active_record and security