temping 3.1.0 → 3.2.0

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 +6 -6
  2. data/lib/temping.rb +0 -4
  3. metadata +13 -13
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 3483110409e07ee15a4db1e47c575234e8edbf37
4
- data.tar.gz: 409586ab2121140fbcb267dcb635a5a71e3d2107
5
- SHA512:
6
- metadata.gz: 764cfd69d39dff72449c68714c969c73d197c4cac78ea1b1a8367371714bdf207c5b5b182a7df37488df76cb88f55f6959f4b74fc1e41053eeca8bbf6ce54633
7
- data.tar.gz: de8e5bcb6a7813d321aa8ffa1e8b5f80ed2b4cec481a59ab15ee3f05748f6009f5db2626c6ba9f5c386a7369743db470377f5c280084e08487dfc3d909cabb89
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: 48875b903621bfdecda3b33e84aafe647f9ef060
4
+ data.tar.gz: 8231bdcf13f7382de6d70d73be62d02639bf01ca
5
+ !binary "U0hBNTEy":
6
+ metadata.gz: 393caf19369bb8bc7235e4a362c2d1e058224789ef95ddf89e87f6df19a838336f91786b50c1491dbdae4461a0ae0d3615b5b6508bc109493d877b015c0a392b
7
+ data.tar.gz: a8f7349b582ff474724bd48cf518918fd5b6cc38480f1676483d5f29f6658e6f191e144ec07763d29db7c0df5853e78b0192a16dc4e7b8c389738894f43f070b
@@ -3,10 +3,6 @@ require "active_support/core_ext/string"
3
3
 
4
4
  class Temping
5
5
  def self.create(model_name, &block)
6
- unless ActiveRecord::Base.connected?
7
- ActiveRecord::Base.establish_connection("sqlite3:///:memory:")
8
- end
9
-
10
6
  factory = ModelFactory.new(model_name.to_s.classify, &block)
11
7
  factory.klass
12
8
  end
metadata CHANGED
@@ -1,41 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: temping
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Pignata
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-04-30 00:00:00.000000000 Z
11
+ date: 2013-05-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
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.1'
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.1'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: activesupport
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ! '>='
32
32
  - !ruby/object:Gem::Version
33
33
  version: '3.1'
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
40
  version: '3.1'
41
41
  - !ruby/object:Gem::Dependency
@@ -56,28 +56,28 @@ dependencies:
56
56
  name: rspec
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '>='
59
+ - - ! '>='
60
60
  - !ruby/object:Gem::Version
61
61
  version: 2.13.0
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
68
  version: 2.13.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rake
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '>='
73
+ - - ! '>='
74
74
  - !ruby/object:Gem::Version
75
75
  version: 10.0.4
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
82
  version: 10.0.4
83
83
  description:
@@ -96,17 +96,17 @@ require_paths:
96
96
  - lib
97
97
  required_ruby_version: !ruby/object:Gem::Requirement
98
98
  requirements:
99
- - - '>='
99
+ - - ! '>='
100
100
  - !ruby/object:Gem::Version
101
101
  version: '0'
102
102
  required_rubygems_version: !ruby/object:Gem::Requirement
103
103
  requirements:
104
- - - '>='
104
+ - - ! '>='
105
105
  - !ruby/object:Gem::Version
106
106
  version: '0'
107
107
  requirements: []
108
108
  rubyforge_project:
109
- rubygems_version: 2.0.3
109
+ rubygems_version: 2.0.0
110
110
  signing_key:
111
111
  specification_version: 4
112
112
  summary: Create temporary table-backed ActiveRecord models for use in tests