mcfly 0.0.13 → 0.0.14

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- Yzk5MzU3ZDk0ZDQxNzNkNDhkOTJkOTM2MzVlN2I0ODJhNGJmZmI1Mw==
5
- data.tar.gz: !binary |-
6
- MTYwMTFmODFlMWJkZTdiMDc1NjBhODkwNGQyOGFiMzNiODJiYTlkNA==
2
+ SHA1:
3
+ metadata.gz: aa37be7a557c6f0f8bd35b3d607d9fe4589310d6
4
+ data.tar.gz: 4ee9d47882f6927590ba856b35022efc85721c8a
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- ZWIyNTFiOTY1OTNlMjYwNzFlOWIxNTM3ZWEzMTkzYzg0NGNmY2FlNzFkZjI3
10
- MTlmZWZmZGQ3MTcyMmRhOGY0Y2JmMjQ0NWI2MDk3Y2U5NmFjY2VjNjk3ZmEz
11
- NjRmNmRmMzZhNTRlYWM3YjlmZTRmYjg3MTRiMDk2MWNjYWFiNjI=
12
- data.tar.gz: !binary |-
13
- N2U5YTkwNjUwNjg1YzI1ZmU1MTg4MGE2ZmM1MDExMGFkNTEyNDU2ZGY0MTI2
14
- MzYxNzc0ZWNjNDg1NzNjYmE3YzhiOTZkYTVkMTEzM2ViMzc3OWVkMTU0M2Rj
15
- Yjg1MmIxMGZiYTYxMDQzMjM3MjFiN2YyZjc1OTY1YjhjMmIyYmQ=
6
+ metadata.gz: 2deef33fb58b12b0294f30fbdb8b51eac986719f915ab3e164b790acad6d841935a0ad5a713b0aad4edd35790b5a448208b28e38752874f1e5494f3fe5b09687
7
+ data.tar.gz: 3776451571372a248cc8719fdd110853ef2337c885505ca25f1da3fe51e5b9d6f50ff442feef8295c48a66d32eee8d0a70ab1c28bac8388c13a3fdee0a93da4f
data/.gitignore CHANGED
@@ -3,7 +3,6 @@
3
3
  .bundle
4
4
  .config
5
5
  .yardoc
6
- Gemfile.lock
7
6
  InstalledFiles
8
7
  _yardoc
9
8
  coverage
