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.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +6 -5
  3. data/CHANGELOG.md +15 -1
  4. data/Gemfile +1 -1
  5. data/README.md +2 -1
  6. data/examples/books_item_search.rb +6 -6
  7. data/examples/gora_search.rb +2 -2
  8. data/examples/ichiba_item_search.rb +1 -1
  9. data/lib/rakuten_web_service/books/genre.rb +1 -1
  10. data/lib/rakuten_web_service/client.rb +4 -0
  11. data/lib/rakuten_web_service/ichiba/genre.rb +1 -1
  12. data/lib/rakuten_web_service/ichiba/shop.rb +1 -1
  13. data/lib/rakuten_web_service/search_result.rb +5 -5
  14. data/lib/rakuten_web_service/version.rb +1 -1
  15. data/spec/rakuten_web_service/books/book_spec.rb +15 -15
  16. data/spec/rakuten_web_service/books/cd_spec.rb +10 -10
  17. data/spec/rakuten_web_service/books/dvd_spec.rb +10 -10
  18. data/spec/rakuten_web_service/books/foreign_book_spec.rb +10 -10
  19. data/spec/rakuten_web_service/books/game_spec.rb +8 -8
  20. data/spec/rakuten_web_service/books/genre_spec.rb +22 -22
  21. data/spec/rakuten_web_service/books/magazine_spec.rb +8 -8
  22. data/spec/rakuten_web_service/books/software_spec.rb +8 -8
  23. data/spec/rakuten_web_service/books/total_spec.rb +5 -5
  24. data/spec/rakuten_web_service/client_spec.rb +19 -19
  25. data/spec/rakuten_web_service/gora/course_detail_spec.rb +4 -4
  26. data/spec/rakuten_web_service/gora/course_spec.rb +7 -7
  27. data/spec/rakuten_web_service/gora/plan_spec.rb +6 -6
  28. data/spec/rakuten_web_service/ichiba/genre_spec.rb +30 -31
  29. data/spec/rakuten_web_service/ichiba/item_spec.rb +24 -24
  30. data/spec/rakuten_web_service/ichiba/product_search_spec.rb +8 -8
  31. data/spec/rakuten_web_service/ichiba/ranking_spec.rb +4 -4
  32. data/spec/rakuten_web_service/ichiba/shop_spec.rb +1 -1
  33. data/spec/rakuten_web_service/kobo/ebook_spec.rb +9 -9
  34. data/spec/rakuten_web_service/kobo/genre_spec.rb +9 -9
  35. data/spec/rakuten_web_service/recipe/category_spec.rb +3 -3
  36. data/spec/rakuten_web_service/recipe_spec.rb +3 -3
  37. data/spec/spec_helper.rb +6 -3
  38. metadata +2 -3
  39. 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
- :affiliateId => affiliate_id,
10
- :applicationId => application_id,
11
- :categoryId => category_id
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 'coveralls'
3
- Coveralls.wear!
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!(:allow => "codeclimate.com")
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.1
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: 2016-11-22 00:00:00.000000000 Z
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