desktop-finder 0.0.1.8 → 0.0.1.9

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.
@@ -1,5 +1,5 @@
1
1
  module Desktop
2
2
  module Finder
3
- VERSION = "0.0.1.8"
3
+ VERSION = "0.0.1.9"
4
4
  end
5
5
  end
@@ -1,15 +1,12 @@
1
1
  require "desktop/finder/version"
2
2
 
3
3
  module Desktop
4
- class Finder
5
-
6
- class << self
7
-
4
+ module Finder
8
5
  def Finder.test
9
6
  puts '-----------test finder gem--------------'
10
7
  end
11
8
 
12
- def create(params, simple=false, form=nil)
9
+ def Finder.create(params, simple=false, form=nil)
13
10
  puts '---------------finder create--------------------'
14
11
  record = Kernel.const_get(params[:controller].classify).new.attributes
15
12
  options = record.each_key.collect{|key|
@@ -89,6 +86,5 @@ module Desktop
89
86
  "<label class='#{options[:class]}'>#{label}</label>"
90
87
  end
91
88
 
92
- end
93
89
  end
94
90
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: desktop-finder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.8
4
+ version: 0.0.1.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: