temping 3.3.0 → 3.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/temping.rb +1 -0
  3. metadata +47 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 776d0be04ee70489c525cab23b1d97aa91946e00
4
- data.tar.gz: a958c7b872fc5205fda3fc8d95f1f0d4c371cdc6
3
+ metadata.gz: afd1fb78044162184ad12630ccdb32bc7e2327e4
4
+ data.tar.gz: e2751e4a8c993cd70be3299dbaad57ee4718bc7c
5
5
  SHA512:
6
- metadata.gz: 32b5f7d9b14cf8656c5980ced3df0b86258e5567b01eb8e1b07bf69b2372acb077977afbc72c7b5c79fcdb8322d709c4faf2c0992c12ed33574e5a9985f1b8d3
7
- data.tar.gz: 434d3f3577b9c9ceddd555cd4246e8131e3ed145174d5a67a8ceab3a12f6ae34d85edfa71823910d2bc13549a68e0b3c7e68654a1550b2467aa6d4a3d88bb72c
6
+ metadata.gz: 1bd265cbc2d5a0f21ae10763d33178016cfab402e2a0d0033223384698e2ab1251ac271f8bfe4b12dbd5b66dcfcbfa3a35111edc9dc3de750005e6dd4b7fd128
7
+ data.tar.gz: af8c4e99df32195956faa6d0e2d0d49298eaf9168afc1f9fb3e73a8fb7c2106422e1ca6c41cd18663dc6790afd006dff10185450ed6c5c4cb9b60ddf0998f1bf
data/lib/temping.rb CHANGED
@@ -25,6 +25,7 @@ class Temping
25
25
  def initialize(model_name, &block)
26
26
  @model_name = model_name
27
27
  klass.class_eval(&block) if block_given?
28
+ klass.reset_column_information
28
29
  end
29
30
 
30
31
  def klass
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: temping
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.0
4
+ version: 3.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Pignata
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-18 00:00:00.000000000 Z
11
+ date: 2016-03-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -44,14 +44,56 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 1.3.7
47
+ version: 1.3.10
48
48
  type: :development
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: 1.3.7
54
+ version: 1.3.10
55
+ - !ruby/object:Gem::Dependency
56
+ name: pg
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 0.18.2
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 0.18.2
69
+ - !ruby/object:Gem::Dependency
70
+ name: mysql
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 2.9.1
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 2.9.1
83
+ - !ruby/object:Gem::Dependency
84
+ name: mysql2
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: 0.3.18
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: 0.3.18
55
97
  - !ruby/object:Gem::Dependency
56
98
  name: rspec
57
99
  requirement: !ruby/object:Gem::Requirement
@@ -106,7 +148,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
106
148
  version: '0'
107
149
  requirements: []
108
150
  rubyforge_project:
109
- rubygems_version: 2.4.6
151
+ rubygems_version: 2.5.1
110
152
  signing_key:
111
153
  specification_version: 4
112
154
  summary: Create temporary table-backed ActiveRecord models for use in tests