hobo_fields 1.3.0.pre12 → 1.3.0.pre13
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/test/migration_generator_comments.rdoctest +2 -2
- data/test/prepare_testapp.rb +2 -1
- metadata +7 -7
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.3.0.
|
1
|
+
1.3.0.pre13
|
@@ -5,7 +5,7 @@ Our test requires to prepare the testapp for a different environment:
|
|
5
5
|
|
6
6
|
doctest_require: ENV["RAILS_ENV"] = 'mysql_test'; 'prepare_testapp'
|
7
7
|
|
8
|
-
>> system "cd #{
|
8
|
+
>> system "cd #{TESTAPP_PATH} && rake db:setup"
|
9
9
|
=> true
|
10
10
|
|
11
11
|
>> p Rails.env
|
@@ -71,5 +71,5 @@ Cleanup
|
|
71
71
|
|
72
72
|
>> nuke_model_class(Product)
|
73
73
|
>> ActiveRecord::Base.connection.execute "drop table `products`;"
|
74
|
-
>> system "cd #{
|
74
|
+
>> system "cd #{TESTAPP_PATH} && rake db:drop RAILS_ENV=mysql_test"
|
75
75
|
{.hidden}
|
data/test/prepare_testapp.rb
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
require 'fileutils'
|
2
2
|
system %(rake test:prepare_testapp)
|
3
|
-
|
3
|
+
TESTAPP_PATH = '/tmp/hobo_fields_testapp'
|
4
|
+
FileUtils.chdir TESTAPP_PATH
|
4
5
|
require 'config/environment'
|
5
6
|
require 'rails/generators'
|
6
7
|
Rails::Generators.configure!
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hobo_fields
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash: -
|
4
|
+
hash: -1637175964
|
5
5
|
prerelease: true
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 3
|
9
9
|
- 0
|
10
|
-
-
|
11
|
-
version: 1.3.0.
|
10
|
+
- pre13
|
11
|
+
version: 1.3.0.pre13
|
12
12
|
platform: ruby
|
13
13
|
authors:
|
14
14
|
- Tom Locke
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2010-10-
|
19
|
+
date: 2010-10-20 00:00:00 -04:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|
@@ -43,13 +43,13 @@ dependencies:
|
|
43
43
|
requirements:
|
44
44
|
- - "="
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
hash: -
|
46
|
+
hash: -1637175964
|
47
47
|
segments:
|
48
48
|
- 1
|
49
49
|
- 3
|
50
50
|
- 0
|
51
|
-
-
|
52
|
-
version: 1.3.0.
|
51
|
+
- pre13
|
52
|
+
version: 1.3.0.pre13
|
53
53
|
type: :runtime
|
54
54
|
version_requirements: *id002
|
55
55
|
- !ruby/object:Gem::Dependency
|