hobofields 0.9.100 → 0.9.101
Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
require 'rubygems'
|
2
|
-
require '
|
2
|
+
require 'active_record'
|
3
3
|
ActiveRecord::ActiveRecordError # hack for https://rails.lighthouseapp.com/projects/8994/tickets/2577-when-using-activerecordassociations-outside-of-rails-a-nameerror-is-thrown
|
4
4
|
|
5
5
|
RUBY = File.join(Config::CONFIG['bindir'], Config::CONFIG['ruby_install_name']).sub(/.*\s.*/m, '"\&"')
|
data/lib/hobo_fields.rb
CHANGED
@@ -7,8 +7,8 @@ Firstly, in order to test the migration generator outside of a full Rails stack,
|
|
7
7
|
{.hidden}
|
8
8
|
|
9
9
|
>> require 'rubygems'
|
10
|
-
>> require '
|
11
|
-
>> require '
|
10
|
+
>> require 'active_support'
|
11
|
+
>> require 'active_record'
|
12
12
|
{.hidden}
|
13
13
|
|
14
14
|
We also need to get ActiveRecord set up with a database connection
|
@@ -7,8 +7,8 @@ Note that these doctests are good tests but not such good docs. The migration ge
|
|
7
7
|
Firstly, in order to test the migration generator outside of a full Rails stack, there's a few things we need to do. First off we need to configure ActiveSupport for auto-loading
|
8
8
|
|
9
9
|
>> require 'rubygems'
|
10
|
-
>> require '
|
11
|
-
>> require '
|
10
|
+
>> require 'active_support'
|
11
|
+
>> require 'active_record'
|
12
12
|
|
13
13
|
We also need to get ActiveRecord set up with a database connection
|
14
14
|
|
data/test/rich_types.rdoctest
CHANGED
@@ -6,9 +6,9 @@ Our test requires rails:
|
|
6
6
|
{.hidden}
|
7
7
|
|
8
8
|
>> require 'rubygems'
|
9
|
-
>> require '
|
10
|
-
>> require '
|
11
|
-
>> require '
|
9
|
+
>> require 'active_support'
|
10
|
+
>> require 'active_record'
|
11
|
+
>> require 'action_pack'
|
12
12
|
>> require 'action_view'
|
13
13
|
>> require 'action_controller'
|
14
14
|
{.hidden}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hobofields
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.101
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom Locke
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-12-01 00:00:00
|
12
|
+
date: 2009-12-01 00:00:00 -05:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -30,7 +30,7 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.9.
|
33
|
+
version: 0.9.101
|
34
34
|
version:
|
35
35
|
description:
|
36
36
|
email: tom@tomlocke.com
|