azure-core 0.1.10 → 0.1.11

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: d28cb37fd7f8e79e4074b24beedcf3066e887440
4
- data.tar.gz: c729116cda7d32fb6b989c571edbbe891aa09c4d
3
+ metadata.gz: 2f9d9bdb999e8d716b42a909bb0546b463c22f86
4
+ data.tar.gz: 4bb66e37b486d3a865e430936d84aac53a71767e
5
5
  SHA512:
6
- metadata.gz: 0e2681134545d33c0f355b5d4d50cbd0e8269e91dc1589239c2e531b6dd5b7c9b6fed07e65b5abb8a915d736210af31511df357a3d3da99a79828b6e83346b21
7
- data.tar.gz: e972e02008af9df37804fd0dc9d83507108abfab48757955e45b0618c0bdccc55abc7e1ccba263c133914d3b5811889d0f7bef1fa8848656b39f2323f1337a6d
6
+ metadata.gz: 4a09278b7af2ee896435cff2e532e52797b51aa244063470ccc8a26a06e4f38151170378c5685aee2ffb7a11f1cbbfde339cfb177f6ca58e0527242725f1cdce
7
+ data.tar.gz: 59cd8e564774ab06af71f84477d12ac72a9708758e85c63882c48c0c74b4ca26c3d4739e1f3f480d69dff17a2a509230ee2f52543a8ca56366fe68af5e2751fe
@@ -5,7 +5,7 @@ rvm:
5
5
  - 2.1.5
6
6
  - 2.2.0
7
7
  - 2.3.0
8
- before_install: gem install bundler -v 1.11.2
8
+ before_install: gem install bundler -v 1.14.1
9
9
  script:
10
10
  - bundle install && bundle exec rake test:unit
11
11
  deploy:
@@ -1,3 +1,6 @@
1
+ # 2017.08.18 - azure-core gem @version 0.1.11
2
+ * Changed 'nokogiri' to runtime dependency with version >= 1.6, and added documentation to resolve dependency issue to Readme for users with Ruby version lower than 2.2.0.
3
+
1
4
  # 2017.08.10 - azure-core gem @version 0.1.10
