timecapsule 1.0.2 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.rvmrc +1 -1
- data/.travis.yml +3 -1
- data/Gemfile +2 -2
- data/Gemfile.lock +1 -3
- data/Rakefile +7 -7
- data/VERSION +1 -1
- data/gemfiles/rails3.gemfile +1 -2
- data/gemfiles/rails3_1.gemfile +1 -2
- data/gemfiles/rails4.gemfile +12 -0
- data/lib/timecapsule.rb +21 -6
- data/test/helper.rb +22 -0
- data/test/test_timecapsule.rb +14 -0
- data/timecapsule.gemspec +10 -11
- metadata +119 -160
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 345ad8b9a6119fd033e4b5f7f83a1d2d9f2f6a05
|
4
|
+
data.tar.gz: bc6aa35180b70a3d9e1cef4e12ac0d294e922cc1
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 1f256d69f27ea8ab12ee0631eea04aba07267adf0e6f34eeea5ec35ffac60fba03d31d71a7ddd7c2e96b4982afa771edb3e1eb9bd1f28329607bd8ac25d37c1d
|
7
|
+
data.tar.gz: b295fef51624d2843756e0580c98865f00159175068bc458d90e7badf3e567b4e435ebeb7f3c68ed75826f153a3205a6e20c759b58855b282843fe08ff350f76
|
data/.rvmrc
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
# development environment upon cd'ing into the directory
|
5
5
|
|
6
6
|
# First we specify our desired <ruby>[@<gemset>], the @gemset name is optional.
|
7
|
-
environment_id="
|
7
|
+
environment_id="2.0.0@timecapsule"
|
8
8
|
|
9
9
|
#
|
10
10
|
# Uncomment following line if you want options to be set only for given project.
|
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -72,7 +72,6 @@ GEM
|
|
72
72
|
rdoc (~> 3.4)
|
73
73
|
thor (~> 0.14.6)
|
74
74
|
rake (0.9.2.2)
|
75
|
-
rcov (0.9.11)
|
76
75
|
rdoc (3.11)
|
77
76
|
json (~> 1.4)
|
78
77
|
shoulda (2.11.3)
|
@@ -94,10 +93,9 @@ PLATFORMS
|
|
94
93
|
DEPENDENCIES
|
95
94
|
activerecord (>= 2.3.5)
|
96
95
|
activesupport (>= 2.3.5)
|
97
|
-
bundler
|
96
|
+
bundler
|
98
97
|
jeweler (~> 1.6.4)
|
99
98
|
rails (>= 2.3.5)
|
100
|
-
rcov
|
101
99
|
rdoc
|
102
100
|
shoulda
|
103
101
|
sqlite3
|
data/Rakefile
CHANGED
@@ -34,13 +34,13 @@ Rake::TestTask.new(:test) do |test|
|
|
34
34
|
test.verbose = true
|
35
35
|
end
|
36
36
|
|
37
|
-
require 'rcov/rcovtask'
|
38
|
-
Rcov::RcovTask.new do |test|
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
end
|
37
|
+
# require 'rcov/rcovtask'
|
38
|
+
# Rcov::RcovTask.new do |test|
|
39
|
+
# test.libs << 'test'
|
40
|
+
# test.pattern = 'test/**/test_*.rb'
|
41
|
+
# test.verbose = true
|
42
|
+
# test.rcov_opts << '--exclude "gems/*"'
|
43
|
+
# end
|
44
44
|
|
45
45
|
task :default => :test
|
46
46
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0
|
1
|
+
1.1.0
|
data/gemfiles/rails3.gemfile
CHANGED
data/gemfiles/rails3_1.gemfile
CHANGED
data/lib/timecapsule.rb
CHANGED
@@ -32,14 +32,29 @@ class Timecapsule
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
-
def self.export_model(model_export, order=nil)
|
35
|
+
def self.export_model(model_export, order=nil, attributes=nil, import_model_name=nil)
|
36
|
+
import_model_name ||= model_export
|
37
|
+
|
36
38
|
Timecapsule.check_for_and_make_directory(EXPORT_DIR)
|
37
|
-
puts "Exporting: #{model_export} to #{EXPORT_DIR}#{order.to_s}$#{
|
38
|
-
@file = File.open("#{EXPORT_DIR}#{order.to_s}$#{
|
39
|
-
|
39
|
+
puts "Exporting: #{model_export} to #{EXPORT_DIR}#{order.to_s}$#{import_model_name.to_s.pluralize.underscore}.csv"
|
40
|
+
@file = File.open("#{EXPORT_DIR}#{order.to_s}$#{import_model_name.to_s.pluralize.underscore}.csv", "w")
|
41
|
+
|
42
|
+
column_names = attributes.sort.map{|a| a[1]} if attributes
|
43
|
+
column_names ||= model_export.column_names.sort
|
44
|
+
|
45
|
+
@file.puts column_names.join(",")
|
40
46
|
model_export.all.each do |item|
|
41
|
-
|
42
|
-
|
47
|
+
attrib = {}
|
48
|
+
if attributes
|
49
|
+
attributes.each do |k,v|
|
50
|
+
attrib[k] = item[k]
|
51
|
+
end
|
52
|
+
else
|
53
|
+
attrib = item.attributes
|
54
|
+
end
|
55
|
+
|
56
|
+
@file.puts attrib.sort.collect{|k,v| "#{Timecapsule.output(v)}"}.join(",")
|
57
|
+
end
|
43
58
|
@file.close
|
44
59
|
end
|
45
60
|
|
data/test/helper.rb
CHANGED
@@ -31,6 +31,20 @@ ENV["RAILS_ROOT"] = File.expand_path(File.join(File.dirname(__FILE__), '..'))
|
|
31
31
|
|
32
32
|
require 'timecapsule'
|
33
33
|
|
34
|
+
class Timecapsule
|
35
|
+
default_config = {:import_directory => 'db/seed_data/' ,
|
36
|
+
:export_directory => 'db/seed_data/'}
|
37
|
+
IMPORT_DIR ||= default_config[:import_directory]
|
38
|
+
EXPORT_DIR ||= default_config[:export_directory]
|
39
|
+
def Timecapsule.check_for_and_make_directory(path)
|
40
|
+
return true if File.exists?(path)
|
41
|
+
path = Pathname.new(path)
|
42
|
+
parent = path.parent
|
43
|
+
Timecapsule.check_for_and_make_directory(parent) unless path.parent.parent.root?
|
44
|
+
Dir.mkdir(path) unless File.exists?(path)
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
34
48
|
ActiveRecord::Base.establish_connection(:adapter => "sqlite3", :database => ":memory:")
|
35
49
|
|
36
50
|
ActiveRecord::Schema.define(:version => 1) do
|
@@ -46,6 +60,11 @@ ActiveRecord::Schema.define(:version => 1) do
|
|
46
60
|
t.string :body
|
47
61
|
t.integer :user_id
|
48
62
|
end
|
63
|
+
|
64
|
+
create_table :names do |t|
|
65
|
+
t.string :name
|
66
|
+
t.string :other_name
|
67
|
+
end
|
49
68
|
end
|
50
69
|
|
51
70
|
module ActiveRecord
|
@@ -67,6 +86,9 @@ class Post < ActiveRecord::Base
|
|
67
86
|
belongs_to :user
|
68
87
|
end
|
69
88
|
|
89
|
+
class Name < ActiveRecord::Base
|
90
|
+
end
|
91
|
+
|
70
92
|
class Test::Unit::TestCase
|
71
93
|
end
|
72
94
|
|
data/test/test_timecapsule.rb
CHANGED
@@ -12,8 +12,10 @@ class TestTimecapsule < Test::Unit::TestCase
|
|
12
12
|
def cleanup_db!
|
13
13
|
User.destroy_all
|
14
14
|
Post.destroy_all
|
15
|
+
Name.destroy_all
|
15
16
|
User.reset_pk_sequence
|
16
17
|
Post.reset_pk_sequence
|
18
|
+
Name.reset_pk_sequence
|
17
19
|
end
|
18
20
|
|
19
21
|
should "export a model" do
|
@@ -53,4 +55,16 @@ class TestTimecapsule < Test::Unit::TestCase
|
|
53
55
|
assert_equal User.first, Post.first.user
|
54
56
|
cleanup!
|
55
57
|
end
|
58
|
+
|
59
|
+
should "export part of a model" do
|
60
|
+
u = User.create!(:first_name => 'test', :last_name => 'tester')
|
61
|
+
Timecapsule.export_model(User,nil,{first_name: :name, last_name: :other_name},'name')
|
62
|
+
cleanup_db!
|
63
|
+
assert_equal true, File.exists?("#{Timecapsule::EXPORT_DIR}$#{'name'.to_s.pluralize.underscore}.csv")
|
64
|
+
Timecapsule.import
|
65
|
+
assert_equal 1, Name.count
|
66
|
+
assert_equal 'test', Name.first.name
|
67
|
+
cleanup!
|
68
|
+
end
|
69
|
+
|
56
70
|
end
|
data/timecapsule.gemspec
CHANGED
@@ -2,14 +2,15 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
+
# stub: timecapsule 1.1.0 ruby lib
|
5
6
|
|
6
7
|
Gem::Specification.new do |s|
|
7
8
|
s.name = "timecapsule"
|
8
|
-
s.version = "1.0
|
9
|
+
s.version = "1.1.0"
|
9
10
|
|
10
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = ["Ren\
|
12
|
-
s.date = "
|
12
|
+
s.authors = ["Ren\u{e9}e De Voursney"]
|
13
|
+
s.date = "2014-01-16"
|
13
14
|
s.description = "Great for creating seed data from data entered through your app's ui or the console"
|
14
15
|
s.email = "renee.devoursney@gmail.com"
|
15
16
|
s.extra_rdoc_files = [
|
@@ -30,6 +31,7 @@ Gem::Specification.new do |s|
|
|
30
31
|
"gemfiles/rails2_3_8.gemfile",
|
31
32
|
"gemfiles/rails3.gemfile",
|
32
33
|
"gemfiles/rails3_1.gemfile",
|
34
|
+
"gemfiles/rails4.gemfile",
|
33
35
|
"lib/timecapsule.rb",
|
34
36
|
"lib/timecapsule/railtie.rb",
|
35
37
|
"test/helper.rb",
|
@@ -39,11 +41,11 @@ Gem::Specification.new do |s|
|
|
39
41
|
s.homepage = "http://github.com/reneedv/timecapsule"
|
40
42
|
s.licenses = ["MIT"]
|
41
43
|
s.require_paths = ["lib"]
|
42
|
-
s.rubygems_version = "1.
|
44
|
+
s.rubygems_version = "2.1.11"
|
43
45
|
s.summary = "gem for importing and exporting ActiveRecord data."
|
44
46
|
|
45
47
|
if s.respond_to? :specification_version then
|
46
|
-
s.specification_version =
|
48
|
+
s.specification_version = 4
|
47
49
|
|
48
50
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
49
51
|
s.add_runtime_dependency(%q<activerecord>, [">= 2.3.5"])
|
@@ -51,9 +53,8 @@ Gem::Specification.new do |s|
|
|
51
53
|
s.add_runtime_dependency(%q<rails>, [">= 2.3.5"])
|
52
54
|
s.add_development_dependency(%q<sqlite3>, [">= 0"])
|
53
55
|
s.add_development_dependency(%q<shoulda>, [">= 0"])
|
54
|
-
s.add_development_dependency(%q<bundler>, ["
|
56
|
+
s.add_development_dependency(%q<bundler>, [">= 0"])
|
55
57
|
s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
|
56
|
-
s.add_development_dependency(%q<rcov>, [">= 0"])
|
57
58
|
s.add_development_dependency(%q<rdoc>, [">= 0"])
|
58
59
|
else
|
59
60
|
s.add_dependency(%q<activerecord>, [">= 2.3.5"])
|
@@ -61,9 +62,8 @@ Gem::Specification.new do |s|
|
|
61
62
|
s.add_dependency(%q<rails>, [">= 2.3.5"])
|
62
63
|
s.add_dependency(%q<sqlite3>, [">= 0"])
|
63
64
|
s.add_dependency(%q<shoulda>, [">= 0"])
|
64
|
-
s.add_dependency(%q<bundler>, ["
|
65
|
+
s.add_dependency(%q<bundler>, [">= 0"])
|
65
66
|
s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
|
66
|
-
s.add_dependency(%q<rcov>, [">= 0"])
|
67
67
|
s.add_dependency(%q<rdoc>, [">= 0"])
|
68
68
|
end
|
69
69
|
else
|
@@ -72,9 +72,8 @@ Gem::Specification.new do |s|
|
|
72
72
|
s.add_dependency(%q<rails>, [">= 2.3.5"])
|
73
73
|
s.add_dependency(%q<sqlite3>, [">= 0"])
|
74
74
|
s.add_dependency(%q<shoulda>, [">= 0"])
|
75
|
-
s.add_dependency(%q<bundler>, ["
|
75
|
+
s.add_dependency(%q<bundler>, [">= 0"])
|
76
76
|
s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
|
77
|
-
s.add_dependency(%q<rcov>, [">= 0"])
|
78
77
|
s.add_dependency(%q<rdoc>, [">= 0"])
|
79
78
|
end
|
80
79
|
end
|
metadata
CHANGED
@@ -1,168 +1,136 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: timecapsule
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 1
|
8
|
-
- 0
|
9
|
-
- 2
|
10
|
-
version: 1.0.2
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.1.0
|
11
5
|
platform: ruby
|
12
|
-
authors:
|
13
|
-
-
|
6
|
+
authors:
|
7
|
+
- Renée De Voursney
|
14
8
|
autorequire:
|
15
9
|
bindir: bin
|
16
10
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
- !ruby/object:Gem::Dependency
|
21
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
22
|
-
none: false
|
23
|
-
requirements:
|
24
|
-
- - ">="
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
hash: 9
|
27
|
-
segments:
|
28
|
-
- 2
|
29
|
-
- 3
|
30
|
-
- 5
|
31
|
-
version: 2.3.5
|
32
|
-
version_requirements: *id001
|
11
|
+
date: 2014-01-16 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
33
14
|
name: activerecord
|
34
|
-
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '>='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 2.3.5
|
35
20
|
type: :runtime
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
hash: 9
|
43
|
-
segments:
|
44
|
-
- 2
|
45
|
-
- 3
|
46
|
-
- 5
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '>='
|
25
|
+
- !ruby/object:Gem::Version
|
47
26
|
version: 2.3.5
|
48
|
-
|
27
|
+
- !ruby/object:Gem::Dependency
|
49
28
|
name: activesupport
|
50
|
-
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 2.3.5
|
51
34
|
type: :runtime
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
- !ruby/object:Gem::Version
|
58
|
-
hash: 9
|
59
|
-
segments:
|
60
|
-
- 2
|
61
|
-
- 3
|
62
|
-
- 5
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '>='
|
39
|
+
- !ruby/object:Gem::Version
|
63
40
|
version: 2.3.5
|
64
|
-
|
41
|
+
- !ruby/object:Gem::Dependency
|
65
42
|
name: rails
|
66
|
-
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 2.3.5
|
67
48
|
type: :runtime
|
68
|
-
- !ruby/object:Gem::Dependency
|
69
|
-
requirement: &id004 !ruby/object:Gem::Requirement
|
70
|
-
none: false
|
71
|
-
requirements:
|
72
|
-
- - ">="
|
73
|
-
- !ruby/object:Gem::Version
|
74
|
-
hash: 3
|
75
|
-
segments:
|
76
|
-
- 0
|
77
|
-
version: "0"
|
78
|
-
version_requirements: *id004
|
79
|
-
name: sqlite3
|
80
49
|
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 2.3.5
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: sqlite3
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
81
62
|
type: :development
|
82
|
-
- !ruby/object:Gem::Dependency
|
83
|
-
requirement: &id005 !ruby/object:Gem::Requirement
|
84
|
-
none: false
|
85
|
-
requirements:
|
86
|
-
- - ">="
|
87
|
-
- !ruby/object:Gem::Version
|
88
|
-
hash: 3
|
89
|
-
segments:
|
90
|
-
- 0
|
91
|
-
version: "0"
|
92
|
-
version_requirements: *id005
|
93
|
-
name: shoulda
|
94
63
|
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: shoulda
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - '>='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
95
76
|
type: :development
|
96
|
-
- !ruby/object:Gem::Dependency
|
97
|
-
requirement: &id006 !ruby/object:Gem::Requirement
|
98
|
-
none: false
|
99
|
-
requirements:
|
100
|
-
- - ~>
|
101
|
-
- !ruby/object:Gem::Version
|
102
|
-
hash: 23
|
103
|
-
segments:
|
104
|
-
- 1
|
105
|
-
- 0
|
106
|
-
- 0
|
107
|
-
version: 1.0.0
|
108
|
-
version_requirements: *id006
|
109
|
-
name: bundler
|
110
77
|
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - '>='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: bundler
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - '>='
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
111
90
|
type: :development
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - '>='
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: jeweler
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
116
101
|
- - ~>
|
117
|
-
- !ruby/object:Gem::Version
|
118
|
-
hash: 7
|
119
|
-
segments:
|
120
|
-
- 1
|
121
|
-
- 6
|
122
|
-
- 4
|
102
|
+
- !ruby/object:Gem::Version
|
123
103
|
version: 1.6.4
|
124
|
-
version_requirements: *id007
|
125
|
-
name: jeweler
|
126
|
-
prerelease: false
|
127
104
|
type: :development
|
128
|
-
- !ruby/object:Gem::Dependency
|
129
|
-
requirement: &id008 !ruby/object:Gem::Requirement
|
130
|
-
none: false
|
131
|
-
requirements:
|
132
|
-
- - ">="
|
133
|
-
- !ruby/object:Gem::Version
|
134
|
-
hash: 3
|
135
|
-
segments:
|
136
|
-
- 0
|
137
|
-
version: "0"
|
138
|
-
version_requirements: *id008
|
139
|
-
name: rcov
|
140
105
|
prerelease: false
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
- !ruby/object:Gem::Version
|
148
|
-
hash: 3
|
149
|
-
segments:
|
150
|
-
- 0
|
151
|
-
version: "0"
|
152
|
-
version_requirements: *id009
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ~>
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 1.6.4
|
111
|
+
- !ruby/object:Gem::Dependency
|
153
112
|
name: rdoc
|
154
|
-
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
155
118
|
type: :development
|
156
|
-
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - '>='
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
description: Great for creating seed data from data entered through your app's ui
|
126
|
+
or the console
|
157
127
|
email: renee.devoursney@gmail.com
|
158
128
|
executables: []
|
159
|
-
|
160
129
|
extensions: []
|
161
|
-
|
162
|
-
extra_rdoc_files:
|
130
|
+
extra_rdoc_files:
|
163
131
|
- LICENSE.txt
|
164
132
|
- README.rdoc
|
165
|
-
files:
|
133
|
+
files:
|
166
134
|
- .document
|
167
135
|
- .rvmrc
|
168
136
|
- .travis.yml
|
@@ -176,43 +144,34 @@ files:
|
|
176
144
|
- gemfiles/rails2_3_8.gemfile
|
177
145
|
- gemfiles/rails3.gemfile
|
178
146
|
- gemfiles/rails3_1.gemfile
|
147
|
+
- gemfiles/rails4.gemfile
|
179
148
|
- lib/timecapsule.rb
|
180
149
|
- lib/timecapsule/railtie.rb
|
181
150
|
- test/helper.rb
|
182
151
|
- test/test_timecapsule.rb
|
183
152
|
- timecapsule.gemspec
|
184
153
|
homepage: http://github.com/reneedv/timecapsule
|
185
|
-
licenses:
|
154
|
+
licenses:
|
186
155
|
- MIT
|
156
|
+
metadata: {}
|
187
157
|
post_install_message:
|
188
158
|
rdoc_options: []
|
189
|
-
|
190
|
-
require_paths:
|
159
|
+
require_paths:
|
191
160
|
- lib
|
192
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
none: false
|
203
|
-
requirements:
|
204
|
-
- - ">="
|
205
|
-
- !ruby/object:Gem::Version
|
206
|
-
hash: 3
|
207
|
-
segments:
|
208
|
-
- 0
|
209
|
-
version: "0"
|
161
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
162
|
+
requirements:
|
163
|
+
- - '>='
|
164
|
+
- !ruby/object:Gem::Version
|
165
|
+
version: '0'
|
166
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
167
|
+
requirements:
|
168
|
+
- - '>='
|
169
|
+
- !ruby/object:Gem::Version
|
170
|
+
version: '0'
|
210
171
|
requirements: []
|
211
|
-
|
212
172
|
rubyforge_project:
|
213
|
-
rubygems_version: 1.
|
173
|
+
rubygems_version: 2.1.11
|
214
174
|
signing_key:
|
215
|
-
specification_version:
|
175
|
+
specification_version: 4
|
216
176
|
summary: gem for importing and exporting ActiveRecord data.
|
217
177
|
test_files: []
|
218
|
-
|