mobility 0.7.4 → 0.7.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +3 -58
- data/README.md +1 -1
- data/lib/mobility/attributes.rb +1 -1
- data/lib/mobility/version.rb +1 -1
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 75c6d13f3793915b26354a3a5348244b042b90a3f5cbd6c4d5077a8ef5e27e0d
|
|
4
|
+
data.tar.gz: 39702a5d131bdfe0bad6801fe761fff1c5b6d01cc4b52021814ab21fb79b9d41
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 474d9c356036d4c097755174c0e1184ed4de9b0f100813f520519f931994139c24efcf106d5f4f478c2978f3252f7398cbba008590dfc57a29b83616e9179c69
|
|
7
|
+
data.tar.gz: 158952a7c152e2239cc48e58b889881bf50dfb66ce3c244d04aedcab05242b1c35d5c0ee2907a925fdc96ca76d41ba4d9aedbe45afc2a5bf5da609b19fb6389c
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
Binary file
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
## 0.7
|
|
4
4
|
|
|
5
|
+
### 0.7.5 (June 8, 2018)
|
|
6
|
+
* Only return unique names from mobility_attributes
|
|
7
|
+
([#256](https://github.com/shioyama/mobility/pull/256))
|
|
8
|
+
|
|
5
9
|
### 0.7.4 (June 8, 2018)
|
|
6
10
|
* Handle locales with multiple dashes in locale accessors, or raise
|
|
7
11
|
ArgumentError for invalid format
|
data/Gemfile.lock
CHANGED
|
@@ -1,52 +1,21 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
mobility (0.
|
|
4
|
+
mobility (0.8.0.alpha1)
|
|
5
5
|
i18n (>= 0.6.10, < 1.1)
|
|
6
6
|
request_store (~> 1.0)
|
|
7
7
|
|
|
8
8
|
GEM
|
|
9
9
|
remote: https://rubygems.org/
|
|
10
10
|
specs:
|
|
11
|
-
actionpack (5.2.0)
|
|
12
|
-
actionview (= 5.2.0)
|
|
13
|
-
activesupport (= 5.2.0)
|
|
14
|
-
rack (~> 2.0)
|
|
15
|
-
rack-test (>= 0.6.3)
|
|
16
|
-
rails-dom-testing (~> 2.0)
|
|
17
|
-
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
|
18
|
-
actionview (5.2.0)
|
|
19
|
-
activesupport (= 5.2.0)
|
|
20
|
-
builder (~> 3.1)
|
|
21
|
-
erubi (~> 1.4)
|
|
22
|
-
rails-dom-testing (~> 2.0)
|
|
23
|
-
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
|
24
|
-
activemodel (5.2.0)
|
|
25
|
-
activesupport (= 5.2.0)
|
|
26
|
-
activerecord (5.2.0)
|
|
27
|
-
activemodel (= 5.2.0)
|
|
28
|
-
activesupport (= 5.2.0)
|
|
29
|
-
arel (>= 9.0)
|
|
30
|
-
activesupport (5.2.0)
|
|
31
|
-
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
32
|
-
i18n (>= 0.7, < 2)
|
|
33
|
-
minitest (~> 5.1)
|
|
34
|
-
tzinfo (~> 1.1)
|
|
35
|
-
arel (9.0.0)
|
|
36
11
|
benchmark-ips (2.7.2)
|
|
37
|
-
builder (3.2.3)
|
|
38
12
|
byebug (10.0.2)
|
|
39
13
|
coderay (1.1.2)
|
|
40
14
|
concurrent-ruby (1.0.5)
|
|
41
|
-
crass (1.0.4)
|
|
42
15
|
database_cleaner (1.7.0)
|
|
43
16
|
diff-lcs (1.3)
|
|
44
|
-
erubi (1.7.1)
|
|
45
17
|
ffi (1.9.24)
|
|
46
18
|
formatador (0.2.5)
|
|
47
|
-
generator_spec (0.9.4)
|
|
48
|
-
activesupport (>= 3.0.0)
|
|
49
|
-
railties (>= 3.0.0)
|
|
50
19
|
guard (2.14.2)
|
|
51
20
|
formatador (>= 0.2.4)
|
|
52
21
|
listen (>= 2.7, < 4.0)
|
|
@@ -67,17 +36,10 @@ GEM
|
|
|
67
36
|
rb-fsevent (~> 0.9, >= 0.9.4)
|
|
68
37
|
rb-inotify (~> 0.9, >= 0.9.7)
|
|
69
38
|
ruby_dep (~> 1.2)
|
|
70
|
-
loofah (2.2.2)
|
|
71
|
-
crass (~> 1.0.2)
|
|
72
|
-
nokogiri (>= 1.5.9)
|
|
73
39
|
lumberjack (1.0.13)
|
|
74
40
|
method_source (0.9.0)
|
|
75
|
-
mini_portile2 (2.3.0)
|
|
76
|
-
minitest (5.11.3)
|
|
77
41
|
mysql2 (0.4.10)
|
|
78
42
|
nenv (0.3.0)
|
|
79
|
-
nokogiri (1.8.2)
|
|
80
|
-
mini_portile2 (~> 2.3.0)
|
|
81
43
|
notiffany (0.1.1)
|
|
82
44
|
nenv (~> 0.1)
|
|
83
45
|
shellany (~> 0.0)
|
|
@@ -89,19 +51,6 @@ GEM
|
|
|
89
51
|
byebug (~> 10.0)
|
|
90
52
|
pry (~> 0.10)
|
|
91
53
|
rack (2.0.5)
|
|
92
|
-
rack-test (1.0.0)
|
|
93
|
-
rack (>= 1.0, < 3)
|
|
94
|
-
rails-dom-testing (2.0.3)
|
|
95
|
-
activesupport (>= 4.2.0)
|
|
96
|
-
nokogiri (>= 1.6)
|
|
97
|
-
rails-html-sanitizer (1.0.4)
|
|
98
|
-
loofah (~> 2.2, >= 2.2.2)
|
|
99
|
-
railties (5.2.0)
|
|
100
|
-
actionpack (= 5.2.0)
|
|
101
|
-
activesupport (= 5.2.0)
|
|
102
|
-
method_source
|
|
103
|
-
rake (>= 0.8.7)
|
|
104
|
-
thor (>= 0.18.1, < 2.0)
|
|
105
54
|
rake (12.3.1)
|
|
106
55
|
rb-fsevent (0.10.3)
|
|
107
56
|
rb-inotify (0.9.10)
|
|
@@ -122,31 +71,27 @@ GEM
|
|
|
122
71
|
rspec-support (~> 3.7.0)
|
|
123
72
|
rspec-support (3.7.1)
|
|
124
73
|
ruby_dep (1.5.0)
|
|
74
|
+
sequel (5.9.0)
|
|
125
75
|
shellany (0.0.1)
|
|
126
76
|
sqlite3 (1.3.13)
|
|
127
77
|
thor (0.20.0)
|
|
128
|
-
thread_safe (0.3.6)
|
|
129
|
-
tzinfo (1.2.5)
|
|
130
|
-
thread_safe (~> 0.1)
|
|
131
78
|
yard (0.9.14)
|
|
132
79
|
|
|
133
80
|
PLATFORMS
|
|
134
81
|
ruby
|
|
135
82
|
|
|
136
83
|
DEPENDENCIES
|
|
137
|
-
activerecord (>= 5.2.0.rc2, < 5.3)
|
|
138
84
|
benchmark-ips
|
|
139
85
|
bundler (~> 1.12)
|
|
140
86
|
database_cleaner (~> 1.5, >= 1.5.3)
|
|
141
|
-
generator_spec (~> 0.9.4)
|
|
142
87
|
guard-rspec
|
|
143
88
|
mobility!
|
|
144
89
|
mysql2 (~> 0.4.9)
|
|
145
90
|
pg (< 1.0)
|
|
146
91
|
pry-byebug
|
|
147
|
-
railties (>= 5.2.0.rc2, < 5.3)
|
|
148
92
|
rake (~> 12, >= 12.2.1)
|
|
149
93
|
rspec (~> 3.0)
|
|
94
|
+
sequel (>= 5.0.0, < 6.0.0)
|
|
150
95
|
sqlite3
|
|
151
96
|
yard (~> 0.9.0)
|
|
152
97
|
|
data/README.md
CHANGED
data/lib/mobility/attributes.rb
CHANGED
|
@@ -268,7 +268,7 @@ EOL
|
|
|
268
268
|
# Return translated attribute names on this model.
|
|
269
269
|
# @return [Array<String>] Attribute names
|
|
270
270
|
def mobility_attributes
|
|
271
|
-
mobility_modules.map(&:names).flatten
|
|
271
|
+
mobility_modules.map(&:names).flatten.uniq
|
|
272
272
|
end
|
|
273
273
|
|
|
274
274
|
# @!method translated_attribute_names
|
data/lib/mobility/version.rb
CHANGED
metadata
CHANGED
metadata.gz.sig
CHANGED
|
Binary file
|