data/Gemfile.lock ADDED
@@ -0,0 +1,116 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ mcfly (0.0.14)
5
+ delorean_lang (~> 0.1)
6
+ pg (~> 0.17)
7
+ rails (~> 3.2)
8
+
9
+ GEM
10
+ remote: https://rubygems.org/
11
+ specs:
12
+ actionmailer (3.2.17)
13
+ actionpack (= 3.2.17)
14
+ mail (~> 2.5.4)
15
+ actionpack (3.2.17)
16
+ activemodel (= 3.2.17)
17
+ activesupport (= 3.2.17)
18
+ builder (~> 3.0.0)
19
+ erubis (~> 2.7.0)
20
+ journey (~> 1.0.4)
21
+ rack (~> 1.4.5)
22
+ rack-cache (~> 1.2)
23
+ rack-test (~> 0.6.1)
24
+ sprockets (~> 2.2.1)
25
+ activemodel (3.2.17)
26
+ activesupport (= 3.2.17)
27
+ builder (~> 3.0.0)
28
+ activerecord (3.2.17)
29
+ activemodel (= 3.2.17)
30
+ activesupport (= 3.2.17)
31
+ arel (~> 3.0.2)
32
+ tzinfo (~> 0.3.29)
33
+ activeresource (3.2.17)
34
+ activemodel (= 3.2.17)
35
+ activesupport (= 3.2.17)
36
+ activesupport (3.2.17)
37
+ i18n (~> 0.6, >= 0.6.4)
38
+ multi_json (~> 1.0)
39
+ arel (3.0.3)
40
+ builder (3.0.4)
41
+ delorean_lang (0.3.8)
42
+ activerecord (~> 3.2)
43
+ treetop (~> 1.4.8)
44
+ diff-lcs (1.2.5)
45
+ erubis (2.7.0)
46
+ hike (1.2.3)
47
+ i18n (0.6.9)
48
+ journey (1.0.4)
49
+ json (1.8.1)
50
+ mail (2.5.4)
51
+ mime-types (~> 1.16)
52
+ treetop (~> 1.4.8)
53
+ mime-types (1.25.1)
54
+ multi_json (1.9.0)
55
+ pg (0.17.1)
56
+ polyglot (0.3.5)
57
+ rack (1.4.5)
58
+ rack-cache (1.2)
59
+ rack (>= 0.4)
60
+ rack-ssl (1.3.3)
61
+ rack
62
+ rack-test (0.6.2)
63
+ rack (>= 1.0)
64
+ rails (3.2.17)
65
+ actionmailer (= 3.2.17)
66
+ actionpack (= 3.2.17)
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)
75
+ rack-ssl (~> 1.3.2)
76
+ rake (>= 0.8.7)
77
+ rdoc (~> 3.4)
78
+ thor (>= 0.14.6, < 2.0)
79
+ rake (10.1.1)
80
+ rdoc (3.12.2)
81
+ json (~> 1.4)
82
+ rspec (2.14.1)
83
+ rspec-core (~> 2.14.0)
84
+ rspec-expectations (~> 2.14.0)
85
+ rspec-mocks (~> 2.14.0)
86
+ rspec-core (2.14.8)
87
+ rspec-expectations (2.14.5)
88
+ diff-lcs (>= 1.1.3, < 2.0)
89
+ rspec-mocks (2.14.6)
90
+ rspec-rails (2.14.1)
91
+ actionpack (>= 3.0)
92
+ activemodel (>= 3.0)
93
+ activesupport (>= 3.0)
94
+ railties (>= 3.0)
95
+ rspec-core (~> 2.14.0)
96
+ rspec-expectations (~> 2.14.0)
97
+ rspec-mocks (~> 2.14.0)
98
+ sprockets (2.2.2)
99
+ hike (~> 1.2)
100
+ multi_json (~> 1.0)
101
+ rack (~> 1.0)
102
+ tilt (~> 1.1, != 1.3.0)
103
+ thor (0.18.1)
104
+ tilt (1.4.1)
105
+ treetop (1.4.15)
106
+ polyglot
107
+ polyglot (>= 0.3.1)
108
+ tzinfo (0.3.40)
109
+
110
+ PLATFORMS
111
+ ruby
112
+
113
+ DEPENDENCIES
114
+ mcfly!
115
+ rspec (~> 2.14)
116
+ rspec-rails (~> 2.14)
data/README.md CHANGED
@@ -106,7 +106,7 @@ developed at [TWINSUN][]. It has since been modified and enhanced at
106
106
 
107
107
  ## License
108
108
 
109
- Delorean has been released under the MIT license. Please check the
109
+ Mcfly has been released under the MIT license. Please check the
110
110
  [LICENSE][] file for more details.
111
111
 
112
112
  [license]: https://github.com/rubygems/rubygems.org/blob/master/MIT-LICENSE
data/lib/mcfly/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Mcfly
2
- VERSION = "0.0.13"
2
+ VERSION = "0.0.14"
3
3
  end
data/mcfly.gemspec CHANGED
@@ -11,17 +11,18 @@ Gem::Specification.new do |s|
11
11
  s.homepage = "https://github.com/arman000/mcfly"
12
12
  s.summary = %q{A database table versioning system.}
13
13
  s.description = s.summary
14
- s.files = `git ls-files`.split($\)
14
+ s.files = `git ls-files`.split($\)
15
+ s.licenses = ['MIT']
15
16
 
16
17
  s.require_paths = ["lib"]
17
18
 
18
- s.add_dependency "rails", "~> 3.2.13"
19
- s.add_dependency "pg"
19
+ s.add_dependency "rails", "~> 3.2"
20
+ s.add_dependency "pg", "~> 0.17"
20
21
 
21
- # FIXME: Delorean is added here for historical reasons. It should
22
- # be removed as a dependency.
23
- s.add_dependency "delorean_lang"
22
+ # FIXME: Delorean is added here for historical reasons. Need to
23
+ # remove the dependency on delorean_fn.
24
+ s.add_dependency "delorean_lang", '~> 0.1'
24
25
 
25
- s.add_development_dependency "rspec"
26
- s.add_development_dependency "rspec-rails"
26
+ s.add_development_dependency "rspec", '~> 2.14'
27
+ s.add_development_dependency "rspec-rails", '~> 2.14'
27
28
  end
data/spec/model_spec.rb CHANGED
@@ -2,7 +2,7 @@ require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
2
2
 
3
3
  describe "Mcfly" do
4
4
  before(:each) do
5
- Mcfly.whodunnit = TestUser.new(10)
5
+ Mcfly.whodunnit = {id: 10}
6
6
 
7
7
  @old = '2000-01-01'
8
8
 
@@ -204,7 +204,7 @@ describe "Mcfly" do
204
204
  end
205
205
 
