openopus-core-people 1.1.10 → 1.1.11

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: 5fa609ee836533103efd9cac7c3a00e6e3b91ad3ea48c5e2bf16ff11b84d9ed5
4
- data.tar.gz: 61d6376f1ba54350b83f635fe82e98bfe09582593fc470bbdade7b8276b55fa3
3
+ metadata.gz: 6ab650c65f3c0c4bbf10f15ed0a6c0ce275beb9133e6d3ec56577ed043760508
4
+ data.tar.gz: 94d9e71f0cdb9e4e26a66f0426e8d9b73839c7ce2c1b9e0aee97883331e6fc50
5
5
  SHA512:
6
- metadata.gz: c540c01684241f7802028026e0d7a1cc60f7fb8297ed2f4d959c16cffdac9e3a2918c039666fad9d00af81d8f87e487bb9fe83b8d37df347115aa43f50ff3305
7
- data.tar.gz: 3bea98e5e63b9a7932bda9838ed4872cde3ec27c132bd3ee5b576f5466e56fee2d19b0b47fc3354a480f60e966588d0b2a2e2d374a38d7b5f2f9fcbd9978021d
6
+ metadata.gz: 8269bb3d92b704b885ca77b85909c0111ea6a64472aefa646da6c2d114efd033bb0282c150972ac49de813ef101f2ba9ab8b2f679cda9c3d6fd77c4402d11144
7
+ data.tar.gz: c2cdf46236104f440f932b417ff45f6ff300b629d162dd7d35deada4867ac14a8c224aa53c42b5f2357b60732c46a53c16797e6864232991342b35f006368dd1
data/README.md CHANGED
@@ -23,7 +23,8 @@ gem 'openopus-core-people', git: "https://github.com/openopus/openopus-core-peop
23
23
  And then execute:
24
24
  ```bash
25
25
  $ bundle install
26
- $ bundle exec rake db:migrate
26
+ $ ./bin/rake openopus_core_people_engine:install:migrations
27
+ $ ./bin/rake db:migrate
27
28
  ```
28
29
 
29
30
  Or install it yourself as:
@@ -22,7 +22,7 @@ class Person < ApplicationRecord
22
22
  end
23
23
 
24
24
  if not person
25
- email = Email.where(emailable_type: name.to_s, address: Email.canonicalize(name.downcase)).first
25
+ email = Email.where(emailable_type: self.name.to_s, address: Email.canonicalize(name.downcase)).first
26
26
  person = email.emailable if email
27
27
  end
28
28
 
@@ -5,7 +5,7 @@ module Openopus
5
5
  initializer :append_migrations do |app|
6
6
  unless app.root.to_s.match(root.to_s)
7
7
  config.paths["db/migrate"].expanded.each do |expanded_path|
8
- # app.config.paths["db/migrate"] << expanded_path
8
+ app.config.paths["db/migrate"] << expanded_path
9
9
  end
10
10
  end
11
11
  end
@@ -1,7 +1,7 @@
1
1
  module Openopus
2
2
  module Core
3
3
  module People
4
- VERSION = '1.1.10'
4
+ VERSION = '1.1.11'
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openopus-core-people
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.10
4
+ version: 1.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian J. Fox
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-12-09 00:00:00.000000000 Z
11
+ date: 2020-12-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails