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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1d9a9d5c551c18a0df94133a0adc5182d872afcab3e690a4580f480fab66cd09
4
- data.tar.gz: b4a9efc3055adc3ee91d5fe47ba42a1b2f59bb00d820537d4ae2e3588e556753
3
+ metadata.gz: 75c6d13f3793915b26354a3a5348244b042b90a3f5cbd6c4d5077a8ef5e27e0d
4
+ data.tar.gz: 39702a5d131bdfe0bad6801fe761fff1c5b6d01cc4b52021814ab21fb79b9d41
5
5
  SHA512:
6
- metadata.gz: e6c2658659e778be404e1c5f66b2d873a7d7a5a7f8a9f8b15773105949f6f29e7e8c9654e0e77a919b4bcc2472c31bdc29f82ec5cf0275db81e0a3575caf6f29
7
- data.tar.gz: e20925dc8d6d4152f58b038101de146735a34919bfe7a91b3605ec08b7b1a5a76c177e227428d7a80219d7c414bf71804d6a01f7fead43857b3870214ce6b7b9
6
+ metadata.gz: 474d9c356036d4c097755174c0e1184ed4de9b0f100813f520519f931994139c24efcf106d5f4f478c2978f3252f7398cbba008590dfc57a29b83616e9179c69
7
+ data.tar.gz: 158952a7c152e2239cc48e58b889881bf50dfb66ce3c244d04aedcab05242b1c35d5c0ee2907a925fdc96ca76d41ba4d9aedbe45afc2a5bf5da609b19fb6389c
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -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
@@ -1,52 +1,21 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mobility (0.7.3)
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
@@ -51,7 +51,7 @@ Installation
51
51
  Add this line to your application's Gemfile:
52
52
 
53
53
  ```ruby
54
- gem 'mobility', '~> 0.7.4'
54
+ gem 'mobility', '~> 0.7.5'
55
55
  ```
56
56
 
57
57
  Mobility is cryptographically signed. To be sure the gem you install hasn't
@@ -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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Mobility
4
- VERSION = "0.7.4"
4
+ VERSION = "0.7.5"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mobility
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.4
4
+ version: 0.7.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Salzberg
metadata.gz.sig CHANGED
Binary file