geoblacklight_sidecar_images 0.0.1 → 0.0.2

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: cfcec3b4ccabd5199870f71065581b36519871d9
4
- data.tar.gz: 4a9fa25df1b4e570956a310b6af83bde3339086c
3
+ metadata.gz: cc93c6c4a8f6d2660d5b56b672c6cf1c335a3b2f
4
+ data.tar.gz: 2e0427f83e4e4a4046de0717ade4bf356ed08779
5
5
  SHA512:
6
- metadata.gz: 421f88d57ffd7309e4e08749385d2396b8b89339a9ef2d995051e42e8154c2d3e17f9248148df083e4f24c5827181eb822458baf9553b089c4289cfa9d344510
7
- data.tar.gz: 003e322064e9e82393311c9445efd8205687634c12524054bc99df7e0340ab03181424d46763972b9b4265fd76db0537c3bddf10d3efa728911f2431ba9289cc
6
+ metadata.gz: 9693ebfde32f4c886734d1a42aa65b2027cec8093d9d3720bfb2903642d4cf036ab5a830a280234852ff3038d7fe29076672bb9dc34a9ee5ca616957a890438d
7
+ data.tar.gz: ed64611169594cfbdd8e83f8823a3df3f5ac31caa49d21293d32f276cb0ba9dbd07935da0055ff88b29a623a306942aa5a5f268714c937f4dc514718565ac95b
data/.gitignore CHANGED
@@ -1,3 +1,4 @@
1
+ *.gem
1
2
  .bundle/
2
3
  log/*.log
3
4
  pkg/
data/README.md CHANGED
@@ -11,30 +11,69 @@ This GeoBlacklight plugin helps capture remote images from geo web services and
11
11
 
12
12
  ## Requirements
13
13
 
14
- * [Blacklight](https://github.com/projectblacklight/blacklight/)
15
14
  * [GeoBlacklight](https://github.com/geoblacklight/geoblacklight)
16
15
  * [ImageMagick](https://github.com/ImageMagick/ImageMagick)
17
16
 
18
17
  ## Installation
19
18
 
20
- Forthcoming
19
+ ### Existing GeoBlacklight Instance
21
20
 
22
- ## Development
21
+ Add the gem to your Gemfile.
23
22
 
24
- bundle exec rake ci
25
- cd .internal_test_app/
26
- rake geoblacklight:server
23
+ ```ruby
24
+ gem 'geoblacklight_sidecar_images'
25
+ ```
26
+
27
+ Run the generator.
28
+
29
+ ```bash
30
+ $ bin/rails generate geoblacklight_sidecar_images:install
31
+ ```
32
+
33
+ Run the database migration.
34
+
35
+ ```bash
36
+ $ bin/rails db:migrate
37
+ ```
38
+
39
+ ### New GeoBlacklight Instance
40
+
41
+ Create a new GeoBlacklight instance with the GBLSI code
42
+
43
+ ```bash
44
+ $ rails new app-name -m https://raw.githubusercontent.com/ewlarson/geoblacklight_sidecar_images/master/template.rb
45
+
46
+ ```
27
47
 
28
48
  ### Ingest Test Documents
49
+
50
+ ```bash
29
51
  rake geoblacklight_sidecar_images:sample_data:ingest['<FULL_PATH_TO>/geoblacklight_sidecar_images/spec/fixtures/files']
52
+ ```
30
53
 
31
54
  ### Cache images
32
55
 
33
56
  #### All Thumbnails
57
+
58
+ ```bash
34
59
  rake geoblacklight_sidecar_images:images:precache_all
60
+ ```
35
61
 
36
62
  #### Individual Thumbnail
63
+
64
+ ```bash
37
65
  rake geoblacklight_sidecar_images:images:precache_id['minnesota-iiif-jpg-83f4648a-125c-4000-a12f-aba2b432e7cd']
66
+ ```
67
+
68
+ ## Development
69
+
70
+ ```bash
71
+ bundle exec rake ci
72
+ cd .internal_test_app/
73
+ rake geoblacklight:server
74
+ ```
75
+
76
+ Now you'll have an instance of GBLSI running. Follow the rake tasks above to ingest some data and harvest thumbnails.
38
77
 
39
78
  ## TODOs
40
79
 
@@ -18,10 +18,9 @@ Gem::Specification.new do |s|
18
18
  s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
19
19
  s.require_paths = ['lib']
20
20
 
21
- s.add_dependency 'aasm'
22
- s.add_dependency 'carrierwave'
21
+ s.add_dependency 'carrierwave', '~> 1.2'
23
22
  s.add_dependency 'geoblacklight', '~> 1.7'
24
- s.add_dependency 'mini_magick'
23
+ s.add_dependency 'mini_magick', '~> 4.8'
25
24
  s.add_dependency 'rails', '>= 4.2', '< 6'
26
25
 
27
26
  s.add_development_dependency 'byebug'
@@ -1,3 +1,3 @@
1
1
  module GeoblacklightSidecarImages
2
- VERSION = '0.0.1'.freeze
2
+ VERSION = '0.0.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: geoblacklight_sidecar_images
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Larson
@@ -11,34 +11,20 @@ bindir: bin
11
11
  cert_chain: []
12
12
  date: 2018-03-07 00:00:00.000000000 Z
13
13
  dependencies:
14
- - !ruby/object:Gem::Dependency
15
- name: aasm
16
- requirement: !ruby/object:Gem::Requirement
17
- requirements:
18
- - - ">="
19
- - !ruby/object:Gem::Version
20
- version: '0'
21
- type: :runtime
22
- prerelease: false
23
- version_requirements: !ruby/object:Gem::Requirement
24
- requirements:
25
- - - ">="
26
- - !ruby/object:Gem::Version
27
- version: '0'
28
14
  - !ruby/object:Gem::Dependency
29
15
  name: carrierwave
30
16
  requirement: !ruby/object:Gem::Requirement
31
17
  requirements:
32
- - - ">="
18
+ - - "~>"
33
19
  - !ruby/object:Gem::Version
34
- version: '0'
20
+ version: '1.2'
35
21
  type: :runtime
36
22
  prerelease: false
37
23
  version_requirements: !ruby/object:Gem::Requirement
38
24
  requirements:
39
- - - ">="
25
+ - - "~>"
40
26
  - !ruby/object:Gem::Version
41
- version: '0'
27
+ version: '1.2'
42
28
  - !ruby/object:Gem::Dependency
43
29
  name: geoblacklight
44
30
  requirement: !ruby/object:Gem::Requirement
@@ -57,16 +43,16 @@ dependencies:
57
43
  name: mini_magick
58
44
  requirement: !ruby/object:Gem::Requirement
59
45
  requirements:
60
- - - ">="
46
+ - - "~>"
61
47
  - !ruby/object:Gem::Version
62
- version: '0'
48
+ version: '4.8'
63
49
  type: :runtime
64
50
  prerelease: false
65
51
  version_requirements: !ruby/object:Gem::Requirement
66
52
  requirements:
67
- - - ">="
53
+ - - "~>"
68
54
  - !ruby/object:Gem::Version
69
- version: '0'
55
+ version: '4.8'
70
56
  - !ruby/object:Gem::Dependency
71
57
  name: rails
72
58
  requirement: !ruby/object:Gem::Requirement