forme 0.9.1 → 0.9.2

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: b45369402c9a718a22afc64018b0063082647065
4
- data.tar.gz: 1a91e0227fd23138ef2f71842c81648d73fd6400
3
+ metadata.gz: 631cc2f4948e4efca43764c957b89a191cf42183
4
+ data.tar.gz: e4b438e00bb85b76207c4c010c2346f66e0fbf57
5
5
  SHA512:
6
- metadata.gz: 02650bc7eee1eed4d3b562a52204b936dabf70d1f726ad1660a2ead235ad74708503b035b4301c983bc946516485bb207bb769becd09290b95016004e11d4ffe
7
- data.tar.gz: 03d3c5db265495a2795bddfe9e656ac1e6b84b83e211951cffaf28607a6ca3970812bc7f107beb4a1e44f219657508c83878fe5b340874ea2a93f56dab94655f
6
+ metadata.gz: 1406aec8ddec78e1b8fc25ae0d9812d4518d9aae7c65bb2daa27dff300970dbaff4b71c96d0254b7638166995056ddede4d316b287d59c71b6e410cc314daccc
7
+ data.tar.gz: 3ae282714c78f13d8115caacdf06d4f8037123ee2ece35ea752a31a6fe05e9124eb29aa5162fb785e1f35b88a892a50cb95e86324b62171e24bf1e1b51d5dad0
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ === 0.9.2 (2014-04-10)
2
+
3
+ * Make association_select_options compatible with Sequel 4.10+ (jeremyevans)
4
+
1
5
  === 0.9.1 (2013-12-18)
2
6
 
3
7
  * Use a tri-valued select box by default for boolean inputs with :required=>false option (jeremyevans)
data/lib/forme/version.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  module Forme
2
2
  # Version constant, use <tt>Forme.version</tt> instead.
3
- VERSION = '0.9.1'.freeze
3
+ VERSION = '0.9.2'.freeze
4
4
 
5
5
  # Returns the version as a frozen string (e.g. '0.1.0')
6
6
  def self.version
@@ -367,7 +367,7 @@ module Sequel # :nodoc:
367
367
 
368
368
  # The dataset to use to retrieve the association select options
369
369
  def association_select_options_dataset(ref)
370
- obj.send(:_apply_association_options, ref, ref.associated_dataset).unlimited
370
+ obj.send(:_apply_association_options, ref, ref.associated_class.dataset.clone).unlimited
371
371
  end
372
372
 
373
373
  # Delegate to the +form+.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: forme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1
4
+ version: 0.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Evans
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-18 00:00:00.000000000 Z
11
+ date: 2014-04-10 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |
14
14
  Forme is a forms library with the following goals:
@@ -25,49 +25,49 @@ extra_rdoc_files:
25
25
  - CHANGELOG
26
26
  - MIT-LICENSE
27
27
  files:
28
- - MIT-LICENSE
29
28
  - CHANGELOG
29
+ - MIT-LICENSE
30
30
  - README.rdoc
31
31
  - Rakefile
32
+ - lib/forme.rb
33
+ - lib/forme/rails.rb
34
+ - lib/forme/sinatra.rb
35
+ - lib/forme/version.rb
36
+ - lib/sequel/plugins/forme.rb
32
37
  - spec/forme_spec.rb
33
38
  - spec/rails_integration_spec.rb
34
39
  - spec/sequel_helper.rb
35
40
  - spec/sequel_plugin_spec.rb
36
41
  - spec/sinatra_integration_spec.rb
37
42
  - spec/spec_helper.rb
38
- - lib/forme.rb
39
- - lib/forme/rails.rb
40
- - lib/forme/sinatra.rb
41
- - lib/forme/version.rb
42
- - lib/sequel/plugins/forme.rb
43
43
  homepage: http://gihub.com/jeremyevans/forme
44
44
  licenses:
45
45
  - MIT
46
46
  metadata: {}
47
47
  post_install_message:
48
48
  rdoc_options:
49
- - --quiet
50
- - --line-numbers
51
- - --inline-source
52
- - --title
49
+ - "--quiet"
50
+ - "--line-numbers"
51
+ - "--inline-source"
52
+ - "--title"
53
53
  - 'Forme: HTML forms library'
54
- - --main
54
+ - "--main"
55
55
  - README.rdoc
56
56
  require_paths:
57
57
  - lib
58
58
  required_ruby_version: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - '>='
60
+ - - ">="
61
61
  - !ruby/object:Gem::Version
62
62
  version: '0'
63
63
  required_rubygems_version: !ruby/object:Gem::Requirement
64
64
  requirements:
65
- - - '>='
65
+ - - ">="
66
66
  - !ruby/object:Gem::Version
67
67
  version: '0'
68
68
  requirements: []
69
69
  rubyforge_project:
70
- rubygems_version: 2.0.14
70
+ rubygems_version: 2.2.2
71
71
  signing_key:
72
72
  specification_version: 4
73
73
  summary: HTML forms library