bazil_client 2.0.0 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
data/ChangeLog.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## WIP: Version 2.1.0 (2014-12-19) ##
2
+
3
+ - Supress option for api\_keys
4
+
1
5
  ## Version 2.0.0 (2014-10-10) ##
2
6
 
3
7
  Feature
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.0.0
1
+ 2.1.0
data/lib/bazil/client.rb CHANGED
@@ -62,6 +62,11 @@ module Bazil
62
62
  end
63
63
 
64
64
  def load_api_keys_option(options)
65
+ if options.has_key?(API_KEYS_FILE_KEY) && options[API_KEYS_FILE_KEY].nil?
66
+ # skip warning if specified nil explicitly
67
+ return
68
+ end
69
+
65
70
  api_keys_file = options[API_KEYS_FILE_KEY] || DEFAULT_API_KEYS_FILES.find{|file|
66
71
  File::readable?(file) && File::file?(file)
67
72
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bazil_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.1.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-10-10 00:00:00.000000000 Z
12
+ date: 2015-01-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
@@ -65,19 +65,17 @@ executables: []
65
65
  extensions: []
66
66
  extra_rdoc_files: []
67
67
  files:
68
- - .gitignore
69
68
  - ChangeLog.md
70
69
  - Gemfile
71
70
  - LICENSE
72
71
  - README
73
72
  - Rakefile
74
73
  - VERSION
75
- - bazil_client.gemspec
76
- - lib/bazil.rb
77
74
  - lib/bazil/client.rb
78
75
  - lib/bazil/error.rb
79
76
  - lib/bazil/model.rb
80
77
  - lib/bazil/rest.rb
78
+ - lib/bazil.rb
81
79
  - spec/bazil/client_spec.rb
82
80
  - spec/bazil/model_spec.rb
83
81
  - spec/spec_helper.rb
@@ -102,10 +100,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
102
100
  version: '0'
103
101
  segments:
104
102
  - 0
105
- hash: 2357737480406686873
103
+ hash: 1575194762310888291
106
104
  requirements: []
107
105
  rubyforge_project:
108
- rubygems_version: 1.8.23.2
106
+ rubygems_version: 1.8.23
109
107
  signing_key:
110
108
  specification_version: 3
111
109
  summary: Ruby client of Bazil
data/.gitignore DELETED
@@ -1,9 +0,0 @@
1
- *.gem
2
- *.rbc
3
- .bundle
4
- .config
5
- Gemfile.lock
6
- /coverage/
7
- /vendor/bundle/
8
- /pkg/
9
- /rdoc/
data/bazil_client.gemspec DELETED
@@ -1,24 +0,0 @@
1
- # encoding: utf-8
2
- $:.push File.expand_path('../lib', __FILE__)
3
-
4
- Gem::Specification.new do |gem|
5
- gem.name = "bazil_client"
6
- gem.description = "Ruby client of Bazil"
7
- gem.homepage = "https://asp-bazil.preferred.jp/"
8
- gem.summary = gem.description
9
- gem.version = File.read("VERSION").strip
10
- gem.authors = ["Nobuyuki Kubota"]
11
- gem.email = "bazil-info@preferred.jp"
12
- gem.has_rdoc = false
13
- gem.platform = Gem::Platform::RUBY
14
- gem.files = `git ls-files`.split("\n")
15
- gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
16
- gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
17
- gem.require_paths = ['lib']
18
- gem.license = "MIT"
19
-
20
- gem.required_ruby_version = '>= 1.9.0'
21
- gem.add_development_dependency "rake", ">= 0.9.2"
22
- gem.add_development_dependency "simplecov", ">= 0.5.4"
23
- gem.add_development_dependency "rspec", ">= 1.0.0"
24
- end