artwork 0.4.2 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +9 -0
- data/lib/artwork/version.rb +1 -1
- data/lib/assets/javascripts/artwork.js +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1fa345b69eabe9139eeb79740dfcc21354bb94f2
|
4
|
+
data.tar.gz: cee710b63c1df40d91771243bb0a27ff84716d83
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fdd18e2531a11607452a2c6b18d854f20d24b71a98ac3c394fb33935c469030e59e8a8032e85b2138485d9f457163968257f45ab8564b16ba4a6c390aebfd81d
|
7
|
+
data.tar.gz: 898a848c85d23bfa161df490879082c98f899965ca3c33c5ac0c0d388c0a0dcc9b7b1d91bcb5e8d0e6a706926adf00bc1ac80bb8bd3ff3775b0996eb16023976
|
data/README.md
CHANGED
@@ -60,6 +60,15 @@ Add the following line at the top of your `<head>` section:
|
|
60
60
|
|
61
61
|
<%= activate_resolution_independence %>
|
62
62
|
|
63
|
+
This will add a script which will set the cookie with the dimentions and
|
64
|
+
reload the current page. If the dimentions need updating, it will do the same thing.
|
65
|
+
|
66
|
+
This reloading causes some browsers to display unstyled html,
|
67
|
+
so you could prevent this if you add (*ABOVE* the top script):
|
68
|
+
|
69
|
+
<style> .artwork-reload-splash body { display: none; } </style>
|
70
|
+
<%= activate_resolution_independence %>
|
71
|
+
|
63
72
|
## Configuration
|
64
73
|
|
65
74
|
Set the following variables in an app initializer:
|
data/lib/artwork/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: artwork
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dimitar Dimitrov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-11-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|