fixed_point_field 1.0 → 1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Rakefile +0 -5
- data/{init.rb → rails/init.rb} +0 -0
- data/test/fixed_point_field_test.rb +8 -8
- metadata +2 -2
data/Rakefile
CHANGED
@@ -1,8 +1,3 @@
|
|
1
|
-
begin
|
2
|
-
require File.join(File.dirname(__FILE__), '..', '..', '..', 'config', 'environment')
|
3
|
-
rescue LoadError
|
4
|
-
raise "Please test from within your rails application: Unable to load environment.rb"
|
5
|
-
end
|
6
1
|
require 'rake'
|
7
2
|
require 'rake/testtask'
|
8
3
|
require 'rake/rdoctask'
|
data/{init.rb → rails/init.rb}
RENAMED
File without changes
|
@@ -1,13 +1,13 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
require
|
6
|
-
rescue
|
7
|
-
raise "Please test from within your rails app vendor/plugins/THISPLUGIN: Unable to load config/environment.rb"
|
8
|
-
end
|
1
|
+
begin
|
2
|
+
require 'active_record'
|
3
|
+
rescue LoadError
|
4
|
+
require 'rubygems'
|
5
|
+
require 'active_record'
|
9
6
|
end
|
10
7
|
|
8
|
+
$: << File.join(File.dirname(__FILE__), '..', 'lib')
|
9
|
+
require File.join(File.dirname(__FILE__), '..', 'init.rb')
|
10
|
+
|
11
11
|
begin
|
12
12
|
require 'mocha'
|
13
13
|
rescue LoadError
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fixed_point_field
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: "1.
|
4
|
+
version: "1.1"
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Todd Willey <todd@rubidine.com>
|
@@ -24,7 +24,7 @@ extra_rdoc_files:
|
|
24
24
|
files:
|
25
25
|
- README
|
26
26
|
- Rakefile
|
27
|
-
- init.rb
|
27
|
+
- rails/init.rb
|
28
28
|
- lib/fixed_point_field.rb
|
29
29
|
- tasks/fixed_point_field_tasks.rake
|
30
30
|
- test/fixed_point_field_test.rb
|