chimps 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +16 -0
- data/Gemfile.lock +24 -0
- data/VERSION +1 -1
- data/lib/chimps/utils/error.rb +1 -1
- data/lib/chimps.rb +1 -0
- metadata +6 -4
data/Gemfile
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
source :gemcutter
|
3
|
+
gem "json"
|
4
|
+
gem "configliere"
|
5
|
+
gem 'rest-client', '>= 1.6.1', :require => 'restclient'
|
6
|
+
|
7
|
+
group :test do
|
8
|
+
gem "rspec", "1.3.0", :require => 'spec'
|
9
|
+
end
|
10
|
+
|
11
|
+
group :upload do
|
12
|
+
gem 'imw', '>= 0.2.11'
|
13
|
+
gem 'activesupport', '2.3.5', :require => 'active_support'
|
14
|
+
gem 'addressable', :require => 'addressable/uri'
|
15
|
+
end
|
16
|
+
|
data/Gemfile.lock
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
GEM
|
2
|
+
remote: http://rubygems.org/
|
3
|
+
specs:
|
4
|
+
activesupport (2.3.5)
|
5
|
+
addressable (2.2.2)
|
6
|
+
configliere (0.1.1)
|
7
|
+
imw (0.2.11)
|
8
|
+
json (1.4.6)
|
9
|
+
mime-types (1.16)
|
10
|
+
rest-client (1.6.1)
|
11
|
+
mime-types (>= 1.16)
|
12
|
+
rspec (1.3.0)
|
13
|
+
|
14
|
+
PLATFORMS
|
15
|
+
ruby
|
16
|
+
|
17
|
+
DEPENDENCIES
|
18
|
+
activesupport (= 2.3.5)
|
19
|
+
addressable
|
20
|
+
configliere
|
21
|
+
imw (>= 0.2.11)
|
22
|
+
json
|
23
|
+
rest-client (>= 1.6.1)
|
24
|
+
rspec (= 1.3.0)
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.1
|
data/lib/chimps/utils/error.rb
CHANGED
@@ -9,7 +9,7 @@ module Chimps
|
|
9
9
|
# Raised when the user hasn't specified any API credentials or the
|
10
10
|
# server rejects the user's API credentials.
|
11
11
|
#
|
12
|
-
# Roughly corresponds to HTTP status code 401.
|
12
|
+
# Roughly corresponds to HTTP status code 401/403.
|
13
13
|
AuthenticationError = Class.new(Error)
|
14
14
|
|
15
15
|
# Raised when the Infochimps server response is unexpected or
|
data/lib/chimps.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chimps
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 1
|
10
|
+
version: 0.2.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Dhruv Bansal
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-
|
18
|
+
date: 2010-11-15 00:00:00 -06:00
|
19
19
|
default_executable: chimps
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -109,6 +109,8 @@ files:
|
|
109
109
|
- .document
|
110
110
|
- .gitignore
|
111
111
|
- CHANGELOG.textile
|
112
|
+
- Gemfile
|
113
|
+
- Gemfile.lock
|
112
114
|
- LICENSE
|
113
115
|
- README.rdoc
|
114
116
|
- Rakefile
|