mirador_rails 0.2.0 → 0.2.1

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: 768cc9b6ebef06721c8abbd035f2c7638f57de3e
4
- data.tar.gz: eceb47d81676ed41406fce41cc692473b5614f5f
3
+ metadata.gz: 2d8457aacdac506db891360e5a10d0173052cbc4
4
+ data.tar.gz: 461e540aeb11328913a11e1b28dcab1f722a4479
5
5
  SHA512:
6
- metadata.gz: 96a6c68f3c6f6c9097ac485a36b8f531af0a12a76927b667b0e60158bcd8a4c7c5365bf195cfa79161597f78e3461f4235a23b7227e0c92de471f3558d5bd12c
7
- data.tar.gz: 50e7a3c748eeac6f51ec033c681b4d2b87229205b0e96c970d8aa2199265c71b3b31f44dcfaa4723f6f09cde6b70094fe9e1480f12e0176c734d65f2b1af622d
6
+ metadata.gz: 5a0bf069a789b6004fb9552c66727dfdfd0d8df8a9803c11345d3abe7ebabf12bb040c0d133f4e3ccdaceac30942ec7cfe4ce0811a67886e94af013dcf52748b
7
+ data.tar.gz: c43e01515ffb2e0bb9e16b675ec62264e70c33ddd1e7763556d44d035e3277492e9b58d6bda81e235baf12255816b07d60d5f523bc90b8d083a134ce1619e8a5
data/README.md CHANGED
@@ -38,6 +38,23 @@ And the css
38
38
 
39
39
  You may not want to do this in your application.js, as the JavaScript by itself may add over 1.8MB to your application.js payload.
40
40
 
41
+ ### Initialize mirador in a view
42
+
43
+ ```erb
44
+ <%= mirador_tag() %>
45
+ ```
46
+
47
+ The `mirador_tag` method takes several arguments which allow for customization of the mirador view.
48
+
49
+ ```ruby
50
+ # @param [String] id
51
+ # @param [String] height
52
+ # @param [String] width
53
+ # @param [String] position
54
+ # @param [String] display
55
+ # @param [Hash] options Mirador settings
56
+ ```
57
+
41
58
  ## Development
42
59
 
43
60
  After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
@@ -1,3 +1,3 @@
1
1
  module MiradorRails
2
- VERSION = '0.2.0'
2
+ VERSION = '0.2.1'
3
3
  end
@@ -3,9 +3,4 @@
3
3
  *= require material_icons
4
4
  *= require mirador-combined
5
5
  */
6
-
7
- /*.mirador-rails-viewer {
8
- /*height: 100%;
9
- width: 100%;
10
- /*position: fixed;*/*/
11
- }*/
6
+ /*
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mirador_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jack Reed
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-02-24 00:00:00.000000000 Z
11
+ date: 2017-02-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: font-awesome-rails