2
5
  * Changed 'nokogiri' to dev dependency and added post-logic for Gem installation. [#41](https://github.com/Azure/azure-ruby-asm-core/pull/41)
3
6
 
data/README.md CHANGED
@@ -20,6 +20,9 @@ Or install it yourself as:
20
20
 
21
21
  $ gem install azure-core
22
22
 
23
+ ### Notice
24
+ For ruby version >= 1.9.3 && < 2.2.0, please install compatible Nokogiri(version >= 1.6.8), otherwise the installation using old version of bundler or all version of rubygems will report failure.
25
+
23
26
  ## Usage
24
27
  ```ruby
25
28
  require 'azure/core'
@@ -26,12 +26,12 @@ Gem::Specification.new do |s|
26
26
  s.homepage = 'http://github.com/Azure/azure-ruby-asm-core'
27
27
  s.license = 'Apache License, Version 2.0'
28
28
  s.files = `git ls-files`.split("\n").reject { |f| f.start_with?("test/unit") }
29
- s.extensions = 'ext/mkrf_conf.rb'
30
29
 
31
30
  s.required_ruby_version = '>= 1.9.3'
32
31
 
33
32
  s.add_runtime_dependency('faraday', '~> 0.9')
34
33
  s.add_runtime_dependency('faraday_middleware', '~> 0.10')
34
+ s.add_runtime_dependency('nokogiri', '~> 1.6')
35
35
 
36
36
  s.add_development_dependency('dotenv', '~> 2.0')
37
37
  s.add_development_dependency('minitest', '~> 5')
@@ -40,11 +40,5 @@ Gem::Specification.new do |s|
40
40
  s.add_development_dependency('rake', '~> 10.0')
41
41
  s.add_development_dependency('timecop', '~> 0.7')
42
42
  s.add_development_dependency('bundler', '~> 1.11')
43
- if RUBY_VERSION < "2.1.0"
44
- s.add_development_dependency('nokogiri', '~> 1.6.0')
45
- elsif RUBY_VERSION < "2.2.0"
46
- s.add_development_dependency('nokogiri', '~> 1.7.0')
47
- else
48
- s.add_development_dependency('nokogiri', '~> 1.8')
49
- end
43
+
50
44
  end
@@ -18,7 +18,7 @@ module Azure
18
18
  class Version
19
19
  MAJOR = 0 unless defined? MAJOR
20
20
  MINOR = 1 unless defined? MINOR
21
- UPDATE = 10 unless defined? UPDATE
21
+ UPDATE = 11 unless defined? UPDATE
22
22
  PRE = nil unless defined? PRE
23
23
 
24
24
  class << self
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: azure-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.10
4
+ version: 0.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Microsoft Corporation
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-08-10 00:00:00.000000000 Z
12
+ date: 2017-08-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: faraday
@@ -39,6 +39,20 @@ dependencies:
39
39
  - - "~>"
40
40
  - !ruby/object:Gem::Version
41
41
  version: '0.10'
42
+ - !ruby/object:Gem::Dependency
43
+ name: nokogiri
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - "~>"
47
+ - !ruby/object:Gem::Version
48
+ version: '1.6'
49
+ type: :runtime
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - "~>"
54
+ - !ruby/object:Gem::Version
55
+ version: '1.6'
42
56
  - !ruby/object:Gem::Dependency
43
57
  name: dotenv
44
58
  requirement: !ruby/object:Gem::Requirement
@@ -137,25 +151,10 @@ dependencies:
137
151
  - - "~>"
138
152
  - !ruby/object:Gem::Version
139
153
  version: '1.11'
140
- - !ruby/object:Gem::Dependency
141
- name: nokogiri
142
- requirement: !ruby/object:Gem::Requirement
143
- requirements:
144
- - - "~>"
145
- - !ruby/object:Gem::Version
146
- version: '1.8'
147
- type: :development
148
- prerelease: false
149
- version_requirements: !ruby/object:Gem::Requirement
150
- requirements:
151
- - - "~>"
152
- - !ruby/object:Gem::Version
153
- version: '1.8'
154
154
  description: Microsoft Azure Client Core Library for Ruby SDK
155
155
  email: azureruby@microsoft.com
156
156
  executables: []
157
- extensions:
158
- - ext/mkrf_conf.rb
157
+ extensions: []
159
158
  extra_rdoc_files: []
160
159
  files:
161
160
  - ".gitignore"
@@ -165,7 +164,6 @@ files:
165
164
  - README.md
166
165
  - Rakefile
167
166
  - azure-core.gemspec
168
- - ext/mkrf_conf.rb
169
167
  - lib/azure/core.rb
170
168
  - lib/azure/core/auth/authorizer.rb
171
169
  - lib/azure/core/auth/shared_key.rb
@@ -1,19 +0,0 @@
1
- require 'rubygems/dependency_installer'
2
-
3
- dependency_installer = Gem::DependencyInstaller.new
4
-
5
- begin
6
- if RUBY_VERSION < '2.1.0'
7
- puts "Installing nokogiri ~> 1.6.0 with Ruby version:#{RUBY_VERSION}"
8
- dependency_installer.install 'nokogiri', '~> 1.6.0'
9
- elsif RUBY_VERSION < '2.2.0'
10
- puts "Installing nokogiri ~> 1.7.0 with Ruby version:#{RUBY_VERSION}"
11
- dependency_installer.install 'nokogiri', '~> 1.7.0'
12
- else
13
- puts "Installing nokogiri ~> 1.8 with Ruby version:#{RUBY_VERSION}"
14
- dependency_installer.install 'nokogiri', '~> 1.8'
15
- end
16
- rescue => e
17
- warn "#{$0}: #{e}"
18
- exit!
19
- end