fred 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -1,7 +1,7 @@
1
1
  require 'rubygems'
2
2
  require 'rake'
3
3
  require 'rake/testtask'
4
- require 'rake/rdoctask'
4
+ require 'rdoc/task'
5
5
 
6
6
  begin
7
7
  require 'jeweler'
@@ -14,6 +14,7 @@ begin
14
14
  gem.authors = ["Johnny Khai Nguyen"]
15
15
 
16
16
  gem.add_dependency('httparty', '>= 0.5.0')
17
+ gem.add_dependency('hashie', '>= 2.0.5')
17
18
  end
18
19
  Jeweler::GemcutterTasks.new
19
20
  rescue LoadError
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.2.1
@@ -1,65 +1,61 @@
1
1
  # Generated by jeweler
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
- s.name = %q{fred}
8
- s.version = "0.2.0"
7
+ s.name = "fred"
8
+ s.version = "0.2.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Johnny Khai Nguyen"]
12
- s.date = %q{2010-08-12}
13
- s.description = %q{Ruby wrapper for the St. Louis Federal Reserve FRED API}
14
- s.email = %q{johnnyn@gmail.com}
12
+ s.date = "2013-06-21"
13
+ s.description = "Ruby wrapper for the St. Louis Federal Reserve FRED API"
14
+ s.email = "johnnyn@gmail.com"
15
15
  s.extra_rdoc_files = [
16
16
  "README.md"
17
17
  ]
