rakuten_web_service-rails 0.5.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5682ed5ea5ef4416540317967e2d2ede7ad9785a
4
- data.tar.gz: d7ec6c40c4e05c83764c0413e0dfc7b0181692dc
3
+ metadata.gz: 713c092acbfcdfd804658a088239f77411f4223d
4
+ data.tar.gz: 496d55cdcadf094a6db5a5c70025b371052e17a4
5
5
  SHA512:
6
- metadata.gz: a3bb68095ca6f7076dd988cb024c2a1af62fa5161862f0cb75b4b7e42119a7e656b865994475b9fc44835e2a80cf578044ddcfe9b8f37b4b788aaf527889d811
7
- data.tar.gz: ac9dcef23a9b1541549923a122760de64c579df925fb231d51127192735412572e611b990effb1d16336422864d4bef80613f1d1af258533bb984b75893b072c
6
+ metadata.gz: b4f9950e8a9a4ae4ea81b22f5aa7874c8ca85ba022be424d3b187cc92800cb923b010afd19d488a02945ef7790364b16f6a197a370905f8915cfeb2fa6065efc
7
+ data.tar.gz: c572c9d9ef64b5da6696ebaf58ad19c086595e767bea2b3307cade5a2d86d9f4cbd0e23ac408178a71259af338a41bf6d03afcc081418caf662edc6eea715cad
@@ -2,26 +2,29 @@ sudo: false
2
2
  language: ruby
3
3
  cache: bundler
4
4
  rvm:
5
- - 2.1.9
6
5
  - 2.2.5
7
6
  - 2.3.1
8
7
  - 2.4.1
8
+ - 2.5.0
9
+ - ruby-head
9
10
  gemfile:
10
11
  - gemfiles/Gemfile.rail4
11
12
  - gemfiles/Gemfile.rail5
12
- before_install: gem install bundler -v 1.12.5
13
+ before_install: gem update --system
14
+ bundler_args: "--without vscode"
13
15
  script:
14
16
  - bundle exec rspec
15
17
  - bundle exec rspec --tag integration
18
+ after_script:
19
+ - bundle exec codeclimate-test-reporter
16
20
  matrix:
17
- exclude:
18
- - rvm: 2.1.9
19
- gemfile: gemfiles/Gemfile.rail5
21
+ allow_failures:
22
+ - rvm: ruby-head
20
23
  notifications:
21
24
  email: false
22
25
  webhooks:
23
26
  urls:
24
- - https://webhooks.gitter.im/e/8dfbb94cdb25ff174f4e
27
+ - https://webhooks.gitter.im/e/8dfbb94cdb25ff174f4e
25
28
  deploy:
26
29
  provider: rubygems
27
30
  api_key:
@@ -29,4 +32,8 @@ deploy:
29
32
  gem: rakuten_web_service-rails
30
33
  on:
31
34
  repo: satoryu/rakuten_web_service-rails
