rakuten_web_service 1.4.1 → 1.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +6 -5
- data/CHANGELOG.md +15 -1
- data/Gemfile +1 -1
- data/README.md +2 -1
- data/examples/books_item_search.rb +6 -6
- data/examples/gora_search.rb +2 -2
- data/examples/ichiba_item_search.rb +1 -1
- data/lib/rakuten_web_service/books/genre.rb +1 -1
- data/lib/rakuten_web_service/client.rb +4 -0
- data/lib/rakuten_web_service/ichiba/genre.rb +1 -1
- data/lib/rakuten_web_service/ichiba/shop.rb +1 -1
- data/lib/rakuten_web_service/search_result.rb +5 -5
- data/lib/rakuten_web_service/version.rb +1 -1
- data/spec/rakuten_web_service/books/book_spec.rb +15 -15
- data/spec/rakuten_web_service/books/cd_spec.rb +10 -10
- data/spec/rakuten_web_service/books/dvd_spec.rb +10 -10
- data/spec/rakuten_web_service/books/foreign_book_spec.rb +10 -10
- data/spec/rakuten_web_service/books/game_spec.rb +8 -8
- data/spec/rakuten_web_service/books/genre_spec.rb +22 -22
- data/spec/rakuten_web_service/books/magazine_spec.rb +8 -8
- data/spec/rakuten_web_service/books/software_spec.rb +8 -8
- data/spec/rakuten_web_service/books/total_spec.rb +5 -5
- data/spec/rakuten_web_service/client_spec.rb +19 -19
- data/spec/rakuten_web_service/gora/course_detail_spec.rb +4 -4
- data/spec/rakuten_web_service/gora/course_spec.rb +7 -7
- data/spec/rakuten_web_service/gora/plan_spec.rb +6 -6
- data/spec/rakuten_web_service/ichiba/genre_spec.rb +30 -31
- data/spec/rakuten_web_service/ichiba/item_spec.rb +24 -24
- data/spec/rakuten_web_service/ichiba/product_search_spec.rb +8 -8
- data/spec/rakuten_web_service/ichiba/ranking_spec.rb +4 -4
- data/spec/rakuten_web_service/ichiba/shop_spec.rb +1 -1
- data/spec/rakuten_web_service/kobo/ebook_spec.rb +9 -9
- data/spec/rakuten_web_service/kobo/genre_spec.rb +9 -9
- data/spec/rakuten_web_service/recipe/category_spec.rb +3 -3
- data/spec/rakuten_web_service/recipe_spec.rb +3 -3
- data/spec/spec_helper.rb +6 -3
- metadata +2 -3
- data/.coveralls.yml +0 -1
@@ -6,9 +6,9 @@ describe RakutenWebService::Recipe do
|
|
6
6
|
let(:application_id) { 'dummy_application_id' }
|
7
7
|
let(:expected_query) do
|
8
8
|
{
|
9
|
-
:
|
10
|
-
:
|
11
|
-
:
|
9
|
+
affiliateId: affiliate_id,
|
10
|
+
applicationId: application_id,
|
11
|
+
categoryId: category_id
|
12
12
|
}
|
13
13
|
end
|
14
14
|
|
data/spec/spec_helper.rb
CHANGED
@@ -1,6 +1,9 @@
|
|
1
1
|
if ENV['CI']
|
2
|
-
require '
|
3
|
-
|
2
|
+
require 'simplecov'
|
3
|
+
|
4
|
+
SimpleCov.start do
|
5
|
+
add_filter "/spec/"
|
6
|
+
end
|
4
7
|
end
|
5
8
|
|
6
9
|
require File.expand_path(File.join(__dir__, '..', 'lib', 'rakuten_web_service'))
|
@@ -14,7 +17,7 @@ RSpec.configure do |c|
|
|
14
17
|
c.mock_with :rspec
|
15
18
|
|
16
19
|
c.before :suite do
|
17
|
-
WebMock.disable_net_connect!(:
|
20
|
+
WebMock.disable_net_connect!(allow: "codeclimate.com")
|
18
21
|
end
|
19
22
|
|
20
23
|
c.after :each do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rakuten_web_service
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tatsuya Sato
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -88,7 +88,6 @@ extensions: []
|
|
88
88
|
extra_rdoc_files: []
|
89
89
|
files:
|
90
90
|
- ".codeclimate.yml"
|
91
|
-
- ".coveralls.yml"
|
92
91
|
- ".gitignore"
|
93
92
|
- ".travis.yml"
|
94
93
|
- CHANGELOG.md
|
data/.coveralls.yml
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
service_name: travis-ci
|