18
18
  s.files = [
19
19
  "MIT-LICENSE",
20
- "README.md",
21
- "Rakefile",
22
- "VERSION",
23
- "fred.gemspec",
24
- "generators/fred/USAGE",
25
- "generators/fred/fred_generator.rb",
26
- "init.rb",
27
- "install.rb",
28
- "lib/fred.rb",
29
- "lib/fred/client.rb",
30
- "pkg/fred-0.1.0.gem",
31
- "tasks/fred_tasks.rake",
32
- "test/fixtures/category.xml",
33
- "test/fixtures/release.xml",
34
- "test/fixtures/releases.xml",
35
- "test/fixtures/series.xml",
36
- "test/fixtures/source.xml",
37
- "test/fixtures/sources.xml",
38
- "test/fred_test.rb",
39
- "test/test_helper.rb",
40
- "uninstall.rb"
41
- ]
42
- s.homepage = %q{http://github.com/phuphighter/fred}
43
- s.rdoc_options = ["--charset=UTF-8"]
44
- s.require_paths = ["lib"]
45
- s.rubygems_version = %q{1.3.6}
46
- s.summary = %q{Ruby wrapper for the St. Louis Federal Reserve FRED API}
47
- s.test_files = [
20
+ "README.md",
21
+ "Rakefile",
22
+ "VERSION",
23
+ "fred.gemspec",
24
+ "generators/fred/USAGE",
25
+ "generators/fred/fred_generator.rb",
26
+ "init.rb",
27
+ "install.rb",
28
+ "lib/fred.rb",
29
+ "lib/fred/client.rb",
30
+ "tasks/fred_tasks.rake",
31
+ "test/fixtures/category.xml",
32
+ "test/fixtures/release.xml",
33
+ "test/fixtures/releases.xml",
34
+ "test/fixtures/series.xml",
35
+ "test/fixtures/source.xml",
36
+ "test/fixtures/sources.xml",
48
37
  "test/fred_test.rb",
49
- "test/test_helper.rb"
38
+ "test/test_helper.rb",
39
+ "uninstall.rb"
50
40
  ]
41
+ s.homepage = "http://github.com/phuphighter/fred"
42
+ s.require_paths = ["lib"]
43
+ s.rubygems_version = "1.8.15"
44
+ s.summary = "Ruby wrapper for the St. Louis Federal Reserve FRED API"
51
45
 
52
46
  if s.respond_to? :specification_version then
53
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
54
47
  s.specification_version = 3
55
48
 
56
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
49
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
57
50
  s.add_runtime_dependency(%q<httparty>, [">= 0.5.0"])
51
+ s.add_runtime_dependency(%q<hashie>, [">= 2.0.5"])
58
52
  else
59
53
  s.add_dependency(%q<httparty>, [">= 0.5.0"])
54
+ s.add_dependency(%q<hashie>, [">= 2.0.5"])
60
55
  end
61
56
  else
62
57
  s.add_dependency(%q<httparty>, [">= 0.5.0"])
58
+ s.add_dependency(%q<hashie>, [">= 2.0.5"])
63
59
  end
64
60
  end
65
61
 
@@ -27,7 +27,7 @@ def fixture_file(filename)
27
27
  end
28
28
 
29
29
  def fred_url(url, options={})
30
- url =~ /^http/ ? url : "http://api2.citysearch.com#{url}"
30
+ url =~ /^http/ ? url : "http://api.stlouisfed.org/fred#{url}"
31
31
  end
32
32
 
33
33
  def stub_get(url, filename, options={})
metadata CHANGED
@@ -1,12 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fred
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 0
7
- - 2
8
- - 0
9
- version: 0.2.0
4
+ prerelease:
5
+ version: 0.2.1
10
6
  platform: ruby
11
7
  authors:
12
8
  - Johnny Khai Nguyen
@@ -14,23 +10,30 @@ autorequire:
14
10
  bindir: bin
15
11
  cert_chain: []
16
12
 
17
- date: 2010-08-12 00:00:00 -05:00
18
- default_executable:
13
+ date: 2013-06-21 00:00:00 Z
19
14
  dependencies:
20
15
  - !ruby/object:Gem::Dependency
21
16
  name: httparty
22
17
  prerelease: false
23
18
  requirement: &id001 !ruby/object:Gem::Requirement
19
+ none: false
24
20
  requirements:
25
21
  - - ">="
26
22
  - !ruby/object:Gem::Version
27
- segments:
28
- - 0
29
- - 5
30
- - 0
31
23
  version: 0.5.0
32
24
  type: :runtime
33
25
  version_requirements: *id001
26
+ - !ruby/object:Gem::Dependency
27
+ name: hashie
28
+ prerelease: false
29
+ requirement: &id002 !ruby/object:Gem::Requirement
30
+ none: false
31
+ requirements:
32
+ - - ">="
33
+ - !ruby/object:Gem::Version
34
+ version: 2.0.5
35
+ type: :runtime
36
+ version_requirements: *id002
34
37
  description: Ruby wrapper for the St. Louis Federal Reserve FRED API
35
38
  email: johnnyn@gmail.com
36
39
  executables: []
@@ -51,7 +54,6 @@ files:
51
54
  - install.rb
52
55
  - lib/fred.rb
53
56
  - lib/fred/client.rb
54
- - pkg/fred-0.1.0.gem
55
57
  - tasks/fred_tasks.rake
56
58
  - test/fixtures/category.xml
57
59
  - test/fixtures/release.xml
@@ -62,36 +64,32 @@ files:
62
64
  - test/fred_test.rb
63
65
  - test/test_helper.rb
64
66
  - uninstall.rb
65
- has_rdoc: true
66
67
  homepage: http://github.com/phuphighter/fred
67
68
  licenses: []
68
69
 
69
70
  post_install_message:
70
- rdoc_options:
71
- - --charset=UTF-8
71
+ rdoc_options: []
72
+
72
73
  require_paths:
73
74
  - lib
74
75
  required_ruby_version: !ruby/object:Gem::Requirement
76
+ none: false
75
77
  requirements:
76
78
  - - ">="
77
79
  - !ruby/object:Gem::Version
78
- segments:
79
- - 0
80
80
  version: "0"
81
81
  required_rubygems_version: !ruby/object:Gem::Requirement
82
+ none: false
82
83
  requirements:
83
84
  - - ">="
84
85
  - !ruby/object:Gem::Version
85
- segments:
86
- - 0
87
86
  version: "0"
88
87
  requirements: []
89
88
 
90
89
  rubyforge_project:
91
- rubygems_version: 1.3.6
90
+ rubygems_version: 1.8.15
92
91
  signing_key:
93
92
  specification_version: 3
94
93
  summary: Ruby wrapper for the St. Louis Federal Reserve FRED API
95
- test_files:
96
- - test/fred_test.rb
97
- - test/test_helper.rb
94
+ test_files: []
95
+
Binary file