syclink 0.1.3 → 0.1.4

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: 9d6c3ff37e01aa4ae674eeb9c75da9686b18aee5
4
- data.tar.gz: b50f860f5caec0e691af99e09785f55ef0726286
3
+ metadata.gz: 40ff743e0e2bae626b25f0588b883b9a4644e2e6
4
+ data.tar.gz: 8b4b75c663e46b204a9f9d49accb041ffdd512fd
5
5
  SHA512:
6
- metadata.gz: 9ed0d10660b41cbd02d1189d529904a33ddef27f60bcf1a188a61ed16787851795b228263c7d47531182bebdb7ef4ee0ecf667075aec8707cd28e042e2672043
7
- data.tar.gz: 28d8eb6b78718f61cdf2a99f52c04c9e78adc19bcf456230ef369cb89e34a75607bd49d09d7174c77e7a8eb7dc3838b3f9f77f30518541ee6de8f9e7c2074dc3
6
+ metadata.gz: f41f7033506333e002a2079ba1828be595fe32306c69d6c0e4058abd467fb6c0e93ada8bb38a1666d34a29fee913bf5b437385e2e8f6ba8ac1eb82384b282e17
7
+ data.tar.gz: f4d7e3934391b0fa7cd4a63a4234e1e69ad36e5dd5d56fa152ab8d763b3cc45b7e8d53a441a4d3f0a915870b8ca77a07206ac3ea635c678f1b8e646471054267
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- syclink (0.1.2)
4
+ syclink (0.1.4)
5
5
  gli (= 2.13.1)
6
6
  sqlite3 (= 1.3.10)
7
7
 
@@ -10,6 +10,7 @@ module SycLink
10
10
  # otherwise 'Error'
11
11
  # #response expects that the including class has an attribute 'url'
12
12
  def response
13
+ return "Error" unless url
13
14
  uri = to_uri(url)
14
15
  uri ? response_of_uri(uri) : response_of_file(url)
15
16
  end
@@ -2,6 +2,6 @@
2
2
  module SycLink
3
3
 
4
4
  # Version of the application
5
- VERSION = '0.1.3'
5
+ VERSION = '0.1.4'
6
6
 
7
7
  end
@@ -18,6 +18,7 @@ spec = Gem::Specification.new do |s|
18
18
  s.rdoc_options << '--title' << 'test' << '--main' << 'README.rdoc' << '-ri'
19
19
  s.bindir = 'bin'
20
20
  s.executables << 'syclink'
21
+ s.required_ruby_version = '>= 2.0'
21
22
  s.add_development_dependency('rspec', '3.3.0')
22
23
  s.add_development_dependency('sass', '3.4.15')
23
24
  s.add_runtime_dependency('gli','2.13.1')
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: syclink
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pierre Sugar
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-24 00:00:00.000000000 Z
11
+ date: 2015-07-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -222,7 +222,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
222
222
  requirements:
223
223
  - - ">="
224
224
  - !ruby/object:Gem::Version
225
- version: '0'
225
+ version: '2.0'
226
226
  required_rubygems_version: !ruby/object:Gem::Requirement
227
227
  requirements:
228
228
  - - ">="