abyme 0.2.2 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 816e7cba26a46179ce0fb2b593a2269743dd045759b29c432fae364f85c59f39
4
- data.tar.gz: 46e3d01e05f7be13269da2fb473f4d80abdcc150eaa58198ebc913493477f29c
3
+ metadata.gz: 29bd9abd9bf5c46d2c23b9c53cbe38990d03078c87fd6face66bb865493aa5a5
4
+ data.tar.gz: d118f6af056ca064e405c4c8a4c6df2c4fbe52864387cd45bee8f558f1990018
5
5
  SHA512:
6
- metadata.gz: 36ff2a692981100cf7e1d797d51bcd1c15e857d23d4599eab19d733129e499311be2136059d8abd7547727aa186983f6d4a111981e693989db9e9da7ab2be708
7
- data.tar.gz: 7b90ac8a57026b3f91c5802ce9de6eb4f7cfae68bb3c7941051b355439495a985b2c571664faa42829c3e08e1e34222754309d570a835c9d36b3bc85c9cec9ab
6
+ metadata.gz: 43692f0d91e0afe0f20ad57b6e89d914eb359efe175c1ff2649f362d8b6e275084067d1ed219152fead5f6782374498644c372a74c2d4f163b60696c495c8995
7
+ data.tar.gz: 007b9b1df96b8de5690c54c4b4083176641af8980e464b35d83b2bfcc4e84a9f53ecc9d5d41540c8131cfd134f2931bebc9f08f7cce83b94d0fee4f766dca7d8
data/.DS_Store CHANGED
Binary file
@@ -0,0 +1,60 @@
1
+ # This workflow uses actions that are not certified by GitHub.
2
+ # They are provided by a third-party and are governed by
3
+ # separate terms of service, privacy policy, and support
4
+ # documentation.
5
+ # This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
6
+ # For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
7
+
8
+ name: build
9
+
10
+ on:
11
+ push:
12
+ branches: [ master ]
13
+ pull_request:
14
+ branches: [ master ]
15
+
16
+ jobs:
17
+ test:
18
+ runs-on: ubuntu-latest
19
+
20
+ steps:
21
+ - uses: actions/checkout@v2
22
+ - name: Set up Ruby
23
+ # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
24
+ # change this to (see https://github.com/ruby/setup-ruby#versioning):
25
+ # uses: ruby/setup-ruby@v1
26
+ uses: ruby/setup-ruby@473e4d8fe5dd94ee328fdfca9f8c9c7afc9dae5e
27
+ with:
28
+ ruby-version: 2.6
29
+ - name: Install sqlite headers
30
+ run: |
31
+ sudo apt-get update
32
+ sudo apt-get install libsqlite3-dev
33
+
34
+ - name: Install dependencies
35
+ run: bundle install
36
+
37
+ - name: Prepare Database
38
+ run: bundle exec rails db:create db:migrate
39
+ env:
40
+ DB_CONNECTION: sqlite
41
+ DB_DATABASE: db/test.sqlite3
42
+ RAILS_ENV: test
43
+
44
+ - name: Run tests
45
+ run: bundle exec rake
46
+ env:
47
+ DB_CONNECTION: sqlite
48
+ DB_DATABASE: db/test.sqlite3
49
+ RAILS_ENV: test
50
+
51
+ - name: Coveralls
52
+ uses: coverallsapp/github-action@master
53
+ with:
54
+ github-token: ${{ secrets.GITHUB_TOKEN }}
55
+
56
+ - name: Create Coverage Artifact
57
+ uses: actions/upload-artifact@v2
58
+ with:
59
+ name: code-coverage
60
+ path: coverage/
data/.gitignore CHANGED
@@ -17,5 +17,7 @@ node_modules
17
17
  spec/dummy/db/*.sqlite3
18
18
  spec/dummy/db/*.sqlite3-journal
19
19
  spec/dummy/db/log/*.log
20
+ spec/dummy/log/
20
21
  spec/dummy/tmp/
21
22
  spec/dummy/.sass-cache
23
+ spec/dummy/public
data/.simplecov ADDED
File without changes
data/CHANGELOG.md ADDED
@@ -0,0 +1,114 @@
1
+ # Changelog
2
+
3
+ ## [Unreleased](https://github.com/bear-in-mind/abyme/tree/HEAD)
4
+
5
+ [Full Changelog](https://github.com/bear-in-mind/abyme/compare/v0.5.0...HEAD)
6
+
7
+ **Merged pull requests:**
8
+
9
+ - retro compatibility with former public method names [\#26](https://github.com/bear-in-mind/abyme/pull/26) ([bear-in-mind](https://github.com/bear-in-mind))
10
+
11
+ ## [v0.5.0](https://github.com/bear-in-mind/abyme/tree/v0.5.0) (2021-02-26)
12
+
13
+ [Full Changelog](https://github.com/bear-in-mind/abyme/compare/v0.2.5...v0.5.0)
14
+
15
+ **Merged pull requests:**
16
+
17
+ - Dynamic strong params for nested attributes [\#23](https://github.com/bear-in-mind/abyme/pull/23) ([bear-in-mind](https://github.com/bear-in-mind))
18
+
19
+ ## [v0.2.5](https://github.com/bear-in-mind/abyme/tree/v0.2.5) (2021-02-12)
20
+
21
+ [Full Changelog](https://github.com/bear-in-mind/abyme/compare/v0.4.0...v0.2.5)
22
+
23
+ ## [v0.4.0](https://github.com/bear-in-mind/abyme/tree/v0.4.0) (2021-02-12)
24
+
25
+ [Full Changelog](https://github.com/bear-in-mind/abyme/compare/v0.2.4...v0.4.0)
26
+
27
+ **Merged pull requests:**
28
+
29
+ - Bump nokogiri from 1.10.10 to 1.11.1 [\#22](https://github.com/bear-in-mind/abyme/pull/22) ([dependabot[bot]](https://github.com/apps/dependabot))
30
+ - Methods naming change & FormBuilder extension [\#21](https://github.com/bear-in-mind/abyme/pull/21) ([bear-in-mind](https://github.com/bear-in-mind))
31
+ - Solved JS compile bug [\#19](https://github.com/bear-in-mind/abyme/pull/19) ([bear-in-mind](https://github.com/bear-in-mind))
32
+
33
+ ## [v0.2.4](https://github.com/bear-in-mind/abyme/tree/v0.2.4) (2020-10-18)
34
+
35
+ [Full Changelog](https://github.com/bear-in-mind/abyme/compare/v0.2.3...v0.2.4)
36
+
37
+ **Merged pull requests:**
38
+
39
+ - Abymebuilder doc [\#18](https://github.com/bear-in-mind/abyme/pull/18) ([ghbozz](https://github.com/ghbozz))
40
+ - Last fix [\#17](https://github.com/bear-in-mind/abyme/pull/17) ([bear-in-mind](https://github.com/bear-in-mind))
41
+ - Drop demo [\#16](https://github.com/bear-in-mind/abyme/pull/16) ([bear-in-mind](https://github.com/bear-in-mind))
42
+ - Coveralls [\#15](https://github.com/bear-in-mind/abyme/pull/15) ([bear-in-mind](https://github.com/bear-in-mind))
43
+ - changing action name [\#14](https://github.com/bear-in-mind/abyme/pull/14) ([bear-in-mind](https://github.com/bear-in-mind))
44
+ - fixing button default text when auto mode [\#13](https://github.com/bear-in-mind/abyme/pull/13) ([ghbozz](https://github.com/ghbozz))
45
+ - travis and rake update [\#12](https://github.com/bear-in-mind/abyme/pull/12) ([bear-in-mind](https://github.com/bear-in-mind))
46
+ - Autonomous Spec [\#11](https://github.com/bear-in-mind/abyme/pull/11) ([bear-in-mind](https://github.com/bear-in-mind))
47
+
48
+ ## [v0.2.3](https://github.com/bear-in-mind/abyme/tree/v0.2.3) (2020-10-15)
49
+
50
+ [Full Changelog](https://github.com/bear-in-mind/abyme/compare/v0.2.2...v0.2.3)
51
+
52
+ ## [v0.2.2](https://github.com/bear-in-mind/abyme/tree/v0.2.2) (2020-10-15)
53
+
54
+ [Full Changelog](https://github.com/bear-in-mind/abyme/compare/v0.2.1...v0.2.2)
55
+
56
+ **Merged pull requests:**
57
+
58
+ - Dummy app setup \(incomplete\) [\#10](https://github.com/bear-in-mind/abyme/pull/10) ([bear-in-mind](https://github.com/bear-in-mind))
59
+
60
+ ## [v0.2.1](https://github.com/bear-in-mind/abyme/tree/v0.2.1) (2020-10-15)
61
+
62
+ [Full Changelog](https://github.com/bear-in-mind/abyme/compare/0.2.0...v0.2.1)
63
+
64
+ **Merged pull requests:**
65
+
66
+ - fix partial path [\#9](https://github.com/bear-in-mind/abyme/pull/9) ([ghbozz](https://github.com/ghbozz))
67
+
68
+ ## [0.2.0](https://github.com/bear-in-mind/abyme/tree/0.2.0) (2020-10-14)
69
+
70
+ [Full Changelog](https://github.com/bear-in-mind/abyme/compare/v0.2.0...0.2.0)
71
+
72
+ **Merged pull requests:**
73
+
74
+ - End of doc [\#8](https://github.com/bear-in-mind/abyme/pull/8) ([bear-in-mind](https://github.com/bear-in-mind))
75
+
76
+ ## [v0.2.0](https://github.com/bear-in-mind/abyme/tree/v0.2.0) (2020-10-14)
77
+
78
+ [Full Changelog](https://github.com/bear-in-mind/abyme/compare/0.1.3...v0.2.0)
79
+
80
+ **Merged pull requests:**
81
+
82
+ - limit & min count options [\#7](https://github.com/bear-in-mind/abyme/pull/7) ([ghbozz](https://github.com/ghbozz))
83
+ - Documentation end [\#6](https://github.com/bear-in-mind/abyme/pull/6) ([bear-in-mind](https://github.com/bear-in-mind))
84
+ - add limit feature [\#5](https://github.com/bear-in-mind/abyme/pull/5) ([ghbozz](https://github.com/ghbozz))
85
+
86
+ ## [0.1.3](https://github.com/bear-in-mind/abyme/tree/0.1.3) (2020-10-13)
87
+
88
+ [Full Changelog](https://github.com/bear-in-mind/abyme/compare/v0.1.2...0.1.3)
89
+
90
+ ## [v0.1.2](https://github.com/bear-in-mind/abyme/tree/v0.1.2) (2020-10-13)
91
+
92
+ [Full Changelog](https://github.com/bear-in-mind/abyme/compare/0.1.1...v0.1.2)
93
+
94
+ **Merged pull requests:**
95
+
96
+ - basic lifecycle events [\#4](https://github.com/bear-in-mind/abyme/pull/4) ([ghbozz](https://github.com/ghbozz))
97
+
98
+ ## [0.1.1](https://github.com/bear-in-mind/abyme/tree/0.1.1) (2020-10-12)
99
+
100
+ [Full Changelog](https://github.com/bear-in-mind/abyme/compare/v0.1.1...0.1.1)
101
+
102
+ ## [v0.1.1](https://github.com/bear-in-mind/abyme/tree/v0.1.1) (2020-10-12)
103
+
104
+ [Full Changelog](https://github.com/bear-in-mind/abyme/compare/9b99709cd8f84e9401adb8ba6f59f0074e2f416b...v0.1.1)
105
+
106
+ **Merged pull requests:**
107
+
108
+ - Gem Content [\#3](https://github.com/bear-in-mind/abyme/pull/3) ([bear-in-mind](https://github.com/bear-in-mind))
109
+ - install generator for stimulus init setup [\#2](https://github.com/bear-in-mind/abyme/pull/2) ([ghbozz](https://github.com/ghbozz))
110
+ - Update rake requirement from ~\> 10.0 to ~\> 13.0 [\#1](https://github.com/bear-in-mind/abyme/pull/1) ([dependabot[bot]](https://github.com/apps/dependabot))
111
+
112
+
113
+
114
+ \* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
data/Gemfile.lock CHANGED
@@ -1,11 +1,28 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- abyme (0.2.2)
4
+ abyme (0.5.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
+ actioncable (6.0.3.4)
10
+ actionpack (= 6.0.3.4)
11
+ nio4r (~> 2.0)
12
+ websocket-driver (>= 0.6.1)
13
+ actionmailbox (6.0.3.4)
14
+ actionpack (= 6.0.3.4)
15
+ activejob (= 6.0.3.4)
16
+ activerecord (= 6.0.3.4)
17
+ activestorage (= 6.0.3.4)
18
+ activesupport (= 6.0.3.4)
19
+ mail (>= 2.7.1)
20
+ actionmailer (6.0.3.4)
21
+ actionpack (= 6.0.3.4)
22
+ actionview (= 6.0.3.4)
23
+ activejob (= 6.0.3.4)
24
+ mail (~> 2.5, >= 2.5.4)
25
+ rails-dom-testing (~> 2.0)
9
26
  actionpack (6.0.3.4)
10
27
  actionview (= 6.0.3.4)
11
28
  activesupport (= 6.0.3.4)
@@ -13,41 +30,117 @@ GEM
13
30
  rack-test (>= 0.6.3)
14
31
  rails-dom-testing (~> 2.0)
15
32
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
33
+ actiontext (6.0.3.4)
34
+ actionpack (= 6.0.3.4)
35
+ activerecord (= 6.0.3.4)
36
+ activestorage (= 6.0.3.4)
37
+ activesupport (= 6.0.3.4)
38
+ nokogiri (>= 1.8.5)
16
39
  actionview (6.0.3.4)
17
40
  activesupport (= 6.0.3.4)
18
41
  builder (~> 3.1)
19
42
  erubi (~> 1.4)
20
43
  rails-dom-testing (~> 2.0)
21
44
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
45
+ activejob (6.0.3.4)
46
+ activesupport (= 6.0.3.4)
47
+ globalid (>= 0.3.6)
48
+ activemodel (6.0.3.4)
49
+ activesupport (= 6.0.3.4)
50
+ activerecord (6.0.3.4)
51
+ activemodel (= 6.0.3.4)
52
+ activesupport (= 6.0.3.4)
53
+ activestorage (6.0.3.4)
54
+ actionpack (= 6.0.3.4)
55
+ activejob (= 6.0.3.4)
56
+ activerecord (= 6.0.3.4)
57
+ marcel (~> 0.3.1)
22
58
  activesupport (6.0.3.4)
23
59
  concurrent-ruby (~> 1.0, >= 1.0.2)
24
60
  i18n (>= 0.7, < 2)
25
61
  minitest (~> 5.1)
26
62
  tzinfo (~> 1.1)
27
63
  zeitwerk (~> 2.2, >= 2.2.2)
64
+ addressable (2.7.0)
65
+ public_suffix (>= 2.0.2, < 5.0)
66
+ bindex (0.8.1)
28
67
  builder (3.2.4)
29
- concurrent-ruby (1.1.7)
68
+ capybara (3.33.0)
69
+ addressable
70
+ mini_mime (>= 0.1.3)
71
+ nokogiri (~> 1.8)
72
+ rack (>= 1.6.0)
73
+ rack-test (>= 0.6.3)
74
+ regexp_parser (~> 1.5)
75
+ xpath (~> 3.2)
76
+ childprocess (3.0.0)
77
+ coderay (1.1.3)
78
+ concurrent-ruby (1.1.8)
30
79
  crass (1.0.6)
80
+ database_cleaner (1.8.5)
81
+ database_cleaner-active_record (1.8.0)
82
+ activerecord
83
+ database_cleaner (~> 1.8.0)
31
84
  diff-lcs (1.4.4)
32
- erubi (1.9.0)
33
- i18n (1.8.5)
85
+ docile (1.3.2)
86
+ erubi (1.10.0)
87
+ generator_spec (0.9.4)
88
+ activesupport (>= 3.0.0)
89
+ railties (>= 3.0.0)
90
+ globalid (0.4.2)
91
+ activesupport (>= 4.2.0)
92
+ i18n (1.8.8)
34
93
  concurrent-ruby (~> 1.0)
35
- loofah (2.7.0)
94
+ loofah (2.9.0)
36
95
  crass (~> 1.0.2)
37
96
  nokogiri (>= 1.5.9)
97
+ mail (2.7.1)
98
+ mini_mime (>= 0.1.1)
99
+ marcel (0.3.3)
100
+ mimemagic (~> 0.3.2)
38
101
  method_source (1.0.0)
39
- mini_portile2 (2.4.0)
40
- minitest (5.14.2)
41
- nokogiri (1.10.10)
42
- mini_portile2 (~> 2.4.0)
102
+ mimemagic (0.3.5)
103
+ mini_mime (1.0.2)
104
+ mini_portile2 (2.5.0)
105
+ minitest (5.14.3)
106
+ nio4r (2.5.4)
107
+ nokogiri (1.11.1)
108
+ mini_portile2 (~> 2.5.0)
109
+ racc (~> 1.4)
110
+ pry (0.13.1)
111
+ coderay (~> 1.1)
112
+ method_source (~> 1.0)
113
+ pry-rails (0.3.9)
114
+ pry (>= 0.10.4)
115
+ public_suffix (4.0.6)
116
+ puma (5.0.4)
117
+ nio4r (~> 2.0)
118
+ racc (1.5.2)
43
119
  rack (2.2.3)
44
120
  rack-test (1.1.0)
45
121
  rack (>= 1.0, < 3)
122
+ rails (6.0.3.4)
123
+ actioncable (= 6.0.3.4)
124
+ actionmailbox (= 6.0.3.4)
125
+ actionmailer (= 6.0.3.4)
126
+ actionpack (= 6.0.3.4)
127
+ actiontext (= 6.0.3.4)
128
+ actionview (= 6.0.3.4)
129
+ activejob (= 6.0.3.4)
130
+ activemodel (= 6.0.3.4)
131
+ activerecord (= 6.0.3.4)
132
+ activestorage (= 6.0.3.4)
133
+ activesupport (= 6.0.3.4)
134
+ bundler (>= 1.3.0)
135
+ railties (= 6.0.3.4)
136
+ sprockets-rails (>= 2.0.0)
137
+ rails-controller-testing (1.0.5)
138
+ actionpack (>= 5.0.1.rc1)
139
+ actionview (>= 5.0.1.rc1)
140
+ activesupport (>= 5.0.1.rc1)
46
141
  rails-dom-testing (2.0.3)
47
142
  activesupport (>= 4.2.0)
48
143
  nokogiri (>= 1.6)
49
- rails-dummy (0.1.0)
50
- railties
51
144
  rails-html-sanitizer (1.3.0)
52
145
  loofah (~> 2.3)
53
146
  railties (6.0.3.4)
@@ -56,30 +149,61 @@ GEM
56
149
  method_source
57
150
  rake (>= 0.8.7)
58
151
  thor (>= 0.20.3, < 2.0)
59
- rake (13.0.1)
60
- rspec-core (3.9.3)
61
- rspec-support (~> 3.9.3)
62
- rspec-expectations (3.9.2)
152
+ rake (13.0.3)
153
+ regexp_parser (1.8.2)
154
+ rspec-core (3.10.1)
155
+ rspec-support (~> 3.10.0)
156
+ rspec-expectations (3.10.1)
63
157
  diff-lcs (>= 1.2.0, < 2.0)
64
- rspec-support (~> 3.9.0)
65
- rspec-mocks (3.9.1)
158
+ rspec-support (~> 3.10.0)
159
+ rspec-mocks (3.10.2)
66
160
  diff-lcs (>= 1.2.0, < 2.0)
67
- rspec-support (~> 3.9.0)
68
- rspec-rails (4.0.1)
161
+ rspec-support (~> 3.10.0)
162
+ rspec-rails (4.0.2)
69
163
  actionpack (>= 4.2)
70
164
  activesupport (>= 4.2)
71
165
  railties (>= 4.2)
72
- rspec-core (~> 3.9)
73
- rspec-expectations (~> 3.9)
74
- rspec-mocks (~> 3.9)
75
- rspec-support (~> 3.9)
76
- rspec-support (3.9.3)
166
+ rspec-core (~> 3.10)
167
+ rspec-expectations (~> 3.10)
168
+ rspec-mocks (~> 3.10)
169
+ rspec-support (~> 3.10)
170
+ rspec-support (3.10.2)
171
+ rubyzip (2.3.0)
172
+ selenium-webdriver (3.142.7)
173
+ childprocess (>= 0.5, < 4.0)
174
+ rubyzip (>= 1.2.2)
175
+ simplecov (0.19.1)
176
+ docile (~> 1.1)
177
+ simplecov-html (~> 0.11)
178
+ simplecov-html (0.12.3)
179
+ simplecov-lcov (0.8.0)
180
+ sprockets (4.0.2)
181
+ concurrent-ruby (~> 1.0)
182
+ rack (> 1, < 3)
183
+ sprockets-rails (3.2.2)
184
+ actionpack (>= 4.0)
185
+ activesupport (>= 4.0)
186
+ sprockets (>= 3.0.0)
77
187
  sqlite3 (1.4.2)
78
- thor (1.0.1)
188
+ thor (1.1.0)
79
189
  thread_safe (0.3.6)
80
- tzinfo (1.2.7)
190
+ tzinfo (1.2.9)
81
191
  thread_safe (~> 0.1)
82
- zeitwerk (2.4.0)
192
+ web-console (4.1.0)
193
+ actionview (>= 6.0.0)
194
+ activemodel (>= 6.0.0)
195
+ bindex (>= 0.4.0)
196
+ railties (>= 6.0.0)
197
+ webdrivers (4.4.1)
198
+ nokogiri (~> 1.6)
199
+ rubyzip (>= 1.3.0)
200
+ selenium-webdriver (>= 3.0, < 4.0)
201
+ websocket-driver (0.7.3)
202
+ websocket-extensions (>= 0.1.0)
203
+ websocket-extensions (0.1.5)
204
+ xpath (3.2.0)
205
+ nokogiri (~> 1.8)
206
+ zeitwerk (2.4.2)
83
207
 
84
208
  PLATFORMS
85
209
  ruby
@@ -87,10 +211,20 @@ PLATFORMS
87
211
  DEPENDENCIES
88
212
  abyme!
89
213
  bundler (~> 2.0)
90
- rails-dummy
214
+ capybara
215
+ database_cleaner-active_record
216
+ generator_spec
217
+ pry-rails
218
+ puma
219
+ rails
220
+ rails-controller-testing
91
221
  rake (~> 13.0)
92
222
  rspec-rails
223
+ simplecov
224
+ simplecov-lcov
93
225
  sqlite3
226
+ web-console
227
+ webdrivers
94
228
 
95
229
  BUNDLED WITH
96
230
  2.1.4