datacatalog 0.4.21 → 0.4.22

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
- datacatalog (0.4.20)
4
+ datacatalog (0.4.21)
5
5
  activesupport (~> 3.0.0)
6
6
  httparty (~> 0.6.1)
7
7
  mash (~> 0.1.1)
data/Rakefile CHANGED
@@ -4,7 +4,7 @@ begin
4
4
  require 'jeweler'
5
5
  Jeweler::Tasks.new do |gem|
6
6
  gem.name = "datacatalog"
7
- gem.version = '0.4.21'
7
+ gem.version = '0.4.22'
8
8
  gem.summary = %Q{Client for the National Data Catalog API}
9
9
  gem.description = %Q{A Ruby client library for the National Data Catalog API}
10
10
  gem.email = "luigi@sunlightfoundation.com"
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{datacatalog}
8
- s.version = "0.4.21"
8
+ s.version = "0.4.22"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Luigi Montanez", "David James"]
12
- s.date = %q{2010-10-03}
12
+ s.date = %q{2010-10-04}
13
13
  s.description = %q{A Ruby client library for the National Data Catalog API}
14
14
  s.email = %q{luigi@sunlightfoundation.com}
15
15
  s.extra_rdoc_files = [
@@ -37,11 +37,13 @@ module DataCatalog
37
37
  end
38
38
 
39
39
  def self.with_key(temp_key)
40
+ result = nil
40
41
  original_key = DataCatalog.api_key
41
42
  DataCatalog.api_key = temp_key
42
- yield
43
+ result = yield
43
44
  ensure
44
45
  DataCatalog.api_key = original_key
46
+ result
45
47
  end
46
48
 
47
49
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: datacatalog
3
3
  version: !ruby/object:Gem::Version
4
- hash: 37
4
+ hash: 35
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 4
9
- - 21
10
- version: 0.4.21
9
+ - 22
10
+ version: 0.4.22
11
11
  platform: ruby
12
12
  authors:
13
13
  - Luigi Montanez
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2010-10-03 00:00:00 -04:00
19
+ date: 2010-10-04 00:00:00 -04:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency