yandex-api-fotki 0.1.7 → 0.1.8

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: 222b09c98b4abae09257a595ee36762b6e3fa4fc
4
- data.tar.gz: 8ecac7b02d615523da290be0e4612b5b4266e152
3
+ metadata.gz: f658c42a0978afd21243e60a46e03bb38111cdb4
4
+ data.tar.gz: 6eb6afcb257996a799ff93ba07b94a4d6ec49c1f
5
5
  SHA512:
6
- metadata.gz: d827230a2332ffb43870ca77fca8a58f467cf4932f7265115a6d18508d3efe398678234076db550e4ee955733e8228556757f095fc8cad6babdb4485ef605856
7
- data.tar.gz: 6fb696e6d61003a69fd3db3d81118b86a423ffb29ad9e3642495baeb215921e98a646e47826bfab496033e79d1dabe097328aa6da415796463ebda006bce4601
6
+ metadata.gz: 933cb2beb7f03f2e39a72206b3e129e5691f1d8242af5db24b768d1152adae9a3fb293d4f105b3dd628f28c9d552c20e8de191c2afda6d8f463f10ff8073080c
7
+ data.tar.gz: 4a57727541730e17e4b2d2d78b74a1019d78d2d375ff62fe27f72daf4781adc53f061689976dbead0a4a911137798c74b72705f8c6630ff569642464eb2b512d
data/.travis.yml CHANGED
@@ -3,9 +3,8 @@ language: ruby
3
3
  rvm:
4
4
  - 1.9.3
5
5
  - 2.0.0
6
- - 2.1.7
7
- - 2.2.1
8
- - 2.2.3
6
+ - 2.1.10
7
+ - 2.2.5
9
8
  - 2.3.1
10
9
  before_install: gem install bundler
11
10
  addons:
data/Gemfile CHANGED
@@ -1,8 +1,8 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
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"
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
6
  end
7
7
 
8
8
  # Specify your gem's dependencies in yandex-api-fotki.gemspec
@@ -1,7 +1,7 @@
1
1
  require 'rest-client'
2
2
  require 'active_support/core_ext/hash/conversions'
3
3
 
4
- require "yandex/api/fotki/version"
4
+ require 'yandex/api/fotki/version'
5
5
 
6
6
  module Yandex
7
7
  module API
@@ -1,7 +1,7 @@
1
1
  module Yandex
2
2
  module API
3
3
  module Fotki
4
- VERSION = '0.1.7'
4
+ VERSION = '0.1.8'
5
5
  end
6
6
  end
7
7
  end
@@ -20,10 +20,11 @@ Gem::Specification.new do |spec|
20
20
  spec.bindir = "exe"
21
21
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
22
22
  spec.require_paths = ["lib"]
23
-
23
+
24
24
  spec.required_ruby_version = '>= 1.9.3'
25
- # install activesupport and rest-client here with ruby specific ruby version
26
- spec.extensions << 'ext/mkrf_conf.rb'
25
+
26
+ spec.add_runtime_dependency "activesupport", ">= 4.0.0"
27
+ spec.add_runtime_dependency "rest-client", ">= 1.8.0"
27
28
 
28
29
  spec.add_development_dependency "bundler", "~> 1.13"
29
30
  spec.add_development_dependency "rake", "~> 10.0"
metadata CHANGED
@@ -1,15 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yandex-api-fotki
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - github.com/1v
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-11-08 00:00:00.000000000 Z
11
+ date: 2016-11-09 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: activesupport
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 4.0.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 4.0.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: rest-client
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 1.8.0
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: 1.8.0
13
41
  - !ruby/object:Gem::Dependency
14
42
  name: bundler
15
43
  requirement: !ruby/object:Gem::Requirement
@@ -84,8 +112,7 @@ description: Yandex Fotki API wrapper
84
112
  email:
85
113
  - forwardin@yandex.ru
86
114
  executables: []
87
- extensions:
88
- - ext/mkrf_conf.rb
115
+ extensions: []
89
116
  extra_rdoc_files: []
90
117
  files:
91
118
  - ".codeclimate.yml"
@@ -99,7 +126,6 @@ files:
99
126
  - Rakefile
100
127
  - bin/console
101
128
  - bin/setup
102
- - ext/mkrf_conf.rb
103
129
  - lib/yandex-api-fotki.rb
104
130
  - lib/yandex/api/fotki.rb
105
131
  - lib/yandex/api/fotki/version.rb
data/ext/mkrf_conf.rb DELETED
@@ -1,23 +0,0 @@
1
- require 'rubygems/dependency_installer'
2
-
3
- di = Gem::DependencyInstaller.new
4
-
5
- begin
6
- if RUBY_VERSION < "2.2.2"
7
- di.install "activesupport", "< 5"
8
- else
9
- di.install "activesupport", ">= 4.0.0"
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
17
- rescue => e
18
- exit!
19
- end
20
- # Write fake Rakefile for rake since Makefile isn't used
21
- File.open(File.join(File.dirname(__FILE__), 'Rakefile'), 'w') do |f|
22
- f.write("task :default" + $/)
23
- end