rails-persona 0.2.1 → 0.2.2
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 +4 -4
- data/lib/persona/railtie.rb +15 -15
- data/lib/persona/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f19b5a47e19440291c8199b47569c2fd0bff13df6cbfe33114e7e14208ed335b
|
|
4
|
+
data.tar.gz: 234cbefc25d0b3c8689b6213fc3cc1e3638503a5cfe4ead99e1f34f67f0a3bad
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a53826b6d93123e7a2bcbfb911226062909e36d72ca31016047865b19cf65535d5707930d63d39e45dab08ca4e9d62bae121cb52aa42859865a043f74183086d
|
|
7
|
+
data.tar.gz: b60ffc71a8378d74eece8731ba00e93cbefdc8011239d4909bdff32778868ac88ddb66df69cd2a1e60f2caf024f06b99fd8ba1a586782dc7f4048b114d53502f
|
data/lib/persona/railtie.rb
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
require "rails"
|
|
2
|
-
|
|
3
|
-
module Persona
|
|
4
|
-
class Railtie < Rails::Railtie
|
|
5
|
-
initializer "persona.append_migrations" do |app|
|
|
6
|
-
unless app.root.to_s == File.expand_path("../..", __dir__)
|
|
7
|
-
migrations_path = File.expand_path("
|
|
8
|
-
app.config.paths["db/migrate"] << migrations_path
|
|
9
|
-
end
|
|
10
|
-
end
|
|
11
|
-
|
|
12
|
-
rake_tasks do
|
|
13
|
-
load File.expand_path("
|
|
14
|
-
end
|
|
15
|
-
end
|
|
1
|
+
require "rails"
|
|
2
|
+
|
|
3
|
+
module Persona
|
|
4
|
+
class Railtie < Rails::Railtie
|
|
5
|
+
initializer "persona.append_migrations" do |app|
|
|
6
|
+
unless app.root.to_s == File.expand_path("../..", __dir__)
|
|
7
|
+
migrations_path = File.expand_path("../../db/migrate", __dir__)
|
|
8
|
+
app.config.paths["db/migrate"] << migrations_path
|
|
9
|
+
end
|
|
10
|
+
end
|
|
11
|
+
|
|
12
|
+
rake_tasks do
|
|
13
|
+
load File.expand_path("../../tasks/persona_tasks.rake", __dir__)
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
16
|
end
|
data/lib/persona/version.rb
CHANGED