frails 0.5.0 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.autotest +6 -0
- data/.gitignore +8 -1
- data/.rubocop.yml +10 -1
- data/Gemfile +6 -8
- data/Gemfile.lock +64 -109
- data/README.md +18 -27
- data/Rakefile +1 -1
- data/babel.config.js +12 -0
- data/bin/test +5 -3
- data/config.ru +9 -0
- data/frails.gemspec +5 -13
- data/index.js +10 -31
- data/lib/frails.rb +33 -9
- data/lib/frails/component.rb +16 -5
- data/lib/frails/component/{abstract_component.rb → abstract.rb} +11 -9
- data/lib/frails/component/{plain_component.rb → base.rb} +7 -3
- data/lib/frails/component/{react_component.rb → react.rb} +3 -5
- data/lib/frails/component/{react_component_renderer.rb → react_renderer.rb} +22 -16
- data/lib/frails/component/{component_renderer.rb → renderer.rb} +34 -5
- data/lib/frails/component/renderer_concerns.rb +10 -4
- data/lib/frails/component/test_helpers.rb +19 -0
- data/lib/frails/dev_server.rb +2 -2
- data/lib/frails/helper.rb +9 -4
- data/lib/frails/log_subscriber.rb +1 -1
- data/lib/frails/manifest.rb +3 -7
- data/lib/frails/monkey/action_view/partial_renderer.rb +18 -5
- data/lib/frails/monkey/action_view/renderer.rb +6 -7
- data/lib/frails/railtie.rb +4 -4
- data/lib/frails/utils.rb +22 -0
- data/lib/frails/version.rb +1 -1
- data/lib/tasks/frails.rake +1 -6
- data/package.json +18 -4
- data/package/__snapshots__/config.test.js.snap +10 -0
- data/package/components.js +34 -24
- data/package/config.js +29 -0
- data/package/side_load.js +7 -5
- data/yarn.lock +4283 -51
- metadata +27 -21
- data/.travis.yml +0 -7
metadata
CHANGED
@@ -1,57 +1,57 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: frails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joel Moss
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-08-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: activesupport
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: '6.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: '6.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: nokogiri
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 1.10.4
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 1.10.4
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: rack-proxy
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: 0.6.5
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: 0.6.5
|
55
55
|
description:
|
56
56
|
email:
|
57
57
|
- joel@developwithstyle.com
|
@@ -59,28 +59,31 @@ executables: []
|
|
59
59
|
extensions: []
|
60
60
|
extra_rdoc_files: []
|
61
61
|
files:
|
62
|
+
- ".autotest"
|
62
63
|
- ".github/ISSUE_TEMPLATE/bug_report.md"
|
63
64
|
- ".github/ISSUE_TEMPLATE/feature_request.md"
|
64
65
|
- ".gitignore"
|
65
66
|
- ".rubocop.yml"
|
66
|
-
- ".travis.yml"
|
67
67
|
- Gemfile
|
68
68
|
- Gemfile.lock
|
69
69
|
- README.md
|
70
70
|
- Rakefile
|
71
|
+
- babel.config.js
|
71
72
|
- bin/console
|
72
73
|
- bin/setup
|
73
74
|
- bin/test
|
75
|
+
- config.ru
|
74
76
|
- frails.gemspec
|
75
77
|
- index.js
|
76
78
|
- lib/frails.rb
|
77
79
|
- lib/frails/component.rb
|
78
|
-
- lib/frails/component/
|
79
|
-
- lib/frails/component/
|
80
|
-
- lib/frails/component/
|
81
|
-
- lib/frails/component/
|
82
|
-
- lib/frails/component/
|
80
|
+
- lib/frails/component/abstract.rb
|
81
|
+
- lib/frails/component/base.rb
|
82
|
+
- lib/frails/component/react.rb
|
83
|
+
- lib/frails/component/react_renderer.rb
|
84
|
+
- lib/frails/component/renderer.rb
|
83
85
|
- lib/frails/component/renderer_concerns.rb
|
86
|
+
- lib/frails/component/test_helpers.rb
|
84
87
|
- lib/frails/dev_server.rb
|
85
88
|
- lib/frails/dev_server_proxy.rb
|
86
89
|
- lib/frails/helper.rb
|
@@ -93,17 +96,20 @@ files:
|
|
93
96
|
- lib/frails/monkey/action_view/template_renderer.rb
|
94
97
|
- lib/frails/railtie.rb
|
95
98
|
- lib/frails/side_load_assets.rb
|
99
|
+
- lib/frails/utils.rb
|
96
100
|
- lib/frails/version.rb
|
97
101
|
- lib/install/template.rb
|
98
102
|
- lib/tasks/frails.rake
|
99
103
|
- package.json
|
104
|
+
- package/__snapshots__/config.test.js.snap
|
100
105
|
- package/components.js
|
106
|
+
- package/config.js
|
101
107
|
- package/side_load.js
|
102
108
|
- yarn.lock
|
103
109
|
homepage: https://github.com/joelmoss/frails
|
104
|
-
licenses:
|
110
|
+
licenses:
|
111
|
+
- MIT
|
105
112
|
metadata:
|
106
|
-
allowed_push_host: https://rubygems.org
|
107
113
|
homepage_uri: https://github.com/joelmoss/frails
|
108
114
|
source_code_uri: https://github.com/joelmoss/frails
|
109
115
|
changelog_uri: https://github.com/joelmoss/frails/releases
|
@@ -115,14 +121,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
115
121
|
requirements:
|
116
122
|
- - ">="
|
117
123
|
- !ruby/object:Gem::Version
|
118
|
-
version:
|
124
|
+
version: 2.3.0
|
119
125
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
120
126
|
requirements:
|
121
127
|
- - ">="
|
122
128
|
- !ruby/object:Gem::Version
|
123
129
|
version: '0'
|
124
130
|
requirements: []
|
125
|
-
rubygems_version: 3.
|
131
|
+
rubygems_version: 3.1.2
|
126
132
|
signing_key:
|
127
133
|
specification_version: 4
|
128
134
|
summary: A Modern [F]ront End on [Rails] and Webpack
|