commons_yellowme 0.11.1 → 0.11.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +52 -1
- data/Gemfile.lock +51 -67
- data/commons.gemspec +1 -8
- data/lib/commons/version.rb +1 -1
- data/spec/dummy/config/application.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 10ccd5a39dd45cf5fe5cfb47d5c293839d2a338d791f18e681425854b390302b
|
4
|
+
data.tar.gz: 98ba2e685c030e4d138fe7205eb80b7871a392756aa97632a53530ff0395ded5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 33d1309e20926f2212c1fd22612852492452427d0872ff00446a35659385dd1459bb6ed6d937dd76986992c316487ff6789d26999ab72bd7d845417c2330b426
|
7
|
+
data.tar.gz: 3f8b284ff215bf5eb8a05960d2ca658782beb3652af178336eb83ffa0b683de7caa16585cadd8200b5ff7c5283a87b60d608cbd714706184e850b20662d0bf8b
|
data/.gitignore
CHANGED
@@ -1,3 +1,55 @@
|
|
1
|
+
*.gem
|
2
|
+
*.rbc
|
3
|
+
/.config
|
4
|
+
/coverage/
|
5
|
+
/InstalledFiles
|
6
|
+
/pkg/
|
7
|
+
/spec/reports/
|
8
|
+
/spec/examples.txt
|
9
|
+
/test/tmp/
|
10
|
+
/test/version_tmp/
|
11
|
+
/tmp/
|
12
|
+
|
13
|
+
# Used by dotenv library to load environment variables.
|
14
|
+
# .env
|
15
|
+
|
16
|
+
## Specific to RubyMotion:
|
17
|
+
.dat*
|
18
|
+
.repl_history
|
19
|
+
build/
|
20
|
+
*.bridgesupport
|
21
|
+
build-iPhoneOS/
|
22
|
+
build-iPhoneSimulator/
|
23
|
+
|
24
|
+
## Specific to RubyMotion (use of CocoaPods):
|
25
|
+
#
|
26
|
+
# We recommend against adding the Pods directory to your .gitignore. However
|
27
|
+
# you should judge for yourself, the pros and cons are mentioned at:
|
28
|
+
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
|
29
|
+
#
|
30
|
+
# vendor/Pods/
|
31
|
+
|
32
|
+
## Documentation cache and generated files:
|
33
|
+
/.yardoc/
|
34
|
+
/_yardoc/
|
35
|
+
/doc/
|
36
|
+
/rdoc/
|
37
|
+
|
38
|
+
## Environment normalization:
|
39
|
+
/.bundle/
|
40
|
+
/vendor/bundle
|
41
|
+
/lib/bundler/man/
|
42
|
+
|
43
|
+
# for a library or gem, you might want to ignore these files since the code is
|
44
|
+
# intended to run in multiple environments; otherwise, check them in:
|
45
|
+
# Gemfile.lock
|
46
|
+
# .ruby-version
|
47
|
+
# .ruby-gemset
|
48
|
+
|
49
|
+
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
|
50
|
+
.rvmrc
|
51
|
+
.DS_Store
|
52
|
+
|
1
53
|
.bundle/
|
2
54
|
log/*.log
|
3
55
|
pkg/
|
@@ -7,4 +59,3 @@ spec/dummy/db/*.sqlite3-*
|
|
7
59
|
spec/dummy/log/*.log
|
8
60
|
spec/dummy/storage/
|
9
61
|
spec/dummy/tmp/
|
10
|
-
coverage
|
data/Gemfile.lock
CHANGED
@@ -1,83 +1,70 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
|
4
|
+
commons_yellowme (0.11.1)
|
5
5
|
active_model_serializers (~> 0.10.10)
|
6
6
|
dry-validation
|
7
7
|
json (~> 1.8)
|
8
8
|
jwt
|
9
9
|
phonelib (~> 0.6.29)
|
10
|
-
rails (~>
|
10
|
+
rails (~> 5.2)
|
11
11
|
strip_attributes
|
12
12
|
|
13
13
|
GEM
|
14
14
|
remote: https://rubygems.org/
|
15
15
|
specs:
|
16
|
-
actioncable (
|
17
|
-
actionpack (=
|
16
|
+
actioncable (5.2.4.1)
|
17
|
+
actionpack (= 5.2.4.1)
|
18
18
|
nio4r (~> 2.0)
|
19
19
|
websocket-driver (>= 0.6.1)
|
20
|
-
|
21
|
-
actionpack (=
|
22
|
-
|
23
|
-
|
24
|
-
activestorage (= 6.0.2)
|
25
|
-
activesupport (= 6.0.2)
|
26
|
-
mail (>= 2.7.1)
|
27
|
-
actionmailer (6.0.2)
|
28
|
-
actionpack (= 6.0.2)
|
29
|
-
actionview (= 6.0.2)
|
30
|
-
activejob (= 6.0.2)
|
20
|
+
actionmailer (5.2.4.1)
|
21
|
+
actionpack (= 5.2.4.1)
|
22
|
+
actionview (= 5.2.4.1)
|
23
|
+
activejob (= 5.2.4.1)
|
31
24
|
mail (~> 2.5, >= 2.5.4)
|
32
25
|
rails-dom-testing (~> 2.0)
|
33
|
-
actionpack (
|
34
|
-
actionview (=
|
35
|
-
activesupport (=
|
36
|
-
rack (~> 2.0)
|
26
|
+
actionpack (5.2.4.1)
|
27
|
+
actionview (= 5.2.4.1)
|
28
|
+
activesupport (= 5.2.4.1)
|
29
|
+
rack (~> 2.0, >= 2.0.8)
|
37
30
|
rack-test (>= 0.6.3)
|
38
31
|
rails-dom-testing (~> 2.0)
|
39
|
-
rails-html-sanitizer (~> 1.0, >= 1.2
|
40
|
-
|
41
|
-
|
42
|
-
activerecord (= 6.0.2)
|
43
|
-
activestorage (= 6.0.2)
|
44
|
-
activesupport (= 6.0.2)
|
45
|
-
nokogiri (>= 1.8.5)
|
46
|
-
actionview (6.0.2)
|
47
|
-
activesupport (= 6.0.2)
|
32
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
33
|
+
actionview (5.2.4.1)
|
34
|
+
activesupport (= 5.2.4.1)
|
48
35
|
builder (~> 3.1)
|
49
36
|
erubi (~> 1.4)
|
50
37
|
rails-dom-testing (~> 2.0)
|
51
|
-
rails-html-sanitizer (~> 1.
|
38
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
52
39
|
active_model_serializers (0.10.10)
|
53
40
|
actionpack (>= 4.1, < 6.1)
|
54
41
|
activemodel (>= 4.1, < 6.1)
|
55
42
|
case_transform (>= 0.2)
|
56
43
|
jsonapi-renderer (>= 0.1.1.beta1, < 0.3)
|
57
|
-
activejob (
|
58
|
-
activesupport (=
|
44
|
+
activejob (5.2.4.1)
|
45
|
+
activesupport (= 5.2.4.1)
|
59
46
|
globalid (>= 0.3.6)
|
60
|
-
activemodel (
|
61
|
-
activesupport (=
|
62
|
-
activerecord (
|
63
|
-
activemodel (=
|
64
|
-
activesupport (=
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
activerecord (=
|
47
|
+
activemodel (5.2.4.1)
|
48
|
+
activesupport (= 5.2.4.1)
|
49
|
+
activerecord (5.2.4.1)
|
50
|
+
activemodel (= 5.2.4.1)
|
51
|
+
activesupport (= 5.2.4.1)
|
52
|
+
arel (>= 9.0)
|
53
|
+
activestorage (5.2.4.1)
|
54
|
+
actionpack (= 5.2.4.1)
|
55
|
+
activerecord (= 5.2.4.1)
|
69
56
|
marcel (~> 0.3.1)
|
70
|
-
activesupport (
|
57
|
+
activesupport (5.2.4.1)
|
71
58
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
72
59
|
i18n (>= 0.7, < 2)
|
73
60
|
minitest (~> 5.1)
|
74
61
|
tzinfo (~> 1.1)
|
75
|
-
|
62
|
+
arel (9.0.0)
|
76
63
|
builder (3.2.4)
|
77
64
|
case_transform (0.2)
|
78
65
|
activesupport
|
79
66
|
concurrent-ruby (1.1.5)
|
80
|
-
crass (1.0.
|
67
|
+
crass (1.0.6)
|
81
68
|
diff-lcs (1.3)
|
82
69
|
docile (1.3.2)
|
83
70
|
dry-configurable (0.9.0)
|
@@ -127,7 +114,7 @@ GEM
|
|
127
114
|
i18n (>= 1.6, < 1.8)
|
128
115
|
globalid (0.4.2)
|
129
116
|
activesupport (>= 4.2.0)
|
130
|
-
i18n (1.7.
|
117
|
+
i18n (1.7.1)
|
131
118
|
concurrent-ruby (~> 1.0)
|
132
119
|
json (1.8.6)
|
133
120
|
jsonapi-renderer (0.2.2)
|
@@ -143,40 +130,38 @@ GEM
|
|
143
130
|
mimemagic (0.3.4)
|
144
131
|
mini_mime (1.0.2)
|
145
132
|
mini_portile2 (2.4.0)
|
146
|
-
minitest (5.
|
133
|
+
minitest (5.14.0)
|
147
134
|
nio4r (2.5.2)
|
148
135
|
nokogiri (1.10.7)
|
149
136
|
mini_portile2 (~> 2.4.0)
|
150
137
|
phonelib (0.6.41)
|
151
|
-
rack (2.
|
138
|
+
rack (2.1.2)
|
152
139
|
rack-test (1.1.0)
|
153
140
|
rack (>= 1.0, < 3)
|
154
|
-
rails (
|
155
|
-
actioncable (=
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
activestorage (= 6.0.2)
|
165
|
-
activesupport (= 6.0.2)
|
141
|
+
rails (5.2.4.1)
|
142
|
+
actioncable (= 5.2.4.1)
|
143
|
+
actionmailer (= 5.2.4.1)
|
144
|
+
actionpack (= 5.2.4.1)
|
145
|
+
actionview (= 5.2.4.1)
|
146
|
+
activejob (= 5.2.4.1)
|
147
|
+
activemodel (= 5.2.4.1)
|
148
|
+
activerecord (= 5.2.4.1)
|
149
|
+
activestorage (= 5.2.4.1)
|
150
|
+
activesupport (= 5.2.4.1)
|
166
151
|
bundler (>= 1.3.0)
|
167
|
-
railties (=
|
152
|
+
railties (= 5.2.4.1)
|
168
153
|
sprockets-rails (>= 2.0.0)
|
169
154
|
rails-dom-testing (2.0.3)
|
170
155
|
activesupport (>= 4.2.0)
|
171
156
|
nokogiri (>= 1.6)
|
172
157
|
rails-html-sanitizer (1.3.0)
|
173
158
|
loofah (~> 2.3)
|
174
|
-
railties (
|
175
|
-
actionpack (=
|
176
|
-
activesupport (=
|
159
|
+
railties (5.2.4.1)
|
160
|
+
actionpack (= 5.2.4.1)
|
161
|
+
activesupport (= 5.2.4.1)
|
177
162
|
method_source
|
178
163
|
rake (>= 0.8.7)
|
179
|
-
thor (>= 0.
|
164
|
+
thor (>= 0.19.0, < 2.0)
|
180
165
|
rake (13.0.1)
|
181
166
|
rspec-core (3.9.0)
|
182
167
|
rspec-support (~> 3.9.0)
|
@@ -210,20 +195,19 @@ GEM
|
|
210
195
|
sqlite3 (1.4.1)
|
211
196
|
strip_attributes (1.9.0)
|
212
197
|
activemodel (>= 3.0, < 7.0)
|
213
|
-
thor (1.0.
|
198
|
+
thor (1.0.1)
|
214
199
|
thread_safe (0.3.6)
|
215
|
-
tzinfo (1.2.
|
200
|
+
tzinfo (1.2.6)
|
216
201
|
thread_safe (~> 0.1)
|
217
202
|
websocket-driver (0.7.1)
|
218
203
|
websocket-extensions (>= 0.1.0)
|
219
204
|
websocket-extensions (0.1.4)
|
220
|
-
zeitwerk (2.2.2)
|
221
205
|
|
222
206
|
PLATFORMS
|
223
207
|
ruby
|
224
208
|
|
225
209
|
DEPENDENCIES
|
226
|
-
|
210
|
+
commons_yellowme!
|
227
211
|
factory_bot_rails (~> 5.1.1)
|
228
212
|
faker
|
229
213
|
rspec-rails
|
data/commons.gemspec
CHANGED
@@ -15,19 +15,12 @@ Gem::Specification.new do |spec|
|
|
15
15
|
spec.homepage = 'https://github.com/yellowme/commons-rails'
|
16
16
|
spec.license = 'MIT'
|
17
17
|
|
18
|
-
#spec.files = Dir["{app,config,db,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.md"]
|
19
|
-
#spec.files = [
|
20
|
-
# "lib/commons.rb",
|
21
|
-
# "spec/support/shared-examples/capitalizable.rb",
|
22
|
-
# "spec/support/shared-examples/undestroyable.rb",
|
23
|
-
# "spec/support/shared-examples/stripable.rb"
|
24
|
-
# ]
|
25
18
|
spec.files = `git ls-files`.split($/)
|
26
19
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
27
20
|
spec.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
28
21
|
|
29
22
|
|
30
|
-
spec.add_dependency "rails", "~>
|
23
|
+
spec.add_dependency "rails", "~> 5.2"
|
31
24
|
spec.add_dependency 'json', '~> 1.8'
|
32
25
|
spec.add_dependency "active_model_serializers", "~> 0.10.10"
|
33
26
|
spec.add_dependency "strip_attributes"
|
data/lib/commons/version.rb
CHANGED
@@ -19,7 +19,7 @@ require "commons"
|
|
19
19
|
module Dummy
|
20
20
|
class Application < Rails::Application
|
21
21
|
# Initialize configuration defaults for originally generated Rails version.
|
22
|
-
config.load_defaults
|
22
|
+
config.load_defaults 5.2
|
23
23
|
|
24
24
|
# Settings in config/environments/* take precedence over those specified here.
|
25
25
|
# Application configuration can go into files in config/initializers
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: commons_yellowme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.11.
|
4
|
+
version: 0.11.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yellowme
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: '5.2'
|
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: '5.2'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: json
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|