iiif_url 0.0.2 → 0.0.3

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: d53ebf5b4faff0adc10e4c6c4eab1b536fefcb7f
4
- data.tar.gz: eaf05909652d3e33da4402ac6c52a78c66ca1d93
3
+ metadata.gz: 43225514c49ca7ce15f1fbc143fe732cac5387d4
4
+ data.tar.gz: 7bb04eb3e9796a25f89dfaad36661c716aa2dc15
5
5
  SHA512:
6
- metadata.gz: 2a98fd31dad51dc0fff1f29ad1f5ac6432182b8c4f833da2bf47d2bfe8bc03a6ac03c18468da3bc589235997404bda7b97b514f88223abe08ca951d01afe4463
7
- data.tar.gz: bd9c51c255f47aefded64f4aa4768a5dc03a74757aeb6ad31c2ef5ae4578b8c9e2d8026c36b61455273fac168188c1edcde23890a0fac292114cfc8c4c58a4bf
6
+ metadata.gz: e178d54bac884a32646cd6eb4a24f1d81935c13dd1813d8e26e1eaa35d2a1e86f0fedfc2701c44b5eb03ec71f95fe81a6159268ed2b2aad14adfd21701f50e5e
7
+ data.tar.gz: 5d5ce9d4070584ff464cfcfe83b282c36973761bfe71e027895a1f7255485dcabae66511b66c420ab31c86256f1a41d82e6032c6c035b0323f416b20a20fa386
data/.travis.yml CHANGED
@@ -1,4 +1,5 @@
1
1
  language: ruby
2
2
  rvm:
3
+ - 2.1.5
3
4
  - 2.2.1
4
5
  before_install: gem install bundler -v 1.11.2
data/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  Create and parse IIIF Image API URLs
4
4
 
5
+ ![travis build status](https://travis-ci.org/NCSU-Libraries/iiif_url.svg?branch=master)
6
+
5
7
  ## Installation
6
8
 
7
9
  Add this line to your application's Gemfile:
data/Rakefile CHANGED
@@ -7,4 +7,4 @@ Rake::TestTask.new(:test) do |t|
7
7
  t.test_files = FileList['test/**/*_test.rb']
8
8
  end
9
9
 
10
- task :default => :spec
10
+ task :default => :test
data/iiif_url.gemspec CHANGED
@@ -23,4 +23,5 @@ Gem::Specification.new do |spec|
23
23
  spec.add_development_dependency "rake", "~> 10.0"
24
24
  spec.add_development_dependency "minitest", "~> 5.0"
25
25
  spec.add_development_dependency "colorize"
26
+ spec.add_development_dependency "simplecov"
26
27
  end
data/lib/iiif_url.rb CHANGED
@@ -46,6 +46,10 @@ class IiifUrl
46
46
  @@base_url = base_url
47
47
  end
48
48
 
49
+ def self.base_url
50
+ @@base_url
51
+ end
52
+
49
53
  def self.from_params(params={})
50
54
  base_url = params[:base_url]
51
55
  if base_url == false
@@ -1,3 +1,3 @@
1
1
  class IiifUrl
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iiif_url
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Ronallo
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-03-13 00:00:00.000000000 Z
11
+ date: 2016-03-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -66,6 +66,20 @@ dependencies:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: simplecov
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
69
83
  description: Create IIIF Image API URLs from parameters; parse IIIF Image API URLs
70
84
  into parameters.
71
85
  email: