memory_test_fix 0.2.2 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +11 -16
- data/memory_test_fix.gemspec +6 -1
- metadata +40 -13
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: a95367960d728d45656a954966125070e58321a9
|
4
|
+
data.tar.gz: 349871f7052775bc7711eb3f0e18f15a92a25d51
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: eb98875a6b21d3cdba6cf4b29694523159ad1faa6e20386d011a6b0f62c79093afc14c3f98a424779b62066fb7c5407a063a2a8736cb44988990eea0ad10df7b
|
7
|
+
data.tar.gz: a56398fff47b02ee0145f1d5331aa8f37fee2ce0eecd1464b9d31e83813fe9d41236f2fa878bf4014c5a1e1b34cfeb3bf65849ad59c526431c19544d850aa35a
|
data/README.md
CHANGED
@@ -7,38 +7,33 @@ A simple fix to run your Rails tests with sqlite. From the
|
|
7
7
|
|
8
8
|
Add the gem to your bundle by adding
|
9
9
|
|
10
|
-
|
11
|
-
gem 'memory_test_fix'
|
12
|
-
```
|
10
|
+
gem 'memory_test_fix'
|
13
11
|
|
14
12
|
to your `Gemfile`
|
15
13
|
|
16
14
|
|
17
15
|
In your database.yml, use:
|
18
16
|
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
database: ":memory:"
|
23
|
-
```
|
17
|
+
test:
|
18
|
+
adapter: sqlite3
|
19
|
+
database: ":memory:"
|
24
20
|
|
25
21
|
It runs much faster!
|
26
22
|
|
27
23
|
You can also adjust the verbosity of the output:
|
28
24
|
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
verbosity: silent
|
34
|
-
```
|
25
|
+
test:
|
26
|
+
adapter: sqlite3
|
27
|
+
database: ":memory:"
|
28
|
+
verbosity: silent
|
35
29
|
|
36
30
|
You can also use this with other (testing) environments, not just 'test'.
|
37
31
|
|
38
32
|
## Rails Versions
|
39
33
|
|
40
|
-
This gem is compatible with Rails
|
41
|
-
|
34
|
+
This gem is compatible with Rails 4 and Rails 3. If you're using Rails 2.3, use
|
35
|
+
version 0.2.2 of this gem. If you're using an even older version of Rails, use
|
36
|
+
version 0.1.3.
|
42
37
|
|
43
38
|
## Authors
|
44
39
|
|
data/memory_test_fix.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = "memory_test_fix"
|
3
|
-
s.version = "0.
|
3
|
+
s.version = "1.0.0"
|
4
4
|
|
5
5
|
if s.respond_to? :required_rubygems_version=
|
6
6
|
s.required_rubygems_version = Gem::Requirement.new(">= 0")
|
@@ -15,6 +15,8 @@ Gem::Specification.new do |s|
|
|
15
15
|
"Stephan Zalewski" ]
|
16
16
|
s.email = "matijs@matijs.net"
|
17
17
|
|
18
|
+
s.license = 'MIT'
|
19
|
+
|
18
20
|
s.summary = "Use SQLite3 in-memory database for Rails tests."
|
19
21
|
s.description = "Makes use of SQLite3 in-memory database possible for your Rails tests by preloading the schema."
|
20
22
|
|
@@ -28,4 +30,7 @@ Gem::Specification.new do |s|
|
|
28
30
|
s.has_rdoc = true
|
29
31
|
s.extra_rdoc_files = ['README.md']
|
30
32
|
s.rubygems_version = %q{1.2.0}
|
33
|
+
|
34
|
+
s.add_development_dependency('rake', '~> 10.2')
|
35
|
+
s.add_development_dependency('minitest', '~> 5.2')
|
31
36
|
end
|
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: memory_test_fix
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
5
|
-
prerelease:
|
4
|
+
version: 1.0.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Matijs van Zuijlen
|
@@ -15,8 +14,36 @@ authors:
|
|
15
14
|
autorequire:
|
16
15
|
bindir: bin
|
17
16
|
cert_chain: []
|
18
|
-
date:
|
19
|
-
dependencies:
|
17
|
+
date: 2014-04-07 00:00:00.000000000 Z
|
18
|
+
dependencies:
|
19
|
+
- !ruby/object:Gem::Dependency
|
20
|
+
name: rake
|
21
|
+
requirement: !ruby/object:Gem::Requirement
|
22
|
+
requirements:
|
23
|
+
- - ~>
|
24
|
+
- !ruby/object:Gem::Version
|
25
|
+
version: '10.2'
|
26
|
+
type: :development
|
27
|
+
prerelease: false
|
28
|
+
version_requirements: !ruby/object:Gem::Requirement
|
29
|
+
requirements:
|
30
|
+
- - ~>
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '10.2'
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: minitest
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - ~>
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '5.2'
|
40
|
+
type: :development
|
41
|
+
prerelease: false
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - ~>
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '5.2'
|
20
47
|
description: Makes use of SQLite3 in-memory database possible for your Rails tests
|
21
48
|
by preloading the schema.
|
22
49
|
email: matijs@matijs.net
|
@@ -25,34 +52,34 @@ extensions: []
|
|
25
52
|
extra_rdoc_files:
|
26
53
|
- README.md
|
27
54
|
files:
|
55
|
+
- README.md
|
28
56
|
- init.rb
|
29
|
-
- rails/init.rb
|
30
57
|
- lib/memory_test_fix.rb
|
31
|
-
- README.md
|
32
58
|
- memory_test_fix.gemspec
|
59
|
+
- rails/init.rb
|
33
60
|
homepage: http://wiki.github.com/mvz/memory_test_fix
|
34
|
-
licenses:
|
61
|
+
licenses:
|
62
|
+
- MIT
|
63
|
+
metadata: {}
|
35
64
|
post_install_message:
|
36
65
|
rdoc_options: []
|
37
66
|
require_paths:
|
38
67
|
- lib
|
39
68
|
required_ruby_version: !ruby/object:Gem::Requirement
|
40
|
-
none: false
|
41
69
|
requirements:
|
42
|
-
- -
|
70
|
+
- - '>='
|
43
71
|
- !ruby/object:Gem::Version
|
44
72
|
version: '0'
|
45
73
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
46
|
-
none: false
|
47
74
|
requirements:
|
48
|
-
- -
|
75
|
+
- - '>='
|
49
76
|
- !ruby/object:Gem::Version
|
50
77
|
version: '0'
|
51
78
|
requirements: []
|
52
79
|
rubyforge_project:
|
53
|
-
rubygems_version:
|
80
|
+
rubygems_version: 2.2.2
|
54
81
|
signing_key:
|
55
|
-
specification_version:
|
82
|
+
specification_version: 4
|
56
83
|
summary: Use SQLite3 in-memory database for Rails tests.
|
57
84
|
test_files: []
|
58
85
|
has_rdoc: true
|