active_uxid 5.0.2 → 5.1.0

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
- SHA1:
3
- metadata.gz: ea6cf79cc6bb9d309af2a2c882680a5896cc72b3
4
- data.tar.gz: 9a13d21b1a1f3105f17a9744a5101c1d78938512
2
+ SHA256:
3
+ metadata.gz: 3bd4a0f59dc1dd5e33f9c76c01c619f8c4074f1c09ed536728aaafea30ad9914
4
+ data.tar.gz: 24ac012f4b6b215ff703cf5a47f9cec9894725e0905f8732dbfd94668daa12ca
5
5
  SHA512:
6
- metadata.gz: c06be4e3cc8faaef59d10eb215f8fea3d61faab74880f31b31bb609d1c8af52200fc3e8ae8492ce90b3e90ed1bf85cceaa191d1fdafdf9ba0402f8fb81efde44
7
- data.tar.gz: 7da641ce0d21cb341f45094ef4f3ae29feb4c8165e95421d2960d65207d048d10b940aadc84c2d6f601093d98e86971dec47c090e81a8cf649e5711548c1c808
6
+ metadata.gz: 795532bdf6e9ee460a571a76d72c0ce93bd188c055d2f172c95abbd1f91a79d34f116f6e12e7277c92b9f274bd3c72281774dca0ea93489cd090f2450e10b9f2
7
+ data.tar.gz: cd7eb3d7c6158bd1d6069a31d3ce5f8d506e849bb7d42be830321ffd516ab921d06fa209a2c0d5bdc4cc330efb72cd6dc05c10c1ddb1884a2f84863c79532c13
@@ -0,0 +1,14 @@
1
+ ---
2
+ detectors:
3
+ Attribute:
4
+ enabled: false
5
+ FeatureEnvy:
6
+ enabled: false
7
+ IrresponsibleModule:
8
+ enabled: false
9
+ ManualDispatch:
10
+ enabled: false
11
+ TooManyStatements:
12
+ max_statements: 10
13
+ UtilityFunction:
14
+ enabled: false
@@ -16,3 +16,5 @@ Style/ClassAndModuleChildren:
16
16
  Enabled: false
17
17
  Style/Documentation:
18
18
  Enabled: false
19
+ Style/ExpandPathArguments:
20
+ Enabled: false
@@ -1,7 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # coding: utf-8
4
-
5
3
  lib = File.expand_path('../lib', __FILE__)
6
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
7
5
  require 'active_uxid/version'
@@ -26,12 +24,12 @@ Gem::Specification.new do |spec|
26
24
  spec.add_runtime_dependency 'activesupport'
27
25
 
28
26
  spec.add_development_dependency 'bundler'
29
- spec.add_development_dependency 'rake'
30
- spec.add_development_dependency 'rspec'
31
- spec.add_development_dependency 'sqlite3'
32
27
  spec.add_development_dependency 'database_cleaner'
33
- spec.add_development_dependency 'generator_spec'
34
28
  spec.add_development_dependency 'fasterer'
29
+ spec.add_development_dependency 'generator_spec'
30
+ spec.add_development_dependency 'rake'
35
31
  spec.add_development_dependency 'reek'
32
+ spec.add_development_dependency 'rspec'
36
33
  spec.add_development_dependency 'rubocop'
34
+ spec.add_development_dependency 'sqlite3'
37
35
  end
@@ -16,6 +16,7 @@ module ActiveUxid
16
16
 
17
17
  def uxid_to_id
18
18
  return unless respond_to?(:uxid)
19
+
19
20
  ActiveUxid::Hash.decode(uxid)
20
21
  end
21
22
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ActiveRegulation
4
- VERSION ||= '5.0.2'
4
+ VERSION ||= '5.1.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_uxid
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.2
4
+ version: 5.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Gomez
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-10-05 00:00:00.000000000 Z
11
+ date: 2018-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -53,7 +53,7 @@ dependencies:
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
- name: rake
56
+ name: database_cleaner
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - ">="
@@ -67,7 +67,7 @@ dependencies:
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
- name: rspec
70
+ name: fasterer
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - ">="
@@ -81,7 +81,7 @@ dependencies:
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
- name: sqlite3
84
+ name: generator_spec
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - ">="
@@ -95,7 +95,7 @@ dependencies:
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
- name: database_cleaner
98
+ name: rake
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - ">="
@@ -109,7 +109,7 @@ dependencies:
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  - !ruby/object:Gem::Dependency
112
- name: generator_spec
112
+ name: reek
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - ">="
@@ -123,7 +123,7 @@ dependencies:
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
125
  - !ruby/object:Gem::Dependency
126
- name: fasterer
126
+ name: rspec
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
129
  - - ">="
@@ -137,7 +137,7 @@ dependencies:
137
137
  - !ruby/object:Gem::Version
138
138
  version: '0'
139
139
  - !ruby/object:Gem::Dependency
140
- name: reek
140
+ name: rubocop
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
143
  - - ">="
@@ -151,7 +151,7 @@ dependencies:
151
151
  - !ruby/object:Gem::Version
152
152
  version: '0'
153
153
  - !ruby/object:Gem::Dependency
154
- name: rubocop
154
+ name: sqlite3
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
157
  - - ">="
@@ -173,7 +173,7 @@ extra_rdoc_files: []
173
173
  files:
174
174
  - ".fasterer.yml"
175
175
  - ".gitignore"
176
- - ".reek"
176
+ - ".reek.yml"
177
177
  - ".rspec"
178
178
  - ".rubocop.yml"
179
179
  - ".travis.yml"
@@ -216,7 +216,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
216
216
  version: '0'
217
217
  requirements: []
218
218
  rubyforge_project:
219
- rubygems_version: 2.6.13
219
+ rubygems_version: 2.7.7
220
220
  signing_key:
221
221
  specification_version: 4
222
222
  summary: Gem for generating obfuscated UXid's.
data/.reek DELETED
@@ -1,13 +0,0 @@
1
- ---
2
- Attribute:
3
- enabled: false
4
- FeatureEnvy:
5
- enabled: false
6
- IrresponsibleModule:
7
- enabled: false
8
- ManualDispatch:
9
- enabled: false
10
- TooManyStatements:
11
- max_statements: 10
12
- UtilityFunction:
13
- enabled: false