asin 0.6.2 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -3,3 +3,4 @@ pkg
3
3
  *.gem
4
4
  .DS_Store
5
5
  .bundle
6
+ .rvmrc
@@ -6,6 +6,7 @@ rvm:
6
6
  - rbx-2.0
7
7
  - ree
8
8
  - ruby-head
9
+ - jruby
9
10
  branches:
10
11
  only:
11
12
  - develop
@@ -1,10 +1,10 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- asin (0.6.2)
5
- crack (~> 0.1.8)
6
- hashie (~> 1.0.0)
7
- httpi (~> 0.9.5)
4
+ asin (0.7.0)
5
+ crack (~> 0.1)
6
+ hashie (~> 1.0)
7
+ httpi (~> 0.9)
8
8
 
9
9
  GEM
10
10
  remote: http://rubygems.org/
@@ -16,14 +16,14 @@ GEM
16
16
  rspec (~> 2.0)
17
17
  rspec-instafail (~> 0.1.8)
18
18
  ruby-progressbar (~> 0.0.10)
19
- hashie (1.0.0)
19
+ hashie (1.1.0)
20
20
  httpclient (2.2.1)
21
21
  httpi (0.9.5)
22
22
  rack
23
23
  rack (1.3.2)
24
24
  rake (0.9.2)
25
- rash (0.3.0)
26
- hashie (~> 1.0.0)
25
+ rash (0.3.1)
26
+ hashie (~> 1.1.0)
27
27
  rspec (2.6.0)
28
28
  rspec-core (~> 2.6.0)
29
29
  rspec-expectations (~> 2.6.0)
@@ -34,20 +34,21 @@ GEM
34
34
  rspec-instafail (0.1.8)
35
35
  rspec-mocks (2.6.0)
36
36
  ruby-progressbar (0.0.10)
37
- vcr (1.10.3)
38
- webmock (1.6.4)
39
- addressable (> 2.2.5, ~> 2.2)
37
+ vcr (1.11.3)
38
+ webmock (1.7.6)
39
+ addressable (~> 2.2, > 2.2.5)
40
40
  crack (>= 0.1.7)
41
41
 
42
42
  PLATFORMS
43
+ java
43
44
  ruby
44
45
 
45
46
  DEPENDENCIES
46
47
  asin!
47
- fuubar (~> 0.0.5)
48
- httpclient (~> 2.2.1)
49
- rake (~> 0.9.2)
50
- rash (~> 0.3.0)
51
- rspec (~> 2.6.0)
52
- vcr (~> 1.10.3)
53
- webmock (~> 1.6.4)
48
+ fuubar (~> 0.0)
49
+ httpclient (~> 2.2)
50
+ rake (~> 0.9)
51
+ rash (~> 0.3)
52
+ rspec (~> 2.6)
53
+ vcr (~> 1.10)
54
+ webmock (~> 1.6)
@@ -9,9 +9,17 @@ For more information on the REST calls, have a look at the whole Amazon E-Commer
9
9
 
