combo_box 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/Gemfile +1 -1
  2. data/VERSION +1 -1
  3. data/lib/combo_box/generator.rb +1 -0
  4. metadata +10 -21
data/Gemfile CHANGED
@@ -5,5 +5,5 @@ gem "jquery-rails"
5
5
 
6
6
  group :development do
7
7
  gem "jeweler", "~> 1.6.4"
8
- gem "rcov", ">= 0"
8
+ # gem "rcov", ">= 0"
9
9
  end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.5
1
+ 0.0.6
@@ -9,6 +9,7 @@ module ComboBox
9
9
  # @@count = 0
10
10
 
11
11
  def initialize(model, name, options={})
12
+ return unless model.table_exists?
12
13
  @model = model
13
14
  @name = name.to_s
14
15
  @filter = options.delete(:filter) || "%X%"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: combo_box
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-09-27 00:00:00.000000000Z
12
+ date: 2012-01-24 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
- requirement: &16367380 !ruby/object:Gem::Requirement
16
+ requirement: &20581220 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '3'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *16367380
24
+ version_requirements: *20581220
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: jquery-rails
27
- requirement: &16366460 !ruby/object:Gem::Requirement
27
+ requirement: &20580240 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *16366460
35
+ version_requirements: *20580240
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: jeweler
38
- requirement: &16365480 !ruby/object:Gem::Requirement
38
+ requirement: &20579040 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,18 +43,7 @@ dependencies:
43
43
  version: 1.6.4
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *16365480
47
- - !ruby/object:Gem::Dependency
48
- name: rcov
49
- requirement: &16362580 !ruby/object:Gem::Requirement
50
- none: false
51
- requirements:
52
- - - ! '>='
53
- - !ruby/object:Gem::Version
54
- version: '0'
55
- type: :development
56
- prerelease: false
57
- version_requirements: *16362580
46
+ version_requirements: *20579040
58
47
  description: Adds helpers for Rails views and controller in order to manage 'dynamic
59
48
  select'. It uses jQuery UI as support for inobtrusive use in forms. It's not the
60
49
  classic Autocompleter, its use is limited to belongs_to reflections.
@@ -93,7 +82,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
93
82
  version: '0'
94
83
  segments:
95
84
  - 0
96
- hash: 2191780791033431926
85
+ hash: -3326707713257098834
97
86
  required_rubygems_version: !ruby/object:Gem::Requirement
98
87
  none: false
99
88
  requirements:
@@ -102,7 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
102
91
  version: '0'
103
92
  requirements: []
104
93
  rubyforge_project:
105
- rubygems_version: 1.8.6
94
+ rubygems_version: 1.8.11
106
95
  signing_key:
107
96
  specification_version: 3
108
97
  summary: Adds the combo_box control in Rails 3 based on jQuery UI