storys 0.0.6 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/app/css/app.css +2 -1
- data/app/js/jquery.twoup.js +3 -3
- data/lib/storys/version.rb +1 -1
- metadata +35 -22
- checksums.yaml +0 -7
data/app/css/app.css
CHANGED
data/app/js/jquery.twoup.js
CHANGED
@@ -56,7 +56,7 @@
|
|
56
56
|
|
57
57
|
twoup.columns = function() {
|
58
58
|
if(twoup.enabled()) {
|
59
|
-
return Math.max(1, Math.floor($(window).width() / (
|
59
|
+
return Math.max(1, Math.floor($(window).width() / (26 * padding_width)));
|
60
60
|
}
|
61
61
|
else {
|
62
62
|
return 1;
|
@@ -65,7 +65,7 @@
|
|
65
65
|
|
66
66
|
twoup.column_width = function() {
|
67
67
|
if(twoup.enabled()) {
|
68
|
-
return parseInt(content.css("-webkit-column-width") || content.css("-moz-column-width") || content.css("column-width"));
|
68
|
+
return parseInt(content.css("-webkit-column-width") || content.css("-moz-column-width") || content.css("column-width"));
|
69
69
|
}
|
70
70
|
else {
|
71
71
|
return content.width();
|
@@ -82,7 +82,7 @@
|
|
82
82
|
};
|
83
83
|
|
84
84
|
twoup.bound_page_number = function(number) {
|
85
|
-
var index = parseInt(number);
|
85
|
+
var index = parseInt(number);
|
86
86
|
if(isNaN(index) || index < 1) index = 1;
|
87
87
|
if(index > twoup.pages()) index = twoup.pages();
|
88
88
|
|
data/lib/storys/version.rb
CHANGED
metadata
CHANGED
@@ -1,97 +1,110 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: storys
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Brenton "B-Train" Fletcher
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2014-
|
12
|
+
date: 2014-07-15 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: bundler
|
15
16
|
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
16
18
|
requirements:
|
17
|
-
- -
|
19
|
+
- - ! '>='
|
18
20
|
- !ruby/object:Gem::Version
|
19
21
|
version: 1.0.0
|
20
22
|
type: :development
|
21
23
|
prerelease: false
|
22
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
23
26
|
requirements:
|
24
|
-
- -
|
27
|
+
- - ! '>='
|
25
28
|
- !ruby/object:Gem::Version
|
26
29
|
version: 1.0.0
|
27
30
|
- !ruby/object:Gem::Dependency
|
28
31
|
name: rspec
|
29
32
|
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
30
34
|
requirements:
|
31
|
-
- -
|
35
|
+
- - ! '>='
|
32
36
|
- !ruby/object:Gem::Version
|
33
37
|
version: 2.14.1
|
34
38
|
type: :development
|
35
39
|
prerelease: false
|
36
40
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
37
42
|
requirements:
|
38
|
-
- -
|
43
|
+
- - ! '>='
|
39
44
|
- !ruby/object:Gem::Version
|
40
45
|
version: 2.14.1
|
41
46
|
- !ruby/object:Gem::Dependency
|
42
47
|
name: factory_girl
|
43
48
|
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
44
50
|
requirements:
|
45
|
-
- -
|
51
|
+
- - ! '>='
|
46
52
|
- !ruby/object:Gem::Version
|
47
53
|
version: 4.4.0
|
48
54
|
type: :development
|
49
55
|
prerelease: false
|
50
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
51
58
|
requirements:
|
52
|
-
- -
|
59
|
+
- - ! '>='
|
53
60
|
- !ruby/object:Gem::Version
|
54
61
|
version: 4.4.0
|
55
62
|
- !ruby/object:Gem::Dependency
|
56
63
|
name: nsf
|
57
64
|
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
58
66
|
requirements:
|
59
|
-
- -
|
67
|
+
- - ! '>='
|
60
68
|
- !ruby/object:Gem::Version
|
61
69
|
version: '0'
|
62
70
|
type: :runtime
|
63
71
|
prerelease: false
|
64
72
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
65
74
|
requirements:
|
66
|
-
- -
|
75
|
+
- - ! '>='
|
67
76
|
- !ruby/object:Gem::Version
|
68
77
|
version: '0'
|
69
78
|
- !ruby/object:Gem::Dependency
|
70
79
|
name: addressable
|
71
80
|
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
72
82
|
requirements:
|
73
|
-
- -
|
83
|
+
- - ! '>='
|
74
84
|
- !ruby/object:Gem::Version
|
75
85
|
version: 2.3.5
|
76
86
|
type: :runtime
|
77
87
|
prerelease: false
|
78
88
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
79
90
|
requirements:
|
80
|
-
- -
|
91
|
+
- - ! '>='
|
81
92
|
- !ruby/object:Gem::Version
|
82
93
|
version: 2.3.5
|
83
94
|
- !ruby/object:Gem::Dependency
|
84
95
|
name: naturally
|
85
96
|
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
86
98
|
requirements:
|
87
|
-
- -
|
99
|
+
- - ! '>='
|
88
100
|
- !ruby/object:Gem::Version
|
89
101
|
version: 1.0.3
|
90
102
|
type: :runtime
|
91
103
|
prerelease: false
|
92
104
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
93
106
|
requirements:
|
94
|
-
- -
|
107
|
+
- - ! '>='
|
95
108
|
- !ruby/object:Gem::Version
|
96
109
|
version: 1.0.3
|
97
110
|
description: A collection of stories is a directory (the container) containing 1..*
|
@@ -107,8 +120,8 @@ executables:
|
|
107
120
|
extensions: []
|
108
121
|
extra_rdoc_files: []
|
109
122
|
files:
|
110
|
-
-
|
111
|
-
-
|
123
|
+
- .gitignore
|
124
|
+
- .rspec
|
112
125
|
- Gemfile
|
113
126
|
- Gemfile.lock
|
114
127
|
- LICENSE
|
@@ -149,27 +162,27 @@ files:
|
|
149
162
|
- storys.gemspec
|
150
163
|
homepage: http://github.com/bloopletech/storys
|
151
164
|
licenses: []
|
152
|
-
metadata: {}
|
153
165
|
post_install_message:
|
154
166
|
rdoc_options: []
|
155
167
|
require_paths:
|
156
168
|
- lib
|
157
169
|
required_ruby_version: !ruby/object:Gem::Requirement
|
170
|
+
none: false
|
158
171
|
requirements:
|
159
|
-
- -
|
172
|
+
- - ! '>='
|
160
173
|
- !ruby/object:Gem::Version
|
161
174
|
version: '0'
|
162
175
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
176
|
+
none: false
|
163
177
|
requirements:
|
164
|
-
- -
|
178
|
+
- - ! '>='
|
165
179
|
- !ruby/object:Gem::Version
|
166
180
|
version: 1.3.6
|
167
181
|
requirements: []
|
168
182
|
rubyforge_project: storys
|
169
|
-
rubygems_version:
|
183
|
+
rubygems_version: 1.8.25
|
170
184
|
signing_key:
|
171
|
-
specification_version:
|
185
|
+
specification_version: 3
|
172
186
|
summary: Storys indexes a collection of stories and generates a SPA that browses the
|
173
187
|
collection.
|
174
188
|
test_files: []
|
175
|
-
has_rdoc:
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: 7f5b8b4399999c85796678cc4ed19958959de6d1
|
4
|
-
data.tar.gz: 591c381257b0a0501e6ed676eb72e34a93c5512f
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: d982d1c380777412f5a12b8b01716aa1d3856407656db5903fae2089461d052d2dda5cf8e5c36b970e85dc5fa4fb75983f39581375efd23c6927521dc4a50c4f
|
7
|
-
data.tar.gz: 187bca2bf0bdc6e4df2349c9f138e5654b1c0f5bc40428ec53d213aafe7ab3c74ba7fe53cf49e90179e5b129be67d30ffaa8fd6fd37a1fccd0061af4314e1fc2
|