10
10
  Have a look at the RDOC[http://rdoc.info/projects/phoet/asin] for this project, if you like browsing some docs.
11
11
 
12
- == Installation
12
+ The gem runs smoothly with Rails 3 and is tested against these rubies:
13
+
14
+ - 1.8.7
15
+ - 1.9.2
16
+ - rbx
17
+ - rbx-2.0
18
+ - ree
19
+ - ruby-head
20
+ - jruby
13
21
 
14
- The gem is tested against Ruby 1.9.2 / 1.8.7 and runs smoothly with Rails 3.
22
+ == Installation
15
23
 
16
24
  gem install asin
17
25
  gem install httpclient # optional, see HTTPI
@@ -19,17 +19,18 @@ Gem::Specification.new do |s|
19
19
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
20
20
  s.require_paths = ["lib"]
21
21
 
22
- s.add_dependency('crack', '~> 0.1.8')
23
- s.add_dependency('hashie', '~> 1.0.0')
24
- s.add_dependency('httpi', '~> 0.9.5')
22
+ s.add_dependency('crack', '~> 0.1')
23
+ s.add_dependency('hashie', '~> 1.0')
24
+ s.add_dependency('httpi', '~> 0.9')
25
25
 
26
- s.add_development_dependency('httpclient', '~> 2.2.1')
27
- s.add_development_dependency('rash', '~> 0.3.0')
26
+ s.add_runtime_dependency('jruby-openssl') if RUBY_PLATFORM == 'java'
27
+
28
+ s.add_development_dependency('httpclient', '~> 2.2')
29
+ s.add_development_dependency('rash', '~> 0.3')
28
30
 
29
- s.add_development_dependency('rake', '~> 0.9.2')
30
- s.add_development_dependency('httpclient', '~> 2.2.1')
31
- s.add_development_dependency('vcr', '~> 1.10.3')
32
- s.add_development_dependency('webmock', '~> 1.6.4')
33
- s.add_development_dependency('rspec', '~> 2.6.0')
34
- s.add_development_dependency('fuubar', '~> 0.0.5')
31
+ s.add_development_dependency('rake', '~> 0.9')
32
+ s.add_development_dependency('vcr', '~> 1.10')
33
+ s.add_development_dependency('webmock', '~> 1.6')
34
+ s.add_development_dependency('rspec', '~> 2.6')
35
+ s.add_development_dependency('fuubar', '~> 0.0')
35
36
  end
@@ -1,3 +1,3 @@
1
1
  module ASIN
2
- VERSION = "0.6.2"
2
+ VERSION = "0.7.0"
3
3
  end
@@ -5,7 +5,7 @@ require 'rspec/core/rake_task'
5
5
  Bundler::GemHelper.install_tasks
6
6
 
7
7
  RSpec::Core::RakeTask.new do |t|
8
- t.rspec_opts = ["--format Fuubar", "--color", "-r ./spec/spec_helper.rb"]
8
+ t.rspec_opts = ["--format Fuubar", "--color"]
9
9
  t.pattern = 'spec/**/*_spec.rb'
10
10
  end
11
11
 
@@ -2,6 +2,7 @@ $:.unshift File.join(File.dirname(__FILE__),'..','..','lib')
2
2
 
3
3
  require 'rspec'
4
4
  require 'asin'
5
+ require 'asin/client' # is somehow needed for jruby
5
6
  require 'pp'
6
7
  require 'httpclient'
7
8
  require 'vcr'
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: asin
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.6.2
5
+ version: 0.7.0
6
6
  platform: ruby
7
7
  authors:
8
8
  - "Peter Schr\xC3\xB6der"
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-09-09 00:00:00 +02:00
13
+ date: 2011-09-16 00:00:00 +02:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -21,7 +21,7 @@ dependencies:
21
21
  requirements:
22
22
  - - ~>
23
23
  - !ruby/object:Gem::Version
24
- version: 0.1.8
24
+ version: "0.1"
25
25
  type: :runtime
26
26
  version_requirements: *id001
27
27
  - !ruby/object:Gem::Dependency
@@ -32,7 +32,7 @@ dependencies:
32
32
  requirements:
33
33
  - - ~>
34
34
  - !ruby/object:Gem::Version
35
- version: 1.0.0
35
+ version: "1.0"
36
36
  type: :runtime
37
37
  version_requirements: *id002
38
38
  - !ruby/object:Gem::Dependency
@@ -43,7 +43,7 @@ dependencies:
43
43
  requirements:
44
44
  - - ~>
45
45
  - !ruby/object:Gem::Version
46
- version: 0.9.5
46
+ version: "0.9"
47
47
  type: :runtime
48
48
  version_requirements: *id003
49
49
  - !ruby/object:Gem::Dependency
@@ -54,7 +54,7 @@ dependencies:
54
54
  requirements:
55
55
  - - ~>
56
56
  - !ruby/object:Gem::Version
57
- version: 2.2.1
57
+ version: "2.2"
58
58
  type: :development
59
59
  version_requirements: *id004
60
60
  - !ruby/object:Gem::Dependency
@@ -65,7 +65,7 @@ dependencies:
65
65
  requirements:
66
66
  - - ~>
67
67
  - !ruby/object:Gem::Version
68
- version: 0.3.0
68
+ version: "0.3"
69
69
  type: :development
70
70
  version_requirements: *id005
71
71
  - !ruby/object:Gem::Dependency
@@ -76,64 +76,53 @@ dependencies:
76
76
  requirements:
77
77
  - - ~>
78
78
  - !ruby/object:Gem::Version
79
- version: 0.9.2
79
+ version: "0.9"
80
80
  type: :development
81
81
  version_requirements: *id006
82
82
  - !ruby/object:Gem::Dependency
83
- name: httpclient
83
+ name: vcr
84
84
  prerelease: false
85
85
  requirement: &id007 !ruby/object:Gem::Requirement
86
86
  none: false
87
87
  requirements:
88
88
  - - ~>
89
89
  - !ruby/object:Gem::Version
90
- version: 2.2.1
90
+ version: "1.10"
91
91
  type: :development
92
92
  version_requirements: *id007
93
93
  - !ruby/object:Gem::Dependency
94
- name: vcr
94
+ name: webmock
95
95
  prerelease: false
96
96
  requirement: &id008 !ruby/object:Gem::Requirement
97
97
  none: false
98
98
  requirements:
99
99
  - - ~>
100
100
  - !ruby/object:Gem::Version
101
- version: 1.10.3
101
+ version: "1.6"
102
102
  type: :development
103
103
  version_requirements: *id008
104
104
  - !ruby/object:Gem::Dependency
105
- name: webmock
105
+ name: rspec
106
106
  prerelease: false
107
107
  requirement: &id009 !ruby/object:Gem::Requirement
108
108
  none: false
109
109
  requirements:
110
110
  - - ~>
111
111
  - !ruby/object:Gem::Version
112
- version: 1.6.4
112
+ version: "2.6"
113
113
  type: :development
114
114
  version_requirements: *id009
115
115
  - !ruby/object:Gem::Dependency
116
- name: rspec
116
+ name: fuubar
117
117
  prerelease: false
118
118
  requirement: &id010 !ruby/object:Gem::Requirement
119
119
  none: false
120
120
  requirements:
121
121
  - - ~>
122
122
  - !ruby/object:Gem::Version
123
- version: 2.6.0
123
+ version: "0.0"
124
124
  type: :development
125
125
  version_requirements: *id010
126
- - !ruby/object:Gem::Dependency
127
- name: fuubar
128
- prerelease: false
129
- requirement: &id011 !ruby/object:Gem::Requirement
130
- none: false
131
- requirements:
132
- - - ~>
133
- - !ruby/object:Gem::Version
134
- version: 0.0.5
135
- type: :development
136
- version_requirements: *id011
137
126
  description: Amazon Simple INterface.
138
127
  email:
139
128
  - phoetmail@googlemail.com