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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2d5815f0f22d3da5bb5c0ec4dae960617a017073
4
- data.tar.gz: e83714d81c7df07d09270703f11be8f05eca9834
3
+ metadata.gz: 222b09c98b4abae09257a595ee36762b6e3fa4fc
4
+ data.tar.gz: 8ecac7b02d615523da290be0e4612b5b4266e152
5
5
  SHA512:
6
- metadata.gz: 6afed212369059d2893753e2101cf634bb9e518e0bd71637f998169d629fece226ae5c034bffd6bb1045128ba20ea37def8ffaf14621fc04eeada07ab04a3bb6
7
- data.tar.gz: 0826e6c31773fdecd48973c09a8e9c2ce25799c173a65d9e826a29ebee14220744006b77e68baa56dbce2e2cb7fb1e76cdddbe9827cf8e4f2dcc144cccc52f32
6
+ metadata.gz: d827230a2332ffb43870ca77fca8a58f467cf4932f7265115a6d18508d3efe398678234076db550e4ee955733e8228556757f095fc8cad6babdb4485ef605856
7
+ data.tar.gz: 6fb696e6d61003a69fd3db3d81118b86a423ffb29ad9e3642495baeb215921e98a646e47826bfab496033e79d1dabe097328aa6da415796463ebda006bce4601
data/.travis.yml CHANGED
@@ -1,6 +1,7 @@
1
1
  sudo: false
2
2
  language: ruby
3
3
  rvm:
4
+ - 1.9.3
4
5
  - 2.0.0
5
6
  - 2.1.7
6
7
  - 2.2.1
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
@@ -10,7 +10,7 @@ API wrapper for Yandex Fotki
10
10
 
11
11
  ## Requirements
12
12
 
13
- * Ruby >= 2.0.0 (create [new issue](https://github.com/1v/yandex-api-fotki/issues/new) if you need 1.9.3)
13
+ * Ruby >= 1.9.3
14
14
 
15
15
  ## Installation
16
16
 
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" + $/)
@@ -1,7 +1,7 @@
1
1
  module Yandex
2
2
  module API
3
3
  module Fotki
4
- VERSION = "0.1.6"
4
+ VERSION = '0.1.7'
5
5
  end
6
6
  end
7
7
  end
@@ -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 = '>= 2.0.0'
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.6
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: 2.0.0
119
+ version: 1.9.3
140
120
  required_rubygems_version: !ruby/object:Gem::Requirement
141
121
  requirements:
142
122
  - - ">="