pageflow-react 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +17 -0
- data/.jshintrc +15 -0
- data/CHANGELOG.md +7 -0
- data/Gemfile +10 -0
- data/LICENSE.txt +22 -0
- data/README.md +40 -0
- data/Rakefile +4 -0
- data/app/assets/javascripts/pageflow/react.js +8975 -0
- data/app/assets/javascripts/pageflow/react/components.js +4 -0
- data/app/views/pageflow/react/_widget.html.erb +1 -0
- data/app/views/pageflow/react/page.html.erb +7 -0
- data/js/.eslintrc +33 -0
- data/js/.gitignore +1 -0
- data/js/karma.conf.js +61 -0
- data/js/package.json +43 -0
- data/js/spec/.eslintrc +8 -0
- data/js/spec/components/background_image_spec.js +47 -0
- data/js/spec/components/page_thumbnail_spec.js +213 -0
- data/js/spec/create_container_spec.js +82 -0
- data/js/spec/resolve_spec.js +3 -0
- data/js/spec/resolvers/backbone_model_resolver_spec.js +256 -0
- data/js/spec/resolvers/create_recursive_resolver_spec.js +120 -0
- data/js/spec/resolvers/editor_file_ids_resolver_spec.js +49 -0
- data/js/spec/resolvers/i18n_resolver_spec.js +20 -0
- data/js/spec/resolvers/object_resolver_spec.js +165 -0
- data/js/spec/resolvers/page_type_resolver_spec.js +23 -0
- data/js/spec/resolvers/seed_resolver_spec.js +128 -0
- data/js/spec/stub_spec.js +16 -0
- data/js/spec/support/render_component.js +7 -0
- data/js/src/components/background_image.jsx +60 -0
- data/js/src/components/lazy_background_image.jsx +23 -0
- data/js/src/components/lazy_loaded_page_thumbnail.jsx +19 -0
- data/js/src/components/page_background.jsx +11 -0
- data/js/src/components/page_background_image.jsx +13 -0
- data/js/src/components/page_content.jsx +51 -0
- data/js/src/components/page_header.jsx +15 -0
- data/js/src/components/page_link.jsx +35 -0
- data/js/src/components/page_shadow.jsx +19 -0
- data/js/src/components/page_text.jsx +17 -0
- data/js/src/components/page_thumbnail.jsx +86 -0
- data/js/src/components/page_wrapper.jsx +11 -0
- data/js/src/components/scroller.js +43 -0
- data/js/src/create_container.jsx +53 -0
- data/js/src/create_page.jsx +38 -0
- data/js/src/create_page_component.jsx +45 -0
- data/js/src/create_page_type.js +57 -0
- data/js/src/create_resolver_root.jsx +21 -0
- data/js/src/create_widget.jsx +3 -0
- data/js/src/create_widget_type.js +12 -0
- data/js/src/index.js +69 -0
- data/js/src/mutate.js +17 -0
- data/js/src/mutations/mutation.js +5 -0
- data/js/src/mutations/update_page_link_mutation.js +30 -0
- data/js/src/mutations/update_page_mutation.js +19 -0
- data/js/src/resolve.js +45 -0
- data/js/src/resolvers/backbone_model_resolver.js +118 -0
- data/js/src/resolvers/create_recursive_resolver.js +20 -0
- data/js/src/resolvers/current_parent_page_resolver.js +38 -0
- data/js/src/resolvers/editor_chapter_resolver.js +10 -0
- data/js/src/resolvers/editor_file_ids_resolver.js +30 -0
- data/js/src/resolvers/editor_page_resolver.js +11 -0
- data/js/src/resolvers/i18n_resolver.js +11 -0
- data/js/src/resolvers/object_resolver.js +58 -0
- data/js/src/resolvers/page_type_resolver.js +12 -0
- data/js/src/resolvers/resolver.js +16 -0
- data/js/src/resolvers/seed_chapter_resolver.js +10 -0
- data/js/src/resolvers/seed_file_ids_resolver.js +11 -0
- data/js/src/resolvers/seed_page_resolver.js +11 -0
- data/js/src/resolvers/seed_resolver.js +75 -0
- data/js/src/utils/camelize.js +29 -0
- data/js/webpack.config.js +31 -0
- data/lib/pageflow-react.rb +13 -0
- data/lib/pageflow/react/engine.rb +15 -0
- data/lib/pageflow/react/page_type.rb +16 -0
- data/lib/pageflow/react/version.rb +5 -0
- data/lib/pageflow/react/widget_type.rb +21 -0
- data/pageflow-react.gemspec +29 -0
- metadata +205 -0
metadata
ADDED
@@ -0,0 +1,205 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: pageflow-react
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Tim Fischbach
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-06-09 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: pageflow
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0.10'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0.10'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: react-rails
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 1.6.0
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 1.6.0
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: multi_json
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '1.11'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1.11'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: bundler
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '1.3'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '1.3'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rake
|
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'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: semmy
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0.2'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0.2'
|
97
|
+
description:
|
98
|
+
email:
|
99
|
+
- mail@timfischbach.de
|
100
|
+
executables: []
|
101
|
+
extensions: []
|
102
|
+
extra_rdoc_files: []
|
103
|
+
files:
|
104
|
+
- ".gitignore"
|
105
|
+
- ".jshintrc"
|
106
|
+
- CHANGELOG.md
|
107
|
+
- Gemfile
|
108
|
+
- LICENSE.txt
|
109
|
+
- README.md
|
110
|
+
- Rakefile
|
111
|
+
- app/assets/javascripts/pageflow/react.js
|
112
|
+
- app/assets/javascripts/pageflow/react/components.js
|
113
|
+
- app/views/pageflow/react/_widget.html.erb
|
114
|
+
- app/views/pageflow/react/page.html.erb
|
115
|
+
- js/.eslintrc
|
116
|
+
- js/.gitignore
|
117
|
+
- js/karma.conf.js
|
118
|
+
- js/package.json
|
119
|
+
- js/spec/.eslintrc
|
120
|
+
- js/spec/components/background_image_spec.js
|
121
|
+
- js/spec/components/page_thumbnail_spec.js
|
122
|
+
- js/spec/create_container_spec.js
|
123
|
+
- js/spec/resolve_spec.js
|
124
|
+
- js/spec/resolvers/backbone_model_resolver_spec.js
|
125
|
+
- js/spec/resolvers/create_recursive_resolver_spec.js
|
126
|
+
- js/spec/resolvers/editor_file_ids_resolver_spec.js
|
127
|
+
- js/spec/resolvers/i18n_resolver_spec.js
|
128
|
+
- js/spec/resolvers/object_resolver_spec.js
|
129
|
+
- js/spec/resolvers/page_type_resolver_spec.js
|
130
|
+
- js/spec/resolvers/seed_resolver_spec.js
|
131
|
+
- js/spec/stub_spec.js
|
132
|
+
- js/spec/support/render_component.js
|
133
|
+
- js/src/components/background_image.jsx
|
134
|
+
- js/src/components/lazy_background_image.jsx
|
135
|
+
- js/src/components/lazy_loaded_page_thumbnail.jsx
|
136
|
+
- js/src/components/page_background.jsx
|
137
|
+
- js/src/components/page_background_image.jsx
|
138
|
+
- js/src/components/page_content.jsx
|
139
|
+
- js/src/components/page_header.jsx
|
140
|
+
- js/src/components/page_link.jsx
|
141
|
+
- js/src/components/page_shadow.jsx
|
142
|
+
- js/src/components/page_text.jsx
|
143
|
+
- js/src/components/page_thumbnail.jsx
|
144
|
+
- js/src/components/page_wrapper.jsx
|
145
|
+
- js/src/components/scroller.js
|
146
|
+
- js/src/create_container.jsx
|
147
|
+
- js/src/create_page.jsx
|
148
|
+
- js/src/create_page_component.jsx
|
149
|
+
- js/src/create_page_type.js
|
150
|
+
- js/src/create_resolver_root.jsx
|
151
|
+
- js/src/create_widget.jsx
|
152
|
+
- js/src/create_widget_type.js
|
153
|
+
- js/src/index.js
|
154
|
+
- js/src/mutate.js
|
155
|
+
- js/src/mutations/mutation.js
|
156
|
+
- js/src/mutations/update_page_link_mutation.js
|
157
|
+
- js/src/mutations/update_page_mutation.js
|
158
|
+
- js/src/resolve.js
|
159
|
+
- js/src/resolvers/backbone_model_resolver.js
|
160
|
+
- js/src/resolvers/create_recursive_resolver.js
|
161
|
+
- js/src/resolvers/current_parent_page_resolver.js
|
162
|
+
- js/src/resolvers/editor_chapter_resolver.js
|
163
|
+
- js/src/resolvers/editor_file_ids_resolver.js
|
164
|
+
- js/src/resolvers/editor_page_resolver.js
|
165
|
+
- js/src/resolvers/i18n_resolver.js
|
166
|
+
- js/src/resolvers/object_resolver.js
|
167
|
+
- js/src/resolvers/page_type_resolver.js
|
168
|
+
- js/src/resolvers/resolver.js
|
169
|
+
- js/src/resolvers/seed_chapter_resolver.js
|
170
|
+
- js/src/resolvers/seed_file_ids_resolver.js
|
171
|
+
- js/src/resolvers/seed_page_resolver.js
|
172
|
+
- js/src/resolvers/seed_resolver.js
|
173
|
+
- js/src/utils/camelize.js
|
174
|
+
- js/webpack.config.js
|
175
|
+
- lib/pageflow-react.rb
|
176
|
+
- lib/pageflow/react/engine.rb
|
177
|
+
- lib/pageflow/react/page_type.rb
|
178
|
+
- lib/pageflow/react/version.rb
|
179
|
+
- lib/pageflow/react/widget_type.rb
|
180
|
+
- pageflow-react.gemspec
|
181
|
+
homepage: https://github.com/codevise/pageflow-react
|
182
|
+
licenses:
|
183
|
+
- MIT
|
184
|
+
metadata: {}
|
185
|
+
post_install_message:
|
186
|
+
rdoc_options: []
|
187
|
+
require_paths:
|
188
|
+
- lib
|
189
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
190
|
+
requirements:
|
191
|
+
- - ">="
|
192
|
+
- !ruby/object:Gem::Version
|
193
|
+
version: '0'
|
194
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
195
|
+
requirements:
|
196
|
+
- - ">="
|
197
|
+
- !ruby/object:Gem::Version
|
198
|
+
version: '0'
|
199
|
+
requirements: []
|
200
|
+
rubyforge_project:
|
201
|
+
rubygems_version: 2.2.5
|
202
|
+
signing_key:
|
203
|
+
specification_version: 4
|
204
|
+
summary: Building Pageflow page types with React.js
|
205
|
+
test_files: []
|