32
- condition: $TRAVIS_RUBY_VERSION = 2.4.1
35
+ condition: "$TRAVIS_RUBY_VERSION = 2.5.0"
36
+ addons:
37
+ code_climate:
38
+ repo_token:
39
+ secure: daHyv4oum5q/gRA/7S3USdf5jlninNNEhweKDeOHfgTLAafEXSq87DOqfbjw3ug0Kxur0JtwPHcooEwMLJDq5kDAwpRTdProdlN9HAkSJ9eHEaN3azgnxOraAEIoyXkqiUqddLpJ+An2rbagemZRykPG78SWwKAkDUBG0iDaZsBPN1KSj5a+NjdFGMy7q1YPcfQHWT753AE4SjiNdFv29WP3mLIJSkDRBqIdMGMzqPxX4I03baSqmO9+6JmQN/zAy/bjmpf74OemDa0PiLxgzDaDvys0sI6ecYPxNlfYdRNDqPN+YIXZzio6yMIrFwGv7T+Lwr3CJ66pMAy9Hj+3BEj2TpBeHZS4d0eR1rDDBJKczL+kd/v8ZInFnovELKI6OdWImYJCcUrBMoY7pEOqIao9MIjgHtOONcKaxXgZOa6HuJUwihNcy4sdmH2qnCz0Cx0UIwrHLXG0iDq90WYkwbLF4WnXK2XmMQyVRqAgEFEE/Gfxsnr1SqQJAkmT7UR5GzdQREI9S9aCseW3IKMrSbkpSIOXlmF+oFHyAU7Z3LZ3Zp9l6te7csDb9PeGuXlG1tQ+BfWg2ddwTxNNOBFFS2OgWGa1ZB7zBprS3khg0oUOJ4nlivFgz0l7d41kvmvBOWeINKtlSf5aI5M1hoKaRV2WbmCTLNkhbCZe0/8N8Q4=
@@ -1,3 +1,9 @@
1
+ # v0.6.0 (Jan 16, 2018)
2
+
3
+ ## Improvements
4
+
5
+ * Update supported ruby versions. [#19](https://github.com/satoryu/rakuten_web_service-rails/pull/19)
6
+
1
7
  # v0.5.0 (Aug 15, 2017)
2
8
 
3
9
  ## Improvements
data/Gemfile CHANGED
@@ -4,3 +4,13 @@ source 'https://rubygems.org'
4
4
  gemspec
5
5
 
6
6
  gem 'sqlite3'
7
+
8
+ group :test do
9
+ gem 'codeclimate-test-reporter', '~> 1.0.8'
10
+ gem 'simplecov', require: false
11
+ end
12
+
13
+ group :vscode do
14
+ gem 'debase', '0.2.2.beta14'
15
+ gem 'ruby-debug-ide', '~> 0.6.0'
16
+ end
data/README.md CHANGED
@@ -1,6 +1,9 @@
1
1
  # RakutenWebService::Rails
2
2
  [![Gem Version](https://badge.fury.io/rb/rakuten_web_service-rails.svg)](https://badge.fury.io/rb/rakuten_web_service-rails)
3
3
  [![Build Status](https://travis-ci.org/satoryu/rakuten_web_service-rails.svg?branch=master)](https://travis-ci.org/satoryu/rakuten_web_service-rails)
4
+ [![Code Climate](https://codeclimate.com/github/satoryu/rakuten_web_service-rails/badges/gpa.svg)](https://codeclimate.com/github/satoryu/rakuten_web_service-rails)
5
+ [![Test Coverage](https://codeclimate.com/github/satoryu/rakuten_web_service-rails/badges/coverage.svg)](https://codeclimate.com/github/satoryu/rakuten_web_service-rails/coverage)
6
+ [![Issue Count](https://codeclimate.com/github/satoryu/rakuten_web_service-rails/badges/issue_count.svg)](https://codeclimate.com/github/satoryu/rakuten_web_service-rails)
4
7
 
5
8
  The gem provides an initializer to load the configuration for accessing Rakuten Web Service from YAML file in your Rails app's `config` directory.
6
9
 
@@ -5,3 +5,8 @@ gemspec path: '../'
5
5
 
6
6
  gem 'rails', '~> 4.2.5'
7
7
  gem 'sqlite3'
8
+
9
+ group :test do
10
+ gem 'simplecov', require: false
11
+ gem 'codeclimate-test-reporter', '~> 1.0.8'
12
+ end
@@ -5,3 +5,8 @@ gemspec path: '../'
5
5
 
6
6
  gem 'rails', '~> 5.1.0'
7
7
  gem 'sqlite3'
8
+
9
+ group :test do
10
+ gem 'simplecov', require: false
11
+ gem 'codeclimate-test-reporter', '~> 1.0.8'
12
+ end
@@ -11,7 +11,7 @@ module RakutenWebService
11
11
  end
12
12
 
13
13
  def load_configuration(config_path, environment)
14
- return unless File.exists? config_path
14
+ return unless File.exist?(config_path)
15
15
 
16
16
  config = YAML.load(ERB.new(File.read(config_path)).result(binding))[environment]
17
17
  if config
@@ -1,5 +1,5 @@
1
1
  module RakutenWebService
2
2
  module Rails
3
- VERSION = "0.5.0"
3
+ VERSION = '0.6.0'.freeze
4
4
  end
5
5
  end
@@ -4,35 +4,34 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
  require 'rakuten_web_service/rails/version'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
- spec.name = "rakuten_web_service-rails"
7
+ spec.name = 'rakuten_web_service-rails'
8
8
  spec.version = RakutenWebService::Rails::VERSION
9
- spec.authors = ["Tatsuya Sato"]
10
- spec.email = ["satoryu.1981@gmail.com"]
9
+ spec.authors = ['Tatsuya Sato']
10
+ spec.email = ['satoryu.1981@gmail.com']
11
11
 
12
- spec.summary = %q{Integrate 'rakuten_web_service' with your Rails app.}
13
- spec.description = %q{This gem provides an initializer to load configurations of 'rakuten_web_service' with your Rails applications.}
14
- spec.homepage = "https://github.com/satoryu/rakuten_web_service-rails"
15
- spec.license = "MIT"
12
+ spec.summary = 'rakuten_web_service\' with your Rails app.'
13
+ spec.description = 'This gem provides an initializer to load configurations of \'rakuten_web_service\' with your Rails applications.'
14
+ spec.homepage = 'https://github.com/satoryu/rakuten_web_service-rails'
15
+ spec.license = 'MIT'
16
+ spec.required_ruby_version = '>= 2.2.0'
16
17
 
17
18
  # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
18
19
  # to allow pushing to a single host or delete this section to allow pushing to any host.
19
20
  if spec.respond_to?(:metadata)
20
- spec.metadata['allowed_push_host'] = "https://rubygems.org"
21
+ spec.metadata['allowed_push_host'] = 'https://rubygems.org'
21
22
  else
22
- raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
23
+ raise 'RubyGems 2.0 or newer is required to protect against public gem pushes.'
23
24
  end
24
25
 
25
26
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
26
- spec.bindir = "exe"
27
+ spec.bindir = 'exe'
27
28
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
28
- spec.require_paths = ["lib"]
29
+ spec.require_paths = ['lib']
29
30
  spec.add_dependency 'rails', '> 4.2', '< 5.2.0'
30
- spec.add_dependency 'rakuten_web_service', '< 1.7.0', '> 1.4.0'
31
+ spec.add_dependency 'rakuten_web_service', '~> 1.7'
31
32
 
32
- spec.add_development_dependency "bundler", "~> 1.12"
33
- spec.add_development_dependency "rake", "~> 10.0"
34
- spec.add_development_dependency "rspec", "~> 3.0"
35
- spec.add_development_dependency "ammeter", "~> 1.1", ">= 1.1.4"
36
- spec.add_development_dependency 'ruby-debug-ide', '~> 0.6.0'
37
- spec.add_development_dependency 'debase', '0.2.2.beta10'
33
+ spec.add_development_dependency 'ammeter', '~> 1.1', '>= 1.1.4'
34
+ spec.add_development_dependency 'bundler', '~> 1.12'
35
+ spec.add_development_dependency 'rake', '~> 10.0'
36
+ spec.add_development_dependency 'rspec', '~> 3.0'
38
37
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rakuten_web_service-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tatsuya Sato
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-08-16 00:00:00.000000000 Z
11
+ date: 2018-01-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -32,114 +32,80 @@ dependencies:
32
32
  version: 5.2.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: rakuten_web_service
35
- requirement: !ruby/object:Gem::Requirement
36
- requirements:
37
- - - "<"
38
- - !ruby/object:Gem::Version
39
- version: 1.7.0
40
- - - ">"
41
- - !ruby/object:Gem::Version
42
- version: 1.4.0
43
- type: :runtime
44
- prerelease: false
45
- version_requirements: !ruby/object:Gem::Requirement
46
- requirements:
47
- - - "<"
48
- - !ruby/object:Gem::Version
49
- version: 1.7.0
50
- - - ">"
51
- - !ruby/object:Gem::Version
52
- version: 1.4.0
53
- - !ruby/object:Gem::Dependency
54
- name: bundler
55
35
  requirement: !ruby/object:Gem::Requirement
56
36
  requirements:
57
37
  - - "~>"
58
38
  - !ruby/object:Gem::Version
59
- version: '1.12'
60
- type: :development
39
+ version: '1.7'
40
+ type: :runtime
61
41
  prerelease: false
62
42
  version_requirements: !ruby/object:Gem::Requirement
63
43
  requirements:
64
44
  - - "~>"
65
45
  - !ruby/object:Gem::Version
66
- version: '1.12'
46
+ version: '1.7'
67
47
  - !ruby/object:Gem::Dependency
68
- name: rake
48
+ name: ammeter
69
49
  requirement: !ruby/object:Gem::Requirement
70
50
  requirements:
71
51
  - - "~>"
72
52
  - !ruby/object:Gem::Version
73
- version: '10.0'
53
+ version: '1.1'
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ version: 1.1.4
74
57
  type: :development
75
58
  prerelease: false
76
59
  version_requirements: !ruby/object:Gem::Requirement
77
60
  requirements:
78
61
  - - "~>"
79
62
  - !ruby/object:Gem::Version
80
- version: '10.0'
63
+ version: '1.1'
64
+ - - ">="
65
+ - !ruby/object:Gem::Version
66
+ version: 1.1.4
81
67
  - !ruby/object:Gem::Dependency
82
- name: rspec
68
+ name: bundler
83
69
  requirement: !ruby/object:Gem::Requirement
84
70
  requirements:
85
71
  - - "~>"
86
72
  - !ruby/object:Gem::Version
87
- version: '3.0'
73
+ version: '1.12'
88
74
  type: :development
89
75
  prerelease: false
90
76
  version_requirements: !ruby/object:Gem::Requirement
91
77
  requirements:
92
78
  - - "~>"
93
79
  - !ruby/object:Gem::Version
94
- version: '3.0'
80
+ version: '1.12'
95
81
  - !ruby/object:Gem::Dependency
96
- name: ammeter
82
+ name: rake
97
83
  requirement: !ruby/object:Gem::Requirement
98
84
  requirements:
99
85
  - - "~>"
100
86
  - !ruby/object:Gem::Version
101
- version: '1.1'
102
- - - ">="
103
- - !ruby/object:Gem::Version
104
- version: 1.1.4
87
+ version: '10.0'
105
88
  type: :development
106
89
  prerelease: false
107
90
  version_requirements: !ruby/object:Gem::Requirement
108
91
  requirements:
109
92
  - - "~>"
110
93
  - !ruby/object:Gem::Version
111
- version: '1.1'
112
- - - ">="
113
- - !ruby/object:Gem::Version
114
- version: 1.1.4
94
+ version: '10.0'
115
95
  - !ruby/object:Gem::Dependency
116
- name: ruby-debug-ide
96
+ name: rspec
117
97
  requirement: !ruby/object:Gem::Requirement
118
98
  requirements:
119
99
  - - "~>"
120
100
  - !ruby/object:Gem::Version
121
- version: 0.6.0
101
+ version: '3.0'
122
102
  type: :development
123
103
  prerelease: false
124
104
  version_requirements: !ruby/object:Gem::Requirement
125
105
  requirements:
126
106
  - - "~>"
127
107
  - !ruby/object:Gem::Version
128
- version: 0.6.0
129
- - !ruby/object:Gem::Dependency
130
- name: debase
131
- requirement: !ruby/object:Gem::Requirement
132
- requirements:
133
- - - '='
134
- - !ruby/object:Gem::Version
135
- version: 0.2.2.beta10
136
- type: :development
137
- prerelease: false
138
- version_requirements: !ruby/object:Gem::Requirement
139
- requirements:
140
- - - '='
141
- - !ruby/object:Gem::Version
142
- version: 0.2.2.beta10
108
+ version: '3.0'
143
109
  description: This gem provides an initializer to load configurations of 'rakuten_web_service'
144
110
  with your Rails applications.
145
111
  email:
@@ -184,7 +150,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
184
150
  requirements:
185
151
  - - ">="
186
152
  - !ruby/object:Gem::Version
187
- version: '0'
153
+ version: 2.2.0
188
154
  required_rubygems_version: !ruby/object:Gem::Requirement
189
155
  requirements:
190
156
  - - ">="
@@ -192,8 +158,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
192
158
  version: '0'
193
159
  requirements: []
194
160
  rubyforge_project:
195
- rubygems_version: 2.4.5
161
+ rubygems_version: 2.4.5.2
196
162
  signing_key:
197
163
  specification_version: 4
198
- summary: Integrate 'rakuten_web_service' with your Rails app.
164
+ summary: rakuten_web_service' with your Rails app.
199
165
  test_files: []