206
206
  it "whodunnit should set user/o_user on CRUD" do
207
- Mcfly.whodunnit = TestUser.new(20)
207
+ Mcfly.whodunnit = {id: 20}
208
208
 
209
209
  si = SecurityInstrument.find_by_name("FN Fix-30 Cash")
210
210
  dt = '2010-01-01 08:00 PST8PDT'
@@ -229,7 +229,7 @@ describe "Mcfly" do
229
229
 
230
230
  rid = mp.id
231
231
 
232
- Mcfly.whodunnit = TestUser.new(30)
232
+ Mcfly.whodunnit = {id: 30}
233
233
 
234
234
  mp.delete
235
235
  mp = MarketPrice.find(rid)
@@ -8,16 +8,16 @@ describe "Mcfly" do
8
8
  end
9
9
 
10
10
  before(:each) do
11
- Mcfly.whodunnit = TestUser.new(10)
11
+ Mcfly.whodunnit = {id: 10}
12
12
 
13
13
  @dts = ['2001-01-01', '2001-01-05', '2001-01-10']
14
14
 
15
15
  @sis = [
16
- ["FN Fix-30 MBS", "A"],
17
- ["FN Fix-30 Cash", "A"],
18
- ["FN Fix-30 MBS Blend", "A"],
19
- ["FN Fix-30 HB MBS", "A"],
20
- ]
16
+ ["FN Fix-30 MBS", "A"],
17
+ ["FN Fix-30 Cash", "A"],
18
+ ["FN Fix-30 MBS Blend", "A"],
19
+ ["FN Fix-30 HB MBS", "A"],
20
+ ]
21
21
 
22
22
  @sis.each_with_index { |(name, sc), i|
23
23
  si = SecurityInstrument.new(name: name, settlement_class: sc)
data/spec/spec_helper.rb CHANGED
@@ -41,11 +41,3 @@ RSpec.configure do |config|
41
41
  # --seed 1234
42
42
  config.order = "random"
43
43
  end
44
-
45
- class TestUser
46
- attr_reader :id
47
-
48
- def initialize(id)
49
- @id = id
50
- end
51
- end
metadata CHANGED
@@ -1,85 +1,85 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mcfly
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.13
4
+ version: 0.0.14
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-03-05 00:00:00.000000000 Z
11
+ date: 2014-07-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 3.2.13
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
- version: 3.2.13
26
+ version: '3.2'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: pg
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ! '>='
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: '0.17'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ! '>='
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '0'
40
+ version: '0.17'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: delorean_lang
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ! '>='
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '0'
47
+ version: '0.1'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ! '>='
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '0'
54
+ version: '0.1'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rspec
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ! '>='
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '0'
61
+ version: '2.14'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ! '>='
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '0'
68
+ version: '2.14'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rspec-rails
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ! '>='
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '0'
75
+ version: '2.14'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ! '>='
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '0'
82
+ version: '2.14'
83
83
  description: A database table versioning system.
84
84
  email:
85
85
  - arman.bostani@pnmac.com
@@ -87,9 +87,10 @@ executables: []
87
87
  extensions: []
88
88
  extra_rdoc_files: []
89
89
  files:
90
- - .gitignore
91
- - .rspec
90
+ - ".gitignore"
91
+ - ".rspec"
92
92
  - Gemfile
93
+ - Gemfile.lock
93
94
  - MIT-LICENSE
94
95
  - README.md
95
96
  - Rakefile
@@ -147,7 +148,8 @@ files:
147
148
  - spec/no_trans_spec.rb
148
149
  - spec/spec_helper.rb
149
150
  homepage: https://github.com/arman000/mcfly
150
- licenses: []
151
+ licenses:
152
+ - MIT
151
153
  metadata: {}
152
154
  post_install_message:
153
155
  rdoc_options: []
@@ -155,19 +157,18 @@ require_paths:
155
157
  - lib
156
158
  required_ruby_version: !ruby/object:Gem::Requirement
157
159
  requirements:
158
- - - ! '>='
160
+ - - ">="
159
161
  - !ruby/object:Gem::Version
160
162
  version: '0'
161
163
  required_rubygems_version: !ruby/object:Gem::Requirement
162
164
  requirements:
163
- - - ! '>='
165
+ - - ">="
164
166
  - !ruby/object:Gem::Version
165
167
  version: '0'
166
168
  requirements: []
167
169
  rubyforge_project:
168
- rubygems_version: 2.1.11
170
+ rubygems_version: 2.2.2
169
171
  signing_key:
170
172
  specification_version: 4
171
173
  summary: A database table versioning system.
172
174
  test_files: []
173
- has_rdoc: