formize 1.1.2 → 1.1.3
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/VERSION +1 -1
- data/test/helper.rb +2 -2
- data/test/test_formize.rb +4 -4
- metadata +8 -3
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.3
|
data/test/helper.rb
CHANGED
|
@@ -14,12 +14,12 @@ require 'action_view'
|
|
|
14
14
|
require 'action_controller'
|
|
15
15
|
require 'action_dispatch'
|
|
16
16
|
|
|
17
|
-
require '
|
|
17
|
+
require 'minitest/autorun'
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
|
21
21
|
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
|
22
22
|
require 'formize'
|
|
23
23
|
|
|
24
|
-
class
|
|
24
|
+
class Formize::TestCase < Minitest::Test
|
|
25
25
|
end
|
data/test/test_formize.rb
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
require 'helper'
|
|
2
2
|
|
|
3
|
-
class TestFormize <
|
|
3
|
+
class TestFormize < Formize::TestCase
|
|
4
4
|
def test_configuration
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
assert Formize.default_source
|
|
6
|
+
assert Formize.radio_count_max
|
|
7
|
+
assert Formize.select_count_max
|
|
8
8
|
end
|
|
9
9
|
end
|
metadata
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: formize
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
4
|
version: !binary |-
|
|
5
|
-
|
|
5
|
+
MS4xLjM=
|
|
6
6
|
prerelease:
|
|
7
7
|
platform: ruby
|
|
8
8
|
authors:
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date:
|
|
13
|
+
date: 2014-07-09 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: rails
|
|
@@ -52,6 +52,9 @@ dependencies:
|
|
|
52
52
|
- - ! '>='
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
54
|
version: '4'
|
|
55
|
+
- - <
|
|
56
|
+
- !ruby/object:Gem::Version
|
|
57
|
+
version: '5'
|
|
55
58
|
type: :runtime
|
|
56
59
|
prerelease: false
|
|
57
60
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -60,6 +63,9 @@ dependencies:
|
|
|
60
63
|
- - ! '>='
|
|
61
64
|
- !ruby/object:Gem::Version
|
|
62
65
|
version: '4'
|
|
66
|
+
- - <
|
|
67
|
+
- !ruby/object:Gem::Version
|
|
68
|
+
version: '5'
|
|
63
69
|
- !ruby/object:Gem::Dependency
|
|
64
70
|
name: rake
|
|
65
71
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -273,4 +279,3 @@ test_files:
|
|
|
273
279
|
- test/ci/Gemfile.rails-3.2
|
|
274
280
|
- test/helper.rb
|
|
275
281
|
- test/test_formize.rb
|
|
276
|
-
has_rdoc:
|