yandex-api-fotki 0.1.6 → 0.1.7
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 -0
- data/Gemfile +5 -0
- data/README.md +1 -1
- data/ext/mkrf_conf.rb +6 -5
- data/lib/yandex/api/fotki/version.rb +1 -1
- data/yandex-api-fotki.gemspec +2 -4
- metadata +2 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 222b09c98b4abae09257a595ee36762b6e3fa4fc
|
4
|
+
data.tar.gz: 8ecac7b02d615523da290be0e4612b5b4266e152
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d827230a2332ffb43870ca77fca8a58f467cf4932f7265115a6d18508d3efe398678234076db550e4ee955733e8228556757f095fc8cad6babdb4485ef605856
|
7
|
+
data.tar.gz: 6fb696e6d61003a69fd3db3d81118b86a423ffb29ad9e3642495baeb215921e98a646e47826bfab496033e79d1dabe097328aa6da415796463ebda006bce4601
|
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
@@ -1,4 +1,9 @@
|
|
1
1
|
source 'https://rubygems.org'
|
2
2
|
|
3
|
+
group :test do
|
4
|
+
gem "activesupport", Gem::Version.new(RUBY_VERSION) < Gem::Version.new("2.2.2") ? "< 5" : "> 0"
|
5
|
+
gem "rest-client", Gem::Version.new(RUBY_VERSION) < Gem::Version.new("2") ? "< 2" : "~> 2.0"
|
6
|
+
end
|
7
|
+
|
3
8
|
# Specify your gem's dependencies in yandex-api-fotki.gemspec
|
4
9
|
gemspec
|
data/README.md
CHANGED
data/ext/mkrf_conf.rb
CHANGED
@@ -8,14 +8,15 @@ begin
|
|
8
8
|
else
|
9
9
|
di.install "activesupport", ">= 4.0.0"
|
10
10
|
end
|
11
|
+
|
12
|
+
if RUBY_VERSION < "2"
|
13
|
+
di.install "rest-client", "< 2"
|
14
|
+
else
|
15
|
+
di.install "rest-client", "~> 2.0"
|
16
|
+
end
|
11
17
|
rescue => e
|
12
|
-
warn "#{$0}: #{e}"
|
13
|
-
|
14
18
|
exit!
|
15
19
|
end
|
16
|
-
|
17
|
-
puts "Writing fake Rakefile"
|
18
|
-
|
19
20
|
# Write fake Rakefile for rake since Makefile isn't used
|
20
21
|
File.open(File.join(File.dirname(__FILE__), 'Rakefile'), 'w') do |f|
|
21
22
|
f.write("task :default" + $/)
|
data/yandex-api-fotki.gemspec
CHANGED
@@ -21,10 +21,8 @@ Gem::Specification.new do |spec|
|
|
21
21
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
22
22
|
spec.require_paths = ["lib"]
|
23
23
|
|
24
|
-
spec.required_ruby_version = '>=
|
25
|
-
|
26
|
-
spec.add_runtime_dependency "rest-client", "~> 2.0", ">= 2.0.0"
|
27
|
-
# spec.add_runtime_dependency "activesupport", ">= 4.0.0"
|
24
|
+
spec.required_ruby_version = '>= 1.9.3'
|
25
|
+
# install activesupport and rest-client here with ruby specific ruby version
|
28
26
|
spec.extensions << 'ext/mkrf_conf.rb'
|
29
27
|
|
30
28
|
spec.add_development_dependency "bundler", "~> 1.13"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yandex-api-fotki
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- github.com/1v
|
@@ -10,26 +10,6 @@ bindir: exe
|
|
10
10
|
cert_chain: []
|
11
11
|
date: 2016-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: rest-client
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '2.0'
|
20
|
-
- - ">="
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: 2.0.0
|
23
|
-
type: :runtime
|
24
|
-
prerelease: false
|
25
|
-
version_requirements: !ruby/object:Gem::Requirement
|
26
|
-
requirements:
|
27
|
-
- - "~>"
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: '2.0'
|
30
|
-
- - ">="
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: 2.0.0
|
33
13
|
- !ruby/object:Gem::Dependency
|
34
14
|
name: bundler
|
35
15
|
requirement: !ruby/object:Gem::Requirement
|
@@ -136,7 +116,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
136
116
|
requirements:
|
137
117
|
- - ">="
|
138
118
|
- !ruby/object:Gem::Version
|
139
|
-
version:
|
119
|
+
version: 1.9.3
|
140
120
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
141
121
|
requirements:
|
142
122
|
- - ">="
|