funky_form 0.1.3 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1fc0ff239acf910f29efd6fa6d9c07f746c86037
4
- data.tar.gz: 00ac7ad05f7eb73ab5d116cbdf18ce02145243a4
3
+ metadata.gz: 803090123282e491a4fcbcd4f88e842f5eac58a7
4
+ data.tar.gz: 8d2bc8a84e72a467544e3fd10079766d8b46c609
5
5
  SHA512:
6
- metadata.gz: 72ce1507bcbd406d8168772c2c93005fab42270ecbdb679e535e8a4090d1ceef743eede2db282aa4230f00abaa4e7543e70e5ca64ad7ff20b04f978c311fe188
7
- data.tar.gz: 88b375f4aac2f5c08e240161bf7c319fc332fd0eaca6ee0d11e9755892c85ce08860d6fe30f9e9b5d023f140befdaf48534336acbbab7c6df8a69c8a40ee4eb1
6
+ metadata.gz: b28fe643f3a55d68dd3fab4031b2f4f1d5d266fec152d4281142163fbc73c28d2becff82df7ba6b33e266edc301ae59ef5c8183861448c58ef9c5298b5c44bd9
7
+ data.tar.gz: 5089b96419a7408f6ec7112abdb34ef02e38f2f6c0e1b5547366c75e7655a5cb6150f3e50cf5a89509b74f0fa1b00275333417ec20171644c3134fa6bd8578c7
data/funky_form.gemspec CHANGED
@@ -18,6 +18,6 @@ Gem::Specification.new do |s|
18
18
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
19
19
  s.require_paths = ["lib"]
20
20
 
21
- s.add_dependency "virtus", "~> 1.0.0.beta0"
21
+ s.add_dependency "virtus", "~> 1.0"
22
22
  s.add_dependency "activemodel", ">= 3.2.0"
23
23
  end
data/lib/funky_form.rb CHANGED
@@ -7,7 +7,7 @@ module FunkyForm
7
7
  # @param [Class] descendant
8
8
  def self.included(descendant)
9
9
  super
10
- descendant.send(:include, Virtus)
10
+ descendant.send(:include, Virtus.model)
11
11
  descendant.send(:include, ActiveModel::Validations)
12
12
  descendant.send(:include, ActiveModel::Conversion)
13
13
  descendant.send(:include, InstanceMethods)
@@ -1,3 +1,3 @@
1
1
  module FunkyForm
2
- VERSION = "0.1.3"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: funky_form
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Indrek Juhkam
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-01 00:00:00.000000000 Z
11
+ date: 2013-11-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: virtus
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ~>
18
18
  - !ruby/object:Gem::Version
19
- version: 1.0.0.beta0
19
+ version: '1.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ~>
25
25
  - !ruby/object:Gem::Version
26
- version: 1.0.0.beta0
26
+ version: '1.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: activemodel
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -84,7 +84,6 @@ files:
84
84
  - test/dummy/config/initializers/session_store.rb
85
85
  - test/dummy/config/locales/en.yml
86
86
  - test/dummy/config/routes.rb
87
- - test/dummy/db/development.sqlite3
88
87
  - test/dummy/db/migrate/20120306162814_create_posts.rb
89
88
  - test/dummy/db/schema.rb
90
89
  - test/dummy/public/404.html
@@ -148,7 +147,6 @@ test_files:
148
147
  - test/dummy/config/initializers/session_store.rb
149
148
  - test/dummy/config/locales/en.yml
150
149
  - test/dummy/config/routes.rb
151
- - test/dummy/db/development.sqlite3
152
150
  - test/dummy/db/migrate/20120306162814_create_posts.rb
153
151
  - test/dummy/db/schema.rb
154
152
  - test/dummy/public/404.html