ae_users_migrator 1.0.3 → 1.0.4

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.3
1
+ 1.0.4
@@ -1,43 +1,40 @@
1
1
  # Generated by jeweler
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{ae_users_migrator}
8
- s.version = "1.0.3"
8
+ s.version = "1.0.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Nat Budin"]
12
- s.date = %q{2010-07-18}
12
+ s.date = %q{2011-03-24}
13
13
  s.default_executable = %q{export_ae_users}
14
14
  s.description = %q{Importer and exporter for ae_users databases using JSON-based dumpfiles}
15
15
  s.email = %q{natbudin@gmail.com}
16
16
  s.executables = ["export_ae_users"]
17
17
  s.extra_rdoc_files = [
18
18
  "LICENSE",
19
- "README.rdoc"
19
+ "README.rdoc"
20
20
  ]
21
21
  s.files = [
22
- ".gitignore",
23
- "LICENSE",
24
- "README.rdoc",
25
- "Rakefile",
26
- "VERSION",
27
- "ae_users_migrator.gemspec",
28
- "bin/export_ae_users",
29
- "lib/ae_users_migrator.rb",
30
- "lib/ae_users_migrator/export.rb",
31
- "lib/ae_users_migrator/import.rb"
22
+ "LICENSE",
23
+ "README.rdoc",
24
+ "Rakefile",
25
+ "VERSION",
26
+ "ae_users_migrator.gemspec",
27
+ "bin/export_ae_users",
28
+ "lib/ae_users_migrator.rb",
29
+ "lib/ae_users_migrator/export.rb",
30
+ "lib/ae_users_migrator/import.rb"
32
31
  ]
33
32
  s.homepage = %q{http://github.com/nbudin/ae_users_migrator}
34
- s.rdoc_options = ["--charset=UTF-8"]
35
33
  s.require_paths = ["lib"]
36
- s.rubygems_version = %q{1.3.7}
34
+ s.rubygems_version = %q{1.5.0}
37
35
  s.summary = %q{Migrate ae_users installations using dumpfiles}
38
36
 
39
37
  if s.respond_to? :specification_version then
40
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
41
38
  s.specification_version = 3
42
39
 
43
40
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
@@ -22,6 +22,9 @@ module AeUsersMigrator
22
22
 
23
23
  def as_json(options = {})
24
24
  json = super(options)
25
+ if json['person']
26
+ json = json['person']
27
+ end
25
28
 
26
29
  %w{email_addresses account open_id_identities roles}.each do |assn|
27
30
  json[assn] = self.send(assn).as_json
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: 17
5
- prerelease: false
4
+ hash: 31
5
+ prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 3
10
- version: 1.0.3
9
+ - 4
10
+ version: 1.0.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Nat Budin
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-07-18 00:00:00 -04:00
18
+ date: 2011-03-24 00:00:00 -04:00
19
19
  default_executable: export_ae_users
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -43,7 +43,6 @@ extra_rdoc_files:
43
43
  - LICENSE
44
44
  - README.rdoc
45
45
  files:
46
- - .gitignore
47
46
  - LICENSE
48
47
  - README.rdoc
49
48
  - Rakefile
@@ -58,8 +57,8 @@ homepage: http://github.com/nbudin/ae_users_migrator
58
57
  licenses: []
59
58
 
60
59
  post_install_message:
61
- rdoc_options:
62
- - --charset=UTF-8
60
+ rdoc_options: []
61
+
63
62
  require_paths:
64
63
  - lib
65
64
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -83,7 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
83
82
  requirements: []
84
83
 
85
84
  rubyforge_project:
86
- rubygems_version: 1.3.7
85
+ rubygems_version: 1.5.0
87
86
  signing_key:
88
87
  specification_version: 3
89
88
  summary: Migrate ae_users installations using dumpfiles
data/.gitignore DELETED
@@ -1 +0,0 @@
1
- pkg/*