agcod 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.3
1
+ 0.0.4
@@ -1,15 +1,15 @@
1
1
  # Generated by jeweler
2
- # DO NOT EDIT THIS FILE
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{agcod}
8
- s.version = "0.0.3"
8
+ s.version = "0.0.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Dan Pickett"]
12
- s.date = %q{2009-11-05}
12
+ s.date = %q{2010-11-18}
13
13
  s.email = %q{dpickett@enlightsolutions.com}
14
14
  s.extra_rdoc_files = [
15
15
  "LICENSE",
@@ -53,7 +53,7 @@ Gem::Specification.new do |s|
53
53
  s.homepage = %q{http://github.com/dpickett/agcod}
54
54
  s.rdoc_options = ["--charset=UTF-8"]
55
55
  s.require_paths = ["lib"]
56
- s.rubygems_version = %q{1.3.5}
56
+ s.rubygems_version = %q{1.3.7}
57
57
  s.summary = %q{A Wrapper for Amazon Gift Cards On Demand}
58
58
  s.test_files = [
59
59
  "test/agcod/configuration_test.rb",
@@ -65,9 +65,10 @@ Gem::Specification.new do |s|
65
65
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
66
66
  s.specification_version = 3
67
67
 
68
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
68
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
69
69
  else
70
70
  end
71
71
  else
72
72
  end
73
73
  end
74
+
@@ -15,7 +15,7 @@ module Agcod
15
15
  if app_root
16
16
  @app_root = app_root
17
17
  else
18
- @app_root = RAILS_ROOT if defined?(RAILS_ROOT)
18
+ @app_root = Rails.root if defined?(Rails)
19
19
  end
20
20
 
21
21
  if @app_root.nil? ||
@@ -26,7 +26,7 @@ module Agcod
26
26
 
27
27
  config_file = File.read(config_filename)
28
28
 
29
- environment = RAILS_ENV if defined?(RAILS_ENV)
29
+ environment = Rails.env if defined?(Rails)
30
30
  environment = env if env
31
31
 
32
32
  @options = YAML.load(config_file)[environment]
metadata CHANGED
@@ -1,7 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: agcod
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ hash: 23
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 0
9
+ - 4
10
+ version: 0.0.4
5
11
  platform: ruby
6
12
  authors:
7
13
  - Dan Pickett
@@ -9,7 +15,7 @@ autorequire:
9
15
  bindir: bin
10
16
  cert_chain: []
11
17
 
12
- date: 2009-11-05 00:00:00 -05:00
18
+ date: 2010-11-18 00:00:00 -05:00
13
19
  default_executable:
14
20
  dependencies: []
15
21
 
@@ -66,21 +72,27 @@ rdoc_options:
66
72
  require_paths:
67
73
  - lib
68
74
  required_ruby_version: !ruby/object:Gem::Requirement
75
+ none: false
69
76
  requirements:
70
77
  - - ">="
71
78
  - !ruby/object:Gem::Version
79
+ hash: 3
80
+ segments:
81
+ - 0
72
82
  version: "0"
73
- version:
74
83
  required_rubygems_version: !ruby/object:Gem::Requirement
84
+ none: false
75
85
  requirements:
76
86
  - - ">="
77
87
  - !ruby/object:Gem::Version
88
+ hash: 3
89
+ segments:
90
+ - 0
78
91
  version: "0"
79
- version:
80
92
  requirements: []
81
93
 
82
94
  rubyforge_project:
83
- rubygems_version: 1.3.5
95
+ rubygems_version: 1.3.7
84
96
  signing_key:
85
97
  specification_version: 3
86
98
  summary: A Wrapper for Amazon Gift Cards On Demand