azure-core 0.1.9 → 0.1.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog.md +3 -0
- data/azure-core.gemspec +8 -5
- data/ext/mkrf_conf.rb +19 -0
- data/lib/azure/core/version.rb +1 -1
- metadata +19 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d28cb37fd7f8e79e4074b24beedcf3066e887440
|
4
|
+
data.tar.gz: c729116cda7d32fb6b989c571edbbe891aa09c4d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e2681134545d33c0f355b5d4d50cbd0e8269e91dc1589239c2e531b6dd5b7c9b6fed07e65b5abb8a915d736210af31511df357a3d3da99a79828b6e83346b21
|
7
|
+
data.tar.gz: e972e02008af9df37804fd0dc9d83507108abfab48757955e45b0618c0bdccc55abc7e1ccba263c133914d3b5811889d0f7bef1fa8848656b39f2323f1337a6d
|
data/ChangeLog.md
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
# 2017.08.10 - azure-core gem @version 0.1.10
|
2
|
+
* Changed 'nokogiri' to dev dependency and added post-logic for Gem installation. [#41](https://github.com/Azure/azure-ruby-asm-core/pull/41)
|
3
|
+
|
1
4
|
# 2017.08.01 - azure-core gem @version 0.1.9
|
2
5
|
* Added support for StringIO inside body headers. [#39](https://github.com/Azure/azure-ruby-asm-core/pull/39)
|
3
6
|
|
data/azure-core.gemspec
CHANGED
@@ -26,16 +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'
|
29
30
|
|
30
31
|
s.required_ruby_version = '>= 1.9.3'
|
31
32
|
|
32
33
|
s.add_runtime_dependency('faraday', '~> 0.9')
|
33
34
|
s.add_runtime_dependency('faraday_middleware', '~> 0.10')
|
34
|
-
if RUBY_VERSION < "2.1.0"
|
35
|
-
s.add_runtime_dependency('nokogiri', '~> 1.6.0')
|
36
|
-
else
|
37
|
-
s.add_runtime_dependency('nokogiri', '~> 1.7')
|
38
|
-
end
|
39
35
|
|
40
36
|
s.add_development_dependency('dotenv', '~> 2.0')
|
41
37
|
s.add_development_dependency('minitest', '~> 5')
|
@@ -44,4 +40,11 @@ Gem::Specification.new do |s|
|
|
44
40
|
s.add_development_dependency('rake', '~> 10.0')
|
45
41
|
s.add_development_dependency('timecop', '~> 0.7')
|
46
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
|
47
50
|
end
|
data/ext/mkrf_conf.rb
ADDED
@@ -0,0 +1,19 @@
|
|
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
|
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.10
|
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-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: faraday
|
@@ -39,20 +39,6 @@ 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.7'
|
49
|
-
type: :runtime
|
50
|
-
prerelease: false
|
51
|
-
version_requirements: !ruby/object:Gem::Requirement
|
52
|
-
requirements:
|
53
|
-
- - "~>"
|
54
|
-
- !ruby/object:Gem::Version
|
55
|
-
version: '1.7'
|
56
42
|
- !ruby/object:Gem::Dependency
|
57
43
|
name: dotenv
|
58
44
|
requirement: !ruby/object:Gem::Requirement
|
@@ -151,10 +137,25 @@ dependencies:
|
|
151
137
|
- - "~>"
|
152
138
|
- !ruby/object:Gem::Version
|
153
139
|
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:
|
157
|
+
extensions:
|
158
|
+
- ext/mkrf_conf.rb
|
158
159
|
extra_rdoc_files: []
|
159
160
|
files:
|
160
161
|
- ".gitignore"
|
@@ -164,6 +165,7 @@ files:
|
|
164
165
|
- README.md
|
165
166
|
- Rakefile
|
166
167
|
- azure-core.gemspec
|
168
|
+
- ext/mkrf_conf.rb
|
167
169
|
- lib/azure/core.rb
|
168
170
|
- lib/azure/core/auth/authorizer.rb
|
169
171
|
- lib/azure/core/auth/shared_key.rb
|