jquery-cheat 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,7 +6,6 @@ Rakefile
6
6
  bin/jcheat
7
7
  lib/index.xml
8
8
  lib/jquery-cheat/version.rb
9
- lib/jquery.dumped
10
9
  scripts/txt2html
11
10
  setup.rb
12
11
  test/test_helper.rb
data/bin/jcheat CHANGED
@@ -4,7 +4,7 @@ require 'rubygems'
4
4
  require 'hpricot'
5
5
  gem 'jquery-cheat'
6
6
 
7
- PATH = File.join(Gem.cache.search("jquery-cheat").sort_by{|x| x.version.version}.last.full_gem_path, 'lib','jquery.dumped')
7
+ PATH = File.join(Gem.cache.search("jquery-cheat").sort_by{|x| x.version.version}.last.full_gem_path, 'lib','index.xml')
8
8
 
9
9
  class JQueryMethod
10
10
 
@@ -38,7 +38,7 @@ end
38
38
 
39
39
  class JQueryMethods < Array
40
40
 
41
- File.open(PATH) {|f| @@parsed = Marshal.load(f) }
41
+ @@parsed = Hpricot::XML(File.read(PATH))
42
42
 
43
43
  def initialize els
44
44
  push(*els.to_jquery_methods)
@@ -2,7 +2,7 @@ module JQueryCheat #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 1
5
- TINY = 1
5
+ TINY = 2
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
metadata CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.9.0
3
3
  specification_version: 1
4
4
  name: jquery-cheat
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.1.1
6
+ version: 0.1.2
7
7
  date: 2007-06-01 00:00:00 -07:00
8
8
  summary: jQuery command-line API reference
9
9
  require_paths:
@@ -37,7 +37,6 @@ files:
37
37
  - bin/jcheat
38
38
  - lib/index.xml
39
39
  - lib/jquery-cheat/version.rb
40
- - lib/jquery.dumped
41
40
  - scripts/txt2html
42
41
  - setup.rb
43
42
  - test/test_helper.rb
Binary file