public_uid 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 84a09238730e59d9814e21cb6981e8679583f939
4
- data.tar.gz: dfec8f57246595a82792f17c1280fc50302a7412
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ YmE5ZTQ4YjY0ZjYyYzBhZjQ3ODE1YWFkMGI3NTEwZGFmYTM2NmNiMg==
5
+ data.tar.gz: !binary |-
6
+ YTM1ZGMyMmNlMjJjMGIwOWJkNGIyMTc0NjRlNWU0OGI2ODJhZjA5OQ==
5
7
  SHA512:
6
- metadata.gz: 20cb1ef26cd4f60ee236fa83c086be46c91a59011a942560bd740da7d640455e49cec638317dfcc4402cadc5bb18c027622edb653a7ff20b34e4f756986cdab1
7
- data.tar.gz: 1f354dc5c5523d2c1ec2dd3f7f401da9d7d8f2e3c4ff471a91de8ebe0712ea7d8c291252ae9cb6b2505e7eb831145d2c1fa48651844024178f6d0dad16b2d1f0
8
+ metadata.gz: !binary |-
9
+ ZWQ5NjBlZDA3YWU5ODc4NzYzY2EzNTI3Y2Y2Y2I5Y2RhMDAxYWJiMTZkMzMz
10
+ ZjI4OTgwNDhmZmY3ZDNhNGY3Y2EyNmZjZDMzMWQ2NDE5NDg1NGFlODhjMGQy
11
+ N2ZiNmQwYTVlOGFmNGY1MjdkYmU4ZGY0NGE5Yjg5YTNjYjdmODU=
12
+ data.tar.gz: !binary |-
13
+ NGJjOGNlZDg2M2NlMDY1YTczN2JmZTA3MDQ4NjdmODE1OTM2MTZlNjY2Y2Fj
14
+ OWNhODQwZjk3YTIzOGY0NGNkM2U0YjA5YTYzZWRkZTE0NTgwNGU1YTg2NTlh
15
+ YjUyZmRjOTY5OTU3YzNhZmRlMzIyM2ZkMDgxZGI2NjE5Mzk5NWY=
data/README.md CHANGED
@@ -164,6 +164,19 @@ using `public_uid` on records where `public_uid == nil`.
164
164
 
165
165
  This is helpfull to generate `public_uid` on pre-existing recrods.
166
166
 
167
+ ```
168
+ rake public_uid:generate
169
+
170
+ Model EntityApplication: generating public_uids for missing records
171
+ * generating 0 public_uid(s)
172
+
173
+ Model ValidationFormField: generating public_uids for missing records
174
+ * generating 133 public_uid(s)
175
+
176
+ Model ValidationType: generating public_uids for missing records
177
+ * generating 0 public_uid(s)
178
+ ```
179
+
167
180
  ## Contributing
168
181
 
169
182
  1. Fork it
@@ -39,7 +39,7 @@ module PublicUid
39
39
 
40
40
  private
41
41
  def _include_public_uid_instance_methods
42
- self.include PublicUid::Model::InstanceMethods
42
+ self.send(:include, PublicUid::Model::InstanceMethods)
43
43
  end
44
44
 
45
45
  def _set_callback_to_generate_public_uid
@@ -1,3 +1,3 @@
1
1
  module PublicUid
2
- VERSION = "1.2.0"
2
+ VERSION = "1.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: public_uid
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomas Valent
@@ -14,98 +14,98 @@ dependencies:
14
14
  name: orm_adapter
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ~>
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0.5'
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
26
  version: '0.5'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ~>
32
32
  - !ruby/object:Gem::Version
33
33
  version: '1.3'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ~>
39
39
  - !ruby/object:Gem::Version
40
40
  version: '1.3'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - ! '>='
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - ! '>='
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: minitest
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - ~>
60
60
  - !ruby/object:Gem::Version
61
61
  version: '5'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - "~>"
66
+ - - ~>
67
67
  - !ruby/object:Gem::Version
68
68
  version: '5'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rr
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - "~>"
73
+ - - ~>
74
74
  - !ruby/object:Gem::Version
75
75
  version: 1.1.2
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - "~>"
80
+ - - ~>
81
81
  - !ruby/object:Gem::Version
82
82
  version: 1.1.2
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: sqlite3
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ">="
87
+ - - ! '>='
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ">="
94
+ - - ! '>='
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: activerecord
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - "~>"
101
+ - - ~>
102
102
  - !ruby/object:Gem::Version
103
103
  version: '3.2'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - "~>"
108
+ - - ~>
109
109
  - !ruby/object:Gem::Version
110
110
  version: '3.2'
111
111
  description: Automatic generates public unique identifier for model
@@ -115,8 +115,8 @@ executables: []
115
115
  extensions: []
116
116
  extra_rdoc_files: []
117
117
  files:
118
- - ".gitignore"
119
- - ".travis.yml"
118
+ - .gitignore
119
+ - .travis.yml
120
120
  - Gemfile
121
121
  - LICENSE.txt
122
122
  - README.md
@@ -151,17 +151,17 @@ require_paths:
151
151
  - lib
152
152
  required_ruby_version: !ruby/object:Gem::Requirement
153
153
  requirements:
154
- - - ">="
154
+ - - ! '>='
155
155
  - !ruby/object:Gem::Version
156
156
  version: '0'
157
157
  required_rubygems_version: !ruby/object:Gem::Requirement
158
158
  requirements:
159
- - - ">="
159
+ - - ! '>='
160
160
  - !ruby/object:Gem::Version
161
161
  version: '0'
162
162
  requirements: []
163
163
  rubyforge_project:
164
- rubygems_version: 2.4.6
164
+ rubygems_version: 2.4.3
165
165
  signing_key:
166
166
  specification_version: 4
167
167
  summary: Automatic generates public UID column