public_uid 1.3.0 → 1.3.1

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
2
  SHA256:
3
- metadata.gz: c2d69f6a9e786d8688e3e6c0bcfa330c14fd7b127b5e3472d7ce5b82f2f03b87
4
- data.tar.gz: 25d0ab2367c4ff2326b8853fe1835484206ce016d364d21c09a0220a98355519
3
+ metadata.gz: 6eae2510dbf2fc8bb27deb0152a09c9a16c076200e11c9b59d3cc4d773dae188
4
+ data.tar.gz: 7b63a89f445c5ac69c20173d61cdfe2cb951aa87454afdca21306ee605a403b3
5
5
  SHA512:
6
- metadata.gz: f0b0837bb2a8104ac4cf986fe8bb595b0502ad4f53cdf7c10e9f3f99cf0e4a9f338de1eca825cc29038a14f85f0033a348192094f402b042568b5363af1ce85b
7
- data.tar.gz: 9ab628f84f3883aa7f6c2063c74dbfd8b8897a15b6613ccdcb020af3456f45dd3b5c56f487d037e981cae3d5ab2f438c94fc1d1021be9c453e573285de4a8541
6
+ metadata.gz: 4702fd22920d3386b9ad00aa89524fb3c48fd5d9be9424803f9dff4b869eca2672b448757ba4ab00d756778b43c93ea472653545189f2c27d42b90fa00c1a175
7
+ data.tar.gz: ff06e39666089367fec172e0c3e4a3b07725ee7196715943590f7e0a5ef9b242ac1171578e816f36d592eeb078ac6433f9ecc82a50ac43a28e63c725cda82023
data/README.md CHANGED
@@ -54,6 +54,7 @@ Create database column for public unique ID.
54
54
  class AddPublicUidToUsers < ActiveRecord::Migration
55
55
  def change
56
56
  add_column :users, :public_uid, :string
57
+ add_index :users, :public_uid
57
58
  end
58
59
  end
59
60
  ```
@@ -3,6 +3,7 @@ require 'rake'
3
3
  namespace :public_uid do
4
4
  desc "Generate public_uid on Models that have public_uid column on records that have nil value"
5
5
  task :generate => :environment do
6
+ Rails.application.eager_load!
6
7
  ActiveRecord::Base.descendants.each do |model|
7
8
  model.connection # establish conection
8
9
 
@@ -1,3 +1,3 @@
1
1
  module PublicUid
2
- VERSION = "1.3.0"
2
+ VERSION = "1.3.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: public_uid
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomas Valent
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-12-03 00:00:00.000000000 Z
11
+ date: 2019-07-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: orm_adapter
@@ -165,8 +165,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
165
165
  - !ruby/object:Gem::Version
166
166
  version: '0'
167
167
  requirements: []
168
- rubyforge_project:
169
- rubygems_version: 2.7.7
168
+ rubygems_version: 3.0.3
170
169
  signing_key:
171
170
  specification_version: 4
172
171
  summary: Automatic generates public UID column