jquery_cheats 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
data/Manifest ADDED
@@ -0,0 +1,4 @@
1
+ README.rdoc
2
+ Rakefile
3
+ lib/jquery_cheats.rb
4
+ Manifest
data/README.rdoc ADDED
File without changes
data/Rakefile ADDED
@@ -0,0 +1,14 @@
1
+ require 'rubygems'
2
+ require 'rake'
3
+ require 'echoe'
4
+
5
+ Echoe.new('jquery_cheats', '0.1.0') do |p|
6
+ p.description = "JQuery Inline tricks"
7
+ p.url = "http://pessetto.com"
8
+ p.author = "Travis Pessettto"
9
+ p.email = "travis@pessetto.com"
10
+ p.ignore_pattern = ["tmp/*", "script/*"]
11
+ p.development_dependencies = []
12
+ end
13
+
14
+ Dir["#{File.dirname(__FILE__)}/tasks/*.rake"].sort.each { |ext| load ext }
@@ -0,0 +1,29 @@
1
+ # -*- encoding: utf-8 -*-
2
+
3
+ Gem::Specification.new do |s|
4
+ s.name = %q{jquery_cheats}
5
+ s.version = "0.1.0"
6
+
7
+ s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
+ s.authors = [%q{Travis Pessettto}]
9
+ s.date = %q{2011-08-08}
10
+ s.description = %q{JQuery Inline tricks}
11
+ s.email = %q{travis@pessetto.com}
12
+ s.extra_rdoc_files = [%q{README.rdoc}, %q{lib/jquery_cheats.rb}]
13
+ s.files = [%q{README.rdoc}, %q{Rakefile}, %q{lib/jquery_cheats.rb}, %q{Manifest}, %q{jquery_cheats.gemspec}]
14
+ s.homepage = %q{http://pessetto.com}
15
+ s.rdoc_options = [%q{--line-numbers}, %q{--inline-source}, %q{--title}, %q{Jquery_cheats}, %q{--main}, %q{README.rdoc}]
16
+ s.require_paths = [%q{lib}]
17
+ s.rubyforge_project = %q{jquery_cheats}
18
+ s.rubygems_version = %q{1.8.6}
19
+ s.summary = %q{JQuery Inline tricks}
20
+
21
+ if s.respond_to? :specification_version then
22
+ s.specification_version = 3
23
+
24
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
25
+ else
26
+ end
27
+ else
28
+ end
29
+ end
@@ -0,0 +1,21 @@
1
+ module JQueryCheats
2
+ class HoverImage
3
+ #class used to do a quick Hover image
4
+ attr_accessor :image_tag
5
+
6
+ class << self
7
+
8
+ def mouseoverimage(initimage,hoverimage)
9
+ @image_tag =""
10
+ @image_tag = "<img src=\"#{initimage}\" alt=\"image\" onmouseover=\"$(this).attr('src','#{hoverimage}')\" onmouseout=\"$(this).attr('src','#{initimage}')\">"
11
+ return @image_tag.html_safe
12
+ end
13
+
14
+ def initialize()
15
+
16
+ end
17
+
18
+ end#end self
19
+
20
+ end
21
+ end
metadata ADDED
@@ -0,0 +1,57 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jquery_cheats
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Travis Pessettto
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2011-08-08 00:00:00.000000000Z
13
+ dependencies: []
14
+ description: JQuery Inline tricks
15
+ email: travis@pessetto.com
16
+ executables: []
17
+ extensions: []
18
+ extra_rdoc_files:
19
+ - README.rdoc
20
+ - lib/jquery_cheats.rb
21
+ files:
22
+ - README.rdoc
23
+ - Rakefile
24
+ - lib/jquery_cheats.rb
25
+ - Manifest
26
+ - jquery_cheats.gemspec
27
+ homepage: http://pessetto.com
28
+ licenses: []
29
+ post_install_message:
30
+ rdoc_options:
31
+ - --line-numbers
32
+ - --inline-source
33
+ - --title
34
+ - Jquery_cheats
35
+ - --main
36
+ - README.rdoc
37
+ require_paths:
38
+ - lib
39
+ required_ruby_version: !ruby/object:Gem::Requirement
40
+ none: false
41
+ requirements:
42
+ - - ! '>='
43
+ - !ruby/object:Gem::Version
44
+ version: '0'
45
+ required_rubygems_version: !ruby/object:Gem::Requirement
46
+ none: false
47
+ requirements:
48
+ - - ! '>='
49
+ - !ruby/object:Gem::Version
50
+ version: '1.2'
51
+ requirements: []
52
+ rubyforge_project: jquery_cheats
53
+ rubygems_version: 1.8.6
54
+ signing_key:
55
+ specification_version: 3
56
+ summary: JQuery Inline tricks
57
+ test_files: []