mcfly 0.0.14 → 0.0.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +32 -52
- data/README.md +3 -3
- data/lib/mcfly/version.rb +1 -1
- data/mcfly.gemspec +3 -3
- data/spec/dummy/config/application.rb +3 -4
- data/spec/dummy/config/environments/test.rb +1 -1
- metadata +8 -21
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5fe8fbe8fe3ba7d310eeeb25ea3884a6694d8a71
|
4
|
+
data.tar.gz: 7b5a4686d5a011bada1d7be138839328ac15a0a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fbe4ca843dc878d20f9be15ad6544660f7b3c1aed927fe50b04bee06c3775a547596954254c5dfff44fd242981ccd4f332ff2aa454aa8a6a3a479b9e608467f6
|
7
|
+
data.tar.gz: 1d1c78a27d630706fd8ec546f1e7c2acd3a618d8d10e0385cb6376cffb58796e54893f2c521f24aec7c7d3b02bb85c1ef0979f788895508c2ea9b4f30869ef94
|
data/Gemfile.lock
CHANGED
@@ -1,20 +1,17 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
mcfly (0.0.
|
4
|
+
mcfly (0.0.15)
|
5
|
+
activerecord (>= 3.2)
|
5
6
|
delorean_lang (~> 0.1)
|
6
7
|
pg (~> 0.17)
|
7
|
-
rails (~> 3.2)
|
8
8
|
|
9
9
|
GEM
|
10
10
|
remote: https://rubygems.org/
|
11
11
|
specs:
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
actionpack (3.2.17)
|
16
|
-
activemodel (= 3.2.17)
|
17
|
-
activesupport (= 3.2.17)
|
12
|
+
actionpack (3.2.19)
|
13
|
+
activemodel (= 3.2.19)
|
14
|
+
activesupport (= 3.2.19)
|
18
15
|
builder (~> 3.0.0)
|
19
16
|
erubis (~> 2.7.0)
|
20
17
|
journey (~> 1.0.4)
|
@@ -22,95 +19,78 @@ GEM
|
|
22
19
|
rack-cache (~> 1.2)
|
23
20
|
rack-test (~> 0.6.1)
|
24
21
|
sprockets (~> 2.2.1)
|
25
|
-
activemodel (3.2.
|
26
|
-
activesupport (= 3.2.
|
22
|
+
activemodel (3.2.19)
|
23
|
+
activesupport (= 3.2.19)
|
27
24
|
builder (~> 3.0.0)
|
28
|
-
activerecord (3.2.
|
29
|
-
activemodel (= 3.2.
|
30
|
-
activesupport (= 3.2.
|
25
|
+
activerecord (3.2.19)
|
26
|
+
activemodel (= 3.2.19)
|
27
|
+
activesupport (= 3.2.19)
|
31
28
|
arel (~> 3.0.2)
|
32
29
|
tzinfo (~> 0.3.29)
|
33
|
-
|
34
|
-
activemodel (= 3.2.17)
|
35
|
-
activesupport (= 3.2.17)
|
36
|
-
activesupport (3.2.17)
|
30
|
+
activesupport (3.2.19)
|
37
31
|
i18n (~> 0.6, >= 0.6.4)
|
38
32
|
multi_json (~> 1.0)
|
39
33
|
arel (3.0.3)
|
40
34
|
builder (3.0.4)
|
41
|
-
delorean_lang (0.3.
|
35
|
+
delorean_lang (0.3.11)
|
42
36
|
activerecord (~> 3.2)
|
43
37
|
treetop (~> 1.4.8)
|
44
38
|
diff-lcs (1.2.5)
|
45
39
|
erubis (2.7.0)
|
46
40
|
hike (1.2.3)
|
47
|
-
i18n (0.6.
|
41
|
+
i18n (0.6.11)
|
48
42
|
journey (1.0.4)
|
49
43
|
json (1.8.1)
|
50
|
-
|
51
|
-
mime-types (~> 1.16)
|
52
|
-
treetop (~> 1.4.8)
|
53
|
-
mime-types (1.25.1)
|
54
|
-
multi_json (1.9.0)
|
44
|
+
multi_json (1.10.1)
|
55
45
|
pg (0.17.1)
|
56
46
|
polyglot (0.3.5)
|
57
47
|
rack (1.4.5)
|
58
48
|
rack-cache (1.2)
|
59
49
|
rack (>= 0.4)
|
60
|
-
rack-ssl (1.3.
|
50
|
+
rack-ssl (1.3.4)
|
61
51
|
rack
|
62
52
|
rack-test (0.6.2)
|
63
53
|
rack (>= 1.0)
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
activerecord (= 3.2.17)
|
68
|
-
activeresource (= 3.2.17)
|
69
|
-
activesupport (= 3.2.17)
|
70
|
-
bundler (~> 1.0)
|
71
|
-
railties (= 3.2.17)
|
72
|
-
railties (3.2.17)
|
73
|
-
actionpack (= 3.2.17)
|
74
|
-
activesupport (= 3.2.17)
|
54
|
+
railties (3.2.19)
|
55
|
+
actionpack (= 3.2.19)
|
56
|
+
activesupport (= 3.2.19)
|
75
57
|
rack-ssl (~> 1.3.2)
|
76
58
|
rake (>= 0.8.7)
|
77
59
|
rdoc (~> 3.4)
|
78
60
|
thor (>= 0.14.6, < 2.0)
|
79
|
-
rake (10.
|
61
|
+
rake (10.3.2)
|
80
62
|
rdoc (3.12.2)
|
81
63
|
json (~> 1.4)
|
82
|
-
rspec (
|
83
|
-
rspec-
|
84
|
-
|
85
|
-
|
86
|
-
rspec-core (2.14.8)
|
87
|
-
rspec-expectations (2.14.5)
|
64
|
+
rspec-collection_matchers (1.0.0)
|
65
|
+
rspec-expectations (>= 2.99.0.beta1)
|
66
|
+
rspec-core (2.99.2)
|
67
|
+
rspec-expectations (2.99.2)
|
88
68
|
diff-lcs (>= 1.1.3, < 2.0)
|
89
|
-
rspec-mocks (2.
|
90
|
-
rspec-rails (2.
|
69
|
+
rspec-mocks (2.99.2)
|
70
|
+
rspec-rails (2.99.0)
|
91
71
|
actionpack (>= 3.0)
|
92
72
|
activemodel (>= 3.0)
|
93
73
|
activesupport (>= 3.0)
|
94
74
|
railties (>= 3.0)
|
95
|
-
rspec-
|
96
|
-
rspec-
|
97
|
-
rspec-
|
75
|
+
rspec-collection_matchers
|
76
|
+
rspec-core (~> 2.99.0)
|
77
|
+
rspec-expectations (~> 2.99.0)
|
78
|
+
rspec-mocks (~> 2.99.0)
|
98
79
|
sprockets (2.2.2)
|
99
80
|
hike (~> 1.2)
|
100
81
|
multi_json (~> 1.0)
|
101
82
|
rack (~> 1.0)
|
102
83
|
tilt (~> 1.1, != 1.3.0)
|
103
|
-
thor (0.
|
84
|
+
thor (0.19.1)
|
104
85
|
tilt (1.4.1)
|
105
86
|
treetop (1.4.15)
|
106
87
|
polyglot
|
107
88
|
polyglot (>= 0.3.1)
|
108
|
-
tzinfo (0.3.
|
89
|
+
tzinfo (0.3.41)
|
109
90
|
|
110
91
|
PLATFORMS
|
111
92
|
ruby
|
112
93
|
|
113
94
|
DEPENDENCIES
|
114
95
|
mcfly!
|
115
|
-
rspec (~> 2.
|
116
|
-
rspec-rails (~> 2.14)
|
96
|
+
rspec-rails (~> 2.99)
|
data/README.md
CHANGED
@@ -14,7 +14,7 @@ access the state of Mcfly tables at any point in its history.
|
|
14
14
|
|
15
15
|
* Applications can use Mcfly to time-warp all tables to previous
|
16
16
|
points in time.
|
17
|
-
|
17
|
+
|
18
18
|
* Table queries for points in time are symmetric. i.e. queries to
|
19
19
|
access data in the present look just like queries available in any
|
20
20
|
particular point in time.
|
@@ -69,12 +69,12 @@ functionality to the class.
|
|
69
69
|
attr_accessible :name, :settlement_class
|
70
70
|
validates_presence_of :name, :settlement_class
|
71
71
|
mcfly_validates_uniqueness_of :name
|
72
|
-
|
72
|
+
|
73
73
|
mcfly_lookup :lookup, sig: 2 do
|
74
74
|
|pt, name|
|
75
75
|
find_by_name(name)
|
76
76
|
end
|
77
|
-
|
77
|
+
|
78
78
|
mcfly_lookup :lookup_all, sig: 1 do
|
79
79
|
|pt| all
|
80
80
|
end
|
data/lib/mcfly/version.rb
CHANGED
data/mcfly.gemspec
CHANGED
@@ -16,13 +16,13 @@ Gem::Specification.new do |s|
|
|
16
16
|
|
17
17
|
s.require_paths = ["lib"]
|
18
18
|
|
19
|
-
s.add_dependency "
|
19
|
+
s.add_dependency "activerecord", ">= 3.2"
|
20
|
+
|
20
21
|
s.add_dependency "pg", "~> 0.17"
|
21
22
|
|
22
23
|
# FIXME: Delorean is added here for historical reasons. Need to
|
23
24
|
# remove the dependency on delorean_fn.
|
24
25
|
s.add_dependency "delorean_lang", '~> 0.1'
|
25
26
|
|
26
|
-
s.add_development_dependency "rspec",
|
27
|
-
s.add_development_dependency "rspec-rails", '~> 2.14'
|
27
|
+
s.add_development_dependency "rspec-rails", "~> 2.99"
|
28
28
|
end
|
@@ -3,9 +3,9 @@ require File.expand_path('../boot', __FILE__)
|
|
3
3
|
# Pick the frameworks you want:
|
4
4
|
require "active_record/railtie"
|
5
5
|
require "action_controller/railtie"
|
6
|
-
require "action_mailer/railtie"
|
7
|
-
require "active_resource/railtie"
|
8
|
-
require "sprockets/railtie"
|
6
|
+
# require "action_mailer/railtie"
|
7
|
+
# require "active_resource/railtie"
|
8
|
+
# require "sprockets/railtie"
|
9
9
|
# require "rails/test_unit/railtie"
|
10
10
|
|
11
11
|
Bundler.require
|
@@ -64,4 +64,3 @@ module Dummy
|
|
64
64
|
config.i18n.enforce_available_locales = true
|
65
65
|
end
|
66
66
|
end
|
67
|
-
|
@@ -27,7 +27,7 @@ Dummy::Application.configure do
|
|
27
27
|
# Tell Action Mailer not to deliver emails to the real world.
|
28
28
|
# The :test delivery method accumulates sent emails in the
|
29
29
|
# ActionMailer::Base.deliveries array.
|
30
|
-
config.action_mailer.delivery_method = :test
|
30
|
+
# config.action_mailer.delivery_method = :test
|
31
31
|
|
32
32
|
# Raise exception on mass assignment protection for Active Record models
|
33
33
|
config.active_record.mass_assignment_sanitizer = :strict
|
metadata
CHANGED
@@ -1,27 +1,27 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mcfly
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arman Bostani
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-10-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: activerecord
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '3.2'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '3.2'
|
27
27
|
- !ruby/object:Gem::Dependency
|
@@ -52,34 +52,20 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0.1'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: rspec
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - "~>"
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '2.14'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - "~>"
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '2.14'
|
69
55
|
- !ruby/object:Gem::Dependency
|
70
56
|
name: rspec-rails
|
71
57
|
requirement: !ruby/object:Gem::Requirement
|
72
58
|
requirements:
|
73
59
|
- - "~>"
|
74
60
|
- !ruby/object:Gem::Version
|
75
|
-
version: '2.
|
61
|
+
version: '2.99'
|
76
62
|
type: :development
|
77
63
|
prerelease: false
|
78
64
|
version_requirements: !ruby/object:Gem::Requirement
|
79
65
|
requirements:
|
80
66
|
- - "~>"
|
81
67
|
- !ruby/object:Gem::Version
|
82
|
-
version: '2.
|
68
|
+
version: '2.99'
|
83
69
|
description: A database table versioning system.
|
84
70
|
email:
|
85
71
|
- arman.bostani@pnmac.com
|
@@ -172,3 +158,4 @@ signing_key:
|
|
172
158
|
specification_version: 4
|
173
159
|
summary: A database table versioning system.
|
174
160
|
test_files: []
|
161
|
+
has_rdoc:
|