datacatalog 0.4.21 → 0.4.22
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/Rakefile +1 -1
- data/datacatalog.gemspec +2 -2
- data/lib/main.rb +3 -1
- metadata +4 -4
data/Gemfile.lock
CHANGED
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.
|
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"
|
data/datacatalog.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{datacatalog}
|
8
|
-
s.version = "0.4.
|
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-
|
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 = [
|
data/lib/main.rb
CHANGED
@@ -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:
|
4
|
+
hash: 35
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 4
|
9
|
-
-
|
10
|
-
version: 0.4.
|
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-
|
19
|
+
date: 2010-10-04 00:00:00 -04:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|