ae_users_migrator 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/ae_users_migrator.gemspec +1 -1
- data/bin/export_ae_users +7 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.1
|
data/ae_users_migrator.gemspec
CHANGED
data/bin/export_ae_users
CHANGED
@@ -36,4 +36,10 @@ ActiveRecord::Base.establish_connection(options)
|
|
36
36
|
|
37
37
|
require 'ae_users_migrator/export'
|
38
38
|
|
39
|
-
|
39
|
+
if AeUsersMigrator::Export::Person.respond_to?(:includes)
|
40
|
+
# ActiveRecord 3 API
|
41
|
+
puts AeUsersMigrator::Export::Person.includes(:email_addresses, :account, :open_id_identities, :roles).all.to_json
|
42
|
+
else
|
43
|
+
# ActiveRecord 2.3 API
|
44
|
+
puts AeUsersMigrator::Export::Person.all(:include => [:email_addresses, :account, :open_id_identities, :roles]).to_json
|
45
|
+
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ae_users_migrator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 1
|
10
|
+
version: 1.0.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Nat Budin
|