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 +4 -4
- data/.travis.yml +1 -1
- data/ChangeLog.md +3 -0
- data/README.md +3 -0
- data/azure-core.gemspec +2 -8
- data/lib/azure/core/version.rb +1 -1
- metadata +17 -19
- data/ext/mkrf_conf.rb +0 -19
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2f9d9bdb999e8d716b42a909bb0546b463c22f86
|
4
|
+
data.tar.gz: 4bb66e37b486d3a865e430936d84aac53a71767e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a09278b7af2ee896435cff2e532e52797b51aa244063470ccc8a26a06e4f38151170378c5685aee2ffb7a11f1cbbfde339cfb177f6ca58e0527242725f1cdce
|
7
|
+
data.tar.gz: 59cd8e564774ab06af71f84477d12ac72a9708758e85c63882c48c0c74b4ca26c3d4739e1f3f480d69dff17a2a509230ee2f52543a8ca56366fe68af5e2751fe
|
data/.travis.yml
CHANGED
data/ChangeLog.md
CHANGED
@@ -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'
|
data/azure-core.gemspec
CHANGED
@@ -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
|
-
|
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
|
data/lib/azure/core/version.rb
CHANGED
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.
|
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-
|
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
|
data/ext/mkrf_conf.rb
DELETED
@@ -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
|