abyme 0.6.4 → 0.6.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +108 -51
- data/Gemfile.lock +100 -93
- data/abyme.gemspec +2 -2
- data/lib/abyme/version.rb +1 -1
- data/lib/abyme/view_helpers.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 380781ef1fe05c0f22184cda0d225b5be7d26d1c79f32bb8d79b9245cb33fb3d
|
4
|
+
data.tar.gz: 8f91337ca76f7bfe75440191cb517fe577484f18a76bb00151cae93f289db0cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c436e9f762efcba90ba2a1350af131c37f1e4225ba55529b634760e01a3173512d7395359eba6c2b25b5c06b078b731732e90776c5375ee847f77268ac39e42d
|
7
|
+
data.tar.gz: a355cb770cafe56942a31232afeae185855b15f27e1f6a923840ef41c8fe880f805c624993121bf2fd0c31db540185b2c2d98eb2189f8fa7487afbb1b5f1ef46
|
data/CHANGELOG.md
CHANGED
@@ -1,113 +1,170 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
-
## [
|
3
|
+
## [v0.6.4](https://github.com/eki-177/abyme/tree/v0.6.4) (2021-07-03)
|
4
4
|
|
5
|
-
[Full Changelog](https://github.com/
|
5
|
+
[Full Changelog](https://github.com/eki-177/abyme/compare/v0.6.3...v0.6.4)
|
6
6
|
|
7
7
|
**Merged pull requests:**
|
8
8
|
|
9
|
-
-
|
9
|
+
- Use simple\_fields\_for inside a SimpleForm::FormBuilder [\#38](https://github.com/eki-177/abyme/pull/38) ([bear-in-mind](https://github.com/bear-in-mind))
|
10
10
|
|
11
|
-
## [v0.
|
11
|
+
## [v0.6.3](https://github.com/eki-177/abyme/tree/v0.6.3) (2021-06-24)
|
12
12
|
|
13
|
-
[Full Changelog](https://github.com/
|
13
|
+
[Full Changelog](https://github.com/eki-177/abyme/compare/v0.6.2...v0.6.3)
|
14
|
+
|
15
|
+
## [v0.6.2](https://github.com/eki-177/abyme/tree/v0.6.2) (2021-06-23)
|
16
|
+
|
17
|
+
[Full Changelog](https://github.com/eki-177/abyme/compare/v0.6.1...v0.6.2)
|
18
|
+
|
19
|
+
**Implemented enhancements:**
|
20
|
+
|
21
|
+
- Make it possible to pass named or namespaced associations [\#28](https://github.com/eki-177/abyme/issues/28)
|
22
|
+
|
23
|
+
**Merged pull requests:**
|
24
|
+
|
25
|
+
- hotfix [\#37](https://github.com/eki-177/abyme/pull/37) ([bear-in-mind](https://github.com/bear-in-mind))
|
26
|
+
|
27
|
+
## [v0.6.1](https://github.com/eki-177/abyme/tree/v0.6.1) (2021-06-23)
|
28
|
+
|
29
|
+
[Full Changelog](https://github.com/eki-177/abyme/compare/v0.6.0...v0.6.1)
|
30
|
+
|
31
|
+
**Merged pull requests:**
|
32
|
+
|
33
|
+
- Named associations [\#36](https://github.com/eki-177/abyme/pull/36) ([bear-in-mind](https://github.com/bear-in-mind))
|
34
|
+
|
35
|
+
## [v0.6.0](https://github.com/eki-177/abyme/tree/v0.6.0) (2021-06-15)
|
36
|
+
|
37
|
+
[Full Changelog](https://github.com/eki-177/abyme/compare/v0.3.0...v0.6.0)
|
38
|
+
|
39
|
+
**Merged pull requests:**
|
40
|
+
|
41
|
+
- Resource generator [\#35](https://github.com/eki-177/abyme/pull/35) ([bear-in-mind](https://github.com/bear-in-mind))
|
42
|
+
- Tests for view generator" [\#33](https://github.com/eki-177/abyme/pull/33) ([bear-in-mind](https://github.com/bear-in-mind))
|
43
|
+
- stimulus generator [\#32](https://github.com/eki-177/abyme/pull/32) ([ghbozz](https://github.com/ghbozz))
|
44
|
+
- Switching to microbundle [\#31](https://github.com/eki-177/abyme/pull/31) ([bear-in-mind](https://github.com/bear-in-mind))
|
45
|
+
- View generator [\#25](https://github.com/eki-177/abyme/pull/25) ([ghbozz](https://github.com/ghbozz))
|
46
|
+
- Generators : Controller & Model [\#24](https://github.com/eki-177/abyme/pull/24) ([bear-in-mind](https://github.com/bear-in-mind))
|
47
|
+
|
48
|
+
## [v0.3.0](https://github.com/eki-177/abyme/tree/v0.3.0) (2021-03-12)
|
49
|
+
|
50
|
+
[Full Changelog](https://github.com/eki-177/abyme/compare/v0.5.1...v0.3.0)
|
51
|
+
|
52
|
+
**Fixed bugs:**
|
53
|
+
|
54
|
+
- Helpers in application\_helper don't seem to be available inside partials [\#20](https://github.com/eki-177/abyme/issues/20)
|
55
|
+
|
56
|
+
**Merged pull requests:**
|
57
|
+
|
58
|
+
- Switching to Pika to build yarn package [\#30](https://github.com/eki-177/abyme/pull/30) ([bear-in-mind](https://github.com/bear-in-mind))
|
59
|
+
|
60
|
+
## [v0.5.1](https://github.com/eki-177/abyme/tree/v0.5.1) (2021-02-26)
|
61
|
+
|
62
|
+
[Full Changelog](https://github.com/eki-177/abyme/compare/v0.5.0...v0.5.1)
|
63
|
+
|
64
|
+
**Merged pull requests:**
|
65
|
+
|
66
|
+
- retro compatibility with former public method names [\#26](https://github.com/eki-177/abyme/pull/26) ([bear-in-mind](https://github.com/bear-in-mind))
|
67
|
+
|
68
|
+
## [v0.5.0](https://github.com/eki-177/abyme/tree/v0.5.0) (2021-02-26)
|
69
|
+
|
70
|
+
[Full Changelog](https://github.com/eki-177/abyme/compare/v0.2.5...v0.5.0)
|
14
71
|
|
15
72
|
**Merged pull requests:**
|
16
73
|
|
17
|
-
- Dynamic strong params for nested attributes [\#23](https://github.com/
|
74
|
+
- Dynamic strong params for nested attributes [\#23](https://github.com/eki-177/abyme/pull/23) ([bear-in-mind](https://github.com/bear-in-mind))
|
18
75
|
|
19
|
-
## [v0.2.5](https://github.com/
|
76
|
+
## [v0.2.5](https://github.com/eki-177/abyme/tree/v0.2.5) (2021-02-12)
|
20
77
|
|
21
|
-
[Full Changelog](https://github.com/
|
78
|
+
[Full Changelog](https://github.com/eki-177/abyme/compare/v0.4.0...v0.2.5)
|
22
79
|
|
23
|
-
## [v0.4.0](https://github.com/
|
80
|
+
## [v0.4.0](https://github.com/eki-177/abyme/tree/v0.4.0) (2021-02-12)
|
24
81
|
|
25
|
-
[Full Changelog](https://github.com/
|
82
|
+
[Full Changelog](https://github.com/eki-177/abyme/compare/v0.2.4...v0.4.0)
|
26
83
|
|
27
84
|
**Merged pull requests:**
|
28
85
|
|
29
|
-
- Bump nokogiri from 1.10.10 to 1.11.1 [\#22](https://github.com/
|
30
|
-
- Methods naming change & FormBuilder extension [\#21](https://github.com/
|
31
|
-
- Solved JS compile bug [\#19](https://github.com/
|
86
|
+
- Bump nokogiri from 1.10.10 to 1.11.1 [\#22](https://github.com/eki-177/abyme/pull/22) ([dependabot[bot]](https://github.com/apps/dependabot))
|
87
|
+
- Methods naming change & FormBuilder extension [\#21](https://github.com/eki-177/abyme/pull/21) ([bear-in-mind](https://github.com/bear-in-mind))
|
88
|
+
- Solved JS compile bug [\#19](https://github.com/eki-177/abyme/pull/19) ([bear-in-mind](https://github.com/bear-in-mind))
|
32
89
|
|
33
|
-
## [v0.2.4](https://github.com/
|
90
|
+
## [v0.2.4](https://github.com/eki-177/abyme/tree/v0.2.4) (2020-10-18)
|
34
91
|
|
35
|
-
[Full Changelog](https://github.com/
|
92
|
+
[Full Changelog](https://github.com/eki-177/abyme/compare/v0.2.3...v0.2.4)
|
36
93
|
|
37
94
|
**Merged pull requests:**
|
38
95
|
|
39
|
-
- Abymebuilder doc [\#18](https://github.com/
|
40
|
-
- Last fix [\#17](https://github.com/
|
41
|
-
- Drop demo [\#16](https://github.com/
|
42
|
-
- Coveralls [\#15](https://github.com/
|
43
|
-
- changing action name [\#14](https://github.com/
|
44
|
-
- fixing button default text when auto mode [\#13](https://github.com/
|
45
|
-
- travis and rake update [\#12](https://github.com/
|
46
|
-
- Autonomous Spec [\#11](https://github.com/
|
96
|
+
- Abymebuilder doc [\#18](https://github.com/eki-177/abyme/pull/18) ([ghbozz](https://github.com/ghbozz))
|
97
|
+
- Last fix [\#17](https://github.com/eki-177/abyme/pull/17) ([bear-in-mind](https://github.com/bear-in-mind))
|
98
|
+
- Drop demo [\#16](https://github.com/eki-177/abyme/pull/16) ([bear-in-mind](https://github.com/bear-in-mind))
|
99
|
+
- Coveralls [\#15](https://github.com/eki-177/abyme/pull/15) ([bear-in-mind](https://github.com/bear-in-mind))
|
100
|
+
- changing action name [\#14](https://github.com/eki-177/abyme/pull/14) ([bear-in-mind](https://github.com/bear-in-mind))
|
101
|
+
- fixing button default text when auto mode [\#13](https://github.com/eki-177/abyme/pull/13) ([ghbozz](https://github.com/ghbozz))
|
102
|
+
- travis and rake update [\#12](https://github.com/eki-177/abyme/pull/12) ([bear-in-mind](https://github.com/bear-in-mind))
|
103
|
+
- Autonomous Spec [\#11](https://github.com/eki-177/abyme/pull/11) ([bear-in-mind](https://github.com/bear-in-mind))
|
47
104
|
|
48
|
-
## [v0.2.3](https://github.com/
|
105
|
+
## [v0.2.3](https://github.com/eki-177/abyme/tree/v0.2.3) (2020-10-15)
|
49
106
|
|
50
|
-
[Full Changelog](https://github.com/
|
107
|
+
[Full Changelog](https://github.com/eki-177/abyme/compare/v0.2.2...v0.2.3)
|
51
108
|
|
52
|
-
## [v0.2.2](https://github.com/
|
109
|
+
## [v0.2.2](https://github.com/eki-177/abyme/tree/v0.2.2) (2020-10-15)
|
53
110
|
|
54
|
-
[Full Changelog](https://github.com/
|
111
|
+
[Full Changelog](https://github.com/eki-177/abyme/compare/v0.2.1...v0.2.2)
|
55
112
|
|
56
113
|
**Merged pull requests:**
|
57
114
|
|
58
|
-
- Dummy app setup \(incomplete\) [\#10](https://github.com/
|
115
|
+
- Dummy app setup \(incomplete\) [\#10](https://github.com/eki-177/abyme/pull/10) ([bear-in-mind](https://github.com/bear-in-mind))
|
59
116
|
|
60
|
-
## [v0.2.1](https://github.com/
|
117
|
+
## [v0.2.1](https://github.com/eki-177/abyme/tree/v0.2.1) (2020-10-15)
|
61
118
|
|
62
|
-
[Full Changelog](https://github.com/
|
119
|
+
[Full Changelog](https://github.com/eki-177/abyme/compare/0.2.0...v0.2.1)
|
63
120
|
|
64
121
|
**Merged pull requests:**
|
65
122
|
|
66
|
-
- fix partial path [\#9](https://github.com/
|
123
|
+
- fix partial path [\#9](https://github.com/eki-177/abyme/pull/9) ([ghbozz](https://github.com/ghbozz))
|
67
124
|
|
68
|
-
## [0.2.0](https://github.com/
|
125
|
+
## [0.2.0](https://github.com/eki-177/abyme/tree/0.2.0) (2020-10-14)
|
69
126
|
|
70
|
-
[Full Changelog](https://github.com/
|
127
|
+
[Full Changelog](https://github.com/eki-177/abyme/compare/v0.2.0...0.2.0)
|
71
128
|
|
72
129
|
**Merged pull requests:**
|
73
130
|
|
74
|
-
- End of doc [\#8](https://github.com/
|
131
|
+
- End of doc [\#8](https://github.com/eki-177/abyme/pull/8) ([bear-in-mind](https://github.com/bear-in-mind))
|
75
132
|
|
76
|
-
## [v0.2.0](https://github.com/
|
133
|
+
## [v0.2.0](https://github.com/eki-177/abyme/tree/v0.2.0) (2020-10-14)
|
77
134
|
|
78
|
-
[Full Changelog](https://github.com/
|
135
|
+
[Full Changelog](https://github.com/eki-177/abyme/compare/0.1.3...v0.2.0)
|
79
136
|
|
80
137
|
**Merged pull requests:**
|
81
138
|
|
82
|
-
- limit & min count options [\#7](https://github.com/
|
83
|
-
- Documentation end [\#6](https://github.com/
|
84
|
-
- add limit feature [\#5](https://github.com/
|
139
|
+
- limit & min count options [\#7](https://github.com/eki-177/abyme/pull/7) ([ghbozz](https://github.com/ghbozz))
|
140
|
+
- Documentation end [\#6](https://github.com/eki-177/abyme/pull/6) ([bear-in-mind](https://github.com/bear-in-mind))
|
141
|
+
- add limit feature [\#5](https://github.com/eki-177/abyme/pull/5) ([ghbozz](https://github.com/ghbozz))
|
85
142
|
|
86
|
-
## [0.1.3](https://github.com/
|
143
|
+
## [0.1.3](https://github.com/eki-177/abyme/tree/0.1.3) (2020-10-13)
|
87
144
|
|
88
|
-
[Full Changelog](https://github.com/
|
145
|
+
[Full Changelog](https://github.com/eki-177/abyme/compare/v0.1.2...0.1.3)
|
89
146
|
|
90
|
-
## [v0.1.2](https://github.com/
|
147
|
+
## [v0.1.2](https://github.com/eki-177/abyme/tree/v0.1.2) (2020-10-13)
|
91
148
|
|
92
|
-
[Full Changelog](https://github.com/
|
149
|
+
[Full Changelog](https://github.com/eki-177/abyme/compare/0.1.1...v0.1.2)
|
93
150
|
|
94
151
|
**Merged pull requests:**
|
95
152
|
|
96
|
-
- basic lifecycle events [\#4](https://github.com/
|
153
|
+
- basic lifecycle events [\#4](https://github.com/eki-177/abyme/pull/4) ([ghbozz](https://github.com/ghbozz))
|
97
154
|
|
98
|
-
## [0.1.1](https://github.com/
|
155
|
+
## [0.1.1](https://github.com/eki-177/abyme/tree/0.1.1) (2020-10-12)
|
99
156
|
|
100
|
-
[Full Changelog](https://github.com/
|
157
|
+
[Full Changelog](https://github.com/eki-177/abyme/compare/v0.1.1...0.1.1)
|
101
158
|
|
102
|
-
## [v0.1.1](https://github.com/
|
159
|
+
## [v0.1.1](https://github.com/eki-177/abyme/tree/v0.1.1) (2020-10-12)
|
103
160
|
|
104
|
-
[Full Changelog](https://github.com/
|
161
|
+
[Full Changelog](https://github.com/eki-177/abyme/compare/9b99709cd8f84e9401adb8ba6f59f0074e2f416b...v0.1.1)
|
105
162
|
|
106
163
|
**Merged pull requests:**
|
107
164
|
|
108
|
-
- Gem Content [\#3](https://github.com/
|
109
|
-
- install generator for stimulus init setup [\#2](https://github.com/
|
110
|
-
- Update rake requirement from ~\> 10.0 to ~\> 13.0 [\#1](https://github.com/
|
165
|
+
- Gem Content [\#3](https://github.com/eki-177/abyme/pull/3) ([bear-in-mind](https://github.com/bear-in-mind))
|
166
|
+
- install generator for stimulus init setup [\#2](https://github.com/eki-177/abyme/pull/2) ([ghbozz](https://github.com/ghbozz))
|
167
|
+
- Update rake requirement from ~\> 10.0 to ~\> 13.0 [\#1](https://github.com/eki-177/abyme/pull/1) ([dependabot[bot]](https://github.com/apps/dependabot))
|
111
168
|
|
112
169
|
|
113
170
|
|
data/Gemfile.lock
CHANGED
@@ -1,80 +1,85 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
abyme (0.6.
|
4
|
+
abyme (0.6.5)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
8
8
|
specs:
|
9
|
-
actioncable (6.
|
10
|
-
actionpack (= 6.
|
9
|
+
actioncable (6.1.4.4)
|
10
|
+
actionpack (= 6.1.4.4)
|
11
|
+
activesupport (= 6.1.4.4)
|
11
12
|
nio4r (~> 2.0)
|
12
13
|
websocket-driver (>= 0.6.1)
|
13
|
-
actionmailbox (6.
|
14
|
-
actionpack (= 6.
|
15
|
-
activejob (= 6.
|
16
|
-
activerecord (= 6.
|
17
|
-
activestorage (= 6.
|
18
|
-
activesupport (= 6.
|
14
|
+
actionmailbox (6.1.4.4)
|
15
|
+
actionpack (= 6.1.4.4)
|
16
|
+
activejob (= 6.1.4.4)
|
17
|
+
activerecord (= 6.1.4.4)
|
18
|
+
activestorage (= 6.1.4.4)
|
19
|
+
activesupport (= 6.1.4.4)
|
19
20
|
mail (>= 2.7.1)
|
20
|
-
actionmailer (6.
|
21
|
-
actionpack (= 6.
|
22
|
-
actionview (= 6.
|
23
|
-
activejob (= 6.
|
21
|
+
actionmailer (6.1.4.4)
|
22
|
+
actionpack (= 6.1.4.4)
|
23
|
+
actionview (= 6.1.4.4)
|
24
|
+
activejob (= 6.1.4.4)
|
25
|
+
activesupport (= 6.1.4.4)
|
24
26
|
mail (~> 2.5, >= 2.5.4)
|
25
27
|
rails-dom-testing (~> 2.0)
|
26
|
-
actionpack (6.
|
27
|
-
actionview (= 6.
|
28
|
-
activesupport (= 6.
|
29
|
-
rack (~> 2.0, >= 2.0.
|
28
|
+
actionpack (6.1.4.4)
|
29
|
+
actionview (= 6.1.4.4)
|
30
|
+
activesupport (= 6.1.4.4)
|
31
|
+
rack (~> 2.0, >= 2.0.9)
|
30
32
|
rack-test (>= 0.6.3)
|
31
33
|
rails-dom-testing (~> 2.0)
|
32
34
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
33
|
-
actiontext (6.
|
34
|
-
actionpack (= 6.
|
35
|
-
activerecord (= 6.
|
36
|
-
activestorage (= 6.
|
37
|
-
activesupport (= 6.
|
35
|
+
actiontext (6.1.4.4)
|
36
|
+
actionpack (= 6.1.4.4)
|
37
|
+
activerecord (= 6.1.4.4)
|
38
|
+
activestorage (= 6.1.4.4)
|
39
|
+
activesupport (= 6.1.4.4)
|
38
40
|
nokogiri (>= 1.8.5)
|
39
|
-
actionview (6.
|
40
|
-
activesupport (= 6.
|
41
|
+
actionview (6.1.4.4)
|
42
|
+
activesupport (= 6.1.4.4)
|
41
43
|
builder (~> 3.1)
|
42
44
|
erubi (~> 1.4)
|
43
45
|
rails-dom-testing (~> 2.0)
|
44
46
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
45
|
-
activejob (6.
|
46
|
-
activesupport (= 6.
|
47
|
+
activejob (6.1.4.4)
|
48
|
+
activesupport (= 6.1.4.4)
|
47
49
|
globalid (>= 0.3.6)
|
48
|
-
activemodel (6.
|
49
|
-
activesupport (= 6.
|
50
|
-
activerecord (6.
|
51
|
-
activemodel (= 6.
|
52
|
-
activesupport (= 6.
|
53
|
-
activestorage (6.
|
54
|
-
actionpack (= 6.
|
55
|
-
activejob (= 6.
|
56
|
-
activerecord (= 6.
|
50
|
+
activemodel (6.1.4.4)
|
51
|
+
activesupport (= 6.1.4.4)
|
52
|
+
activerecord (6.1.4.4)
|
53
|
+
activemodel (= 6.1.4.4)
|
54
|
+
activesupport (= 6.1.4.4)
|
55
|
+
activestorage (6.1.4.4)
|
56
|
+
actionpack (= 6.1.4.4)
|
57
|
+
activejob (= 6.1.4.4)
|
58
|
+
activerecord (= 6.1.4.4)
|
59
|
+
activesupport (= 6.1.4.4)
|
57
60
|
marcel (~> 1.0.0)
|
58
|
-
|
61
|
+
mini_mime (>= 1.1.0)
|
62
|
+
activesupport (6.1.4.4)
|
59
63
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
60
|
-
i18n (>=
|
61
|
-
minitest (
|
62
|
-
tzinfo (~>
|
63
|
-
zeitwerk (~> 2.
|
64
|
-
addressable (2.
|
64
|
+
i18n (>= 1.6, < 2)
|
65
|
+
minitest (>= 5.1)
|
66
|
+
tzinfo (~> 2.0)
|
67
|
+
zeitwerk (~> 2.3)
|
68
|
+
addressable (2.8.0)
|
65
69
|
public_suffix (>= 2.0.2, < 5.0)
|
66
70
|
bindex (0.8.1)
|
67
71
|
builder (3.2.4)
|
68
72
|
byebug (11.1.3)
|
69
|
-
capybara (3.
|
73
|
+
capybara (3.36.0)
|
70
74
|
addressable
|
75
|
+
matrix
|
71
76
|
mini_mime (>= 0.1.3)
|
72
77
|
nokogiri (~> 1.8)
|
73
78
|
rack (>= 1.6.0)
|
74
79
|
rack-test (>= 0.6.3)
|
75
80
|
regexp_parser (>= 1.5, < 3.0)
|
76
81
|
xpath (~> 3.2)
|
77
|
-
childprocess (
|
82
|
+
childprocess (4.1.0)
|
78
83
|
coderay (1.1.3)
|
79
84
|
concurrent-ruby (1.1.9)
|
80
85
|
crass (1.0.6)
|
@@ -88,21 +93,22 @@ GEM
|
|
88
93
|
generator_spec (0.9.4)
|
89
94
|
activesupport (>= 3.0.0)
|
90
95
|
railties (>= 3.0.0)
|
91
|
-
globalid (0.
|
92
|
-
activesupport (>=
|
93
|
-
i18n (1.8.
|
96
|
+
globalid (1.0.0)
|
97
|
+
activesupport (>= 5.0)
|
98
|
+
i18n (1.8.11)
|
94
99
|
concurrent-ruby (~> 1.0)
|
95
|
-
loofah (2.
|
100
|
+
loofah (2.13.0)
|
96
101
|
crass (~> 1.0.2)
|
97
102
|
nokogiri (>= 1.5.9)
|
98
103
|
mail (2.7.1)
|
99
104
|
mini_mime (>= 0.1.1)
|
100
|
-
marcel (1.0.
|
105
|
+
marcel (1.0.2)
|
106
|
+
matrix (0.4.2)
|
101
107
|
method_source (1.0.0)
|
102
|
-
mini_mime (1.1.
|
103
|
-
minitest (5.
|
104
|
-
nio4r (2.5.
|
105
|
-
nokogiri (1.
|
108
|
+
mini_mime (1.1.2)
|
109
|
+
minitest (5.15.0)
|
110
|
+
nio4r (2.5.8)
|
111
|
+
nokogiri (1.12.5-x86_64-darwin)
|
106
112
|
racc (~> 1.4)
|
107
113
|
pry (0.13.1)
|
108
114
|
coderay (~> 1.1)
|
@@ -111,26 +117,26 @@ GEM
|
|
111
117
|
byebug (~> 11.0)
|
112
118
|
pry (~> 0.13.0)
|
113
119
|
public_suffix (4.0.6)
|
114
|
-
puma (5.
|
120
|
+
puma (5.5.2)
|
115
121
|
nio4r (~> 2.0)
|
116
|
-
racc (1.
|
122
|
+
racc (1.6.0)
|
117
123
|
rack (2.2.3)
|
118
124
|
rack-test (1.1.0)
|
119
125
|
rack (>= 1.0, < 3)
|
120
|
-
rails (6.
|
121
|
-
actioncable (= 6.
|
122
|
-
actionmailbox (= 6.
|
123
|
-
actionmailer (= 6.
|
124
|
-
actionpack (= 6.
|
125
|
-
actiontext (= 6.
|
126
|
-
actionview (= 6.
|
127
|
-
activejob (= 6.
|
128
|
-
activemodel (= 6.
|
129
|
-
activerecord (= 6.
|
130
|
-
activestorage (= 6.
|
131
|
-
activesupport (= 6.
|
132
|
-
bundler (>= 1.
|
133
|
-
railties (= 6.
|
126
|
+
rails (6.1.4.4)
|
127
|
+
actioncable (= 6.1.4.4)
|
128
|
+
actionmailbox (= 6.1.4.4)
|
129
|
+
actionmailer (= 6.1.4.4)
|
130
|
+
actionpack (= 6.1.4.4)
|
131
|
+
actiontext (= 6.1.4.4)
|
132
|
+
actionview (= 6.1.4.4)
|
133
|
+
activejob (= 6.1.4.4)
|
134
|
+
activemodel (= 6.1.4.4)
|
135
|
+
activerecord (= 6.1.4.4)
|
136
|
+
activestorage (= 6.1.4.4)
|
137
|
+
activesupport (= 6.1.4.4)
|
138
|
+
bundler (>= 1.15.0)
|
139
|
+
railties (= 6.1.4.4)
|
134
140
|
sprockets-rails (>= 2.0.0)
|
135
141
|
rails-controller-testing (1.0.5)
|
136
142
|
actionpack (>= 5.0.1.rc1)
|
@@ -139,16 +145,17 @@ GEM
|
|
139
145
|
rails-dom-testing (2.0.3)
|
140
146
|
activesupport (>= 4.2.0)
|
141
147
|
nokogiri (>= 1.6)
|
142
|
-
rails-html-sanitizer (1.
|
148
|
+
rails-html-sanitizer (1.4.2)
|
143
149
|
loofah (~> 2.3)
|
144
|
-
railties (6.
|
145
|
-
actionpack (= 6.
|
146
|
-
activesupport (= 6.
|
150
|
+
railties (6.1.4.4)
|
151
|
+
actionpack (= 6.1.4.4)
|
152
|
+
activesupport (= 6.1.4.4)
|
147
153
|
method_source
|
148
|
-
rake (>= 0.
|
149
|
-
thor (
|
150
|
-
rake (13.0.
|
151
|
-
regexp_parser (2.
|
154
|
+
rake (>= 0.13)
|
155
|
+
thor (~> 1.0)
|
156
|
+
rake (13.0.6)
|
157
|
+
regexp_parser (2.2.0)
|
158
|
+
rexml (3.2.5)
|
152
159
|
rspec-core (3.10.1)
|
153
160
|
rspec-support (~> 3.10.0)
|
154
161
|
rspec-expectations (3.10.1)
|
@@ -157,7 +164,7 @@ GEM
|
|
157
164
|
rspec-mocks (3.10.2)
|
158
165
|
diff-lcs (>= 1.2.0, < 2.0)
|
159
166
|
rspec-support (~> 3.10.0)
|
160
|
-
rspec-rails (5.0.
|
167
|
+
rspec-rails (5.0.2)
|
161
168
|
actionpack (>= 5.2)
|
162
169
|
activesupport (>= 5.2)
|
163
170
|
railties (>= 5.2)
|
@@ -165,10 +172,11 @@ GEM
|
|
165
172
|
rspec-expectations (~> 3.10)
|
166
173
|
rspec-mocks (~> 3.10)
|
167
174
|
rspec-support (~> 3.10)
|
168
|
-
rspec-support (3.10.
|
169
|
-
rubyzip (2.3.
|
170
|
-
selenium-webdriver (
|
171
|
-
childprocess (>= 0.5, <
|
175
|
+
rspec-support (3.10.3)
|
176
|
+
rubyzip (2.3.2)
|
177
|
+
selenium-webdriver (4.1.0)
|
178
|
+
childprocess (>= 0.5, < 5.0)
|
179
|
+
rexml (~> 3.2, >= 3.2.5)
|
172
180
|
rubyzip (>= 1.2.2)
|
173
181
|
simple_form (5.1.0)
|
174
182
|
actionpack (>= 5.2)
|
@@ -183,44 +191,43 @@ GEM
|
|
183
191
|
sprockets (4.0.2)
|
184
192
|
concurrent-ruby (~> 1.0)
|
185
193
|
rack (> 1, < 3)
|
186
|
-
sprockets-rails (3.
|
187
|
-
actionpack (>=
|
188
|
-
activesupport (>=
|
194
|
+
sprockets-rails (3.4.2)
|
195
|
+
actionpack (>= 5.2)
|
196
|
+
activesupport (>= 5.2)
|
189
197
|
sprockets (>= 3.0.0)
|
190
198
|
sqlite3 (1.4.2)
|
191
199
|
thor (1.1.0)
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
web-console (4.1.0)
|
200
|
+
tzinfo (2.0.4)
|
201
|
+
concurrent-ruby (~> 1.0)
|
202
|
+
web-console (4.2.0)
|
196
203
|
actionview (>= 6.0.0)
|
197
204
|
activemodel (>= 6.0.0)
|
198
205
|
bindex (>= 0.4.0)
|
199
206
|
railties (>= 6.0.0)
|
200
|
-
webdrivers (
|
207
|
+
webdrivers (5.0.0)
|
201
208
|
nokogiri (~> 1.6)
|
202
209
|
rubyzip (>= 1.3.0)
|
203
|
-
selenium-webdriver (
|
210
|
+
selenium-webdriver (~> 4.0)
|
204
211
|
websocket-driver (0.7.5)
|
205
212
|
websocket-extensions (>= 0.1.0)
|
206
213
|
websocket-extensions (0.1.5)
|
207
214
|
xpath (3.2.0)
|
208
215
|
nokogiri (~> 1.8)
|
209
|
-
zeitwerk (2.
|
216
|
+
zeitwerk (2.5.1)
|
210
217
|
|
211
218
|
PLATFORMS
|
212
219
|
x86_64-darwin-19
|
213
220
|
|
214
221
|
DEPENDENCIES
|
215
222
|
abyme!
|
216
|
-
bundler (~> 2
|
223
|
+
bundler (~> 2)
|
217
224
|
byebug
|
218
225
|
capybara
|
219
226
|
database_cleaner-active_record
|
220
227
|
generator_spec
|
221
228
|
pry-byebug
|
222
229
|
puma
|
223
|
-
rails (~> 6.
|
230
|
+
rails (~> 6.1)
|
224
231
|
rails-controller-testing
|
225
232
|
rake (~> 13.0)
|
226
233
|
rspec-rails
|
data/abyme.gemspec
CHANGED
@@ -29,7 +29,7 @@ Gem::Specification.new do |spec|
|
|
29
29
|
# SimpleForm dependency is only required for test purposes and optional behaviour
|
30
30
|
spec.add_development_dependency 'simple_form'
|
31
31
|
|
32
|
-
spec.add_development_dependency "bundler", "~> 2
|
32
|
+
spec.add_development_dependency "bundler", "~> 2"
|
33
33
|
spec.add_development_dependency "rake", "~> 13.0"
|
34
34
|
# Tests
|
35
35
|
spec.add_development_dependency "rspec-rails"
|
@@ -41,7 +41,7 @@ Gem::Specification.new do |spec|
|
|
41
41
|
|
42
42
|
# Dummy app
|
43
43
|
spec.add_development_dependency "sqlite3"
|
44
|
-
spec.add_development_dependency 'rails', "~> 6.
|
44
|
+
spec.add_development_dependency 'rails', "~> 6.1"
|
45
45
|
spec.add_development_dependency 'pry-byebug'
|
46
46
|
spec.add_development_dependency 'byebug'
|
47
47
|
spec.add_development_dependency 'web-console'
|
data/lib/abyme/version.rb
CHANGED
data/lib/abyme/view_helpers.rb
CHANGED
@@ -113,7 +113,7 @@ module Abyme
|
|
113
113
|
|
114
114
|
content_tag(:div, build_attributes(wrapper_default, options[:wrapper_html])) do
|
115
115
|
content_tag(:template, class: "abyme--#{association.to_s.singularize}_template", data: {abyme_target: "template"}) do
|
116
|
-
fields_for_builder form, association,
|
116
|
+
fields_for_builder form, association, form.object.send(association).build, child_index: "NEW_RECORD" do |f|
|
117
117
|
content_tag(:div, build_attributes(fields_default, basic_fields_markup(options[:fields_html], association))) do
|
118
118
|
# Here, if a block is passed, we're passing the association fields to it, rather than the form itself
|
119
119
|
# block_given? ? yield(f) : render(options[:partial] || "abyme/#{association.to_s.singularize}_fields", f: f)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: abyme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Romain Sanson
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2021-
|
12
|
+
date: 2021-12-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: simple_form
|
@@ -31,14 +31,14 @@ dependencies:
|
|
31
31
|
requirements:
|
32
32
|
- - "~>"
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: '2
|
34
|
+
version: '2'
|
35
35
|
type: :development
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
39
|
- - "~>"
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: '2
|
41
|
+
version: '2'
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: rake
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
@@ -157,14 +157,14 @@ dependencies:
|
|
157
157
|
requirements:
|
158
158
|
- - "~>"
|
159
159
|
- !ruby/object:Gem::Version
|
160
|
-
version: 6.
|
160
|
+
version: '6.1'
|
161
161
|
type: :development
|
162
162
|
prerelease: false
|
163
163
|
version_requirements: !ruby/object:Gem::Requirement
|
164
164
|
requirements:
|
165
165
|
- - "~>"
|
166
166
|
- !ruby/object:Gem::Version
|
167
|
-
version: 6.
|
167
|
+
version: '6.1'
|
168
168
|
- !ruby/object:Gem::Dependency
|
169
169
|
name: pry-byebug
|
170
170
|
requirement: !ruby/object:Gem::Requirement
|