ajaxful_rating 3.0.0.beta7 → 3.0.0.beta8

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.
data/Rakefile CHANGED
@@ -6,7 +6,7 @@ begin
6
6
 
7
7
  Jeweler::Tasks.new do |spec|
8
8
  spec.name = "ajaxful_rating"
9
- spec.version = "3.0.0.beta7"
9
+ spec.version = "3.0.0.beta8"
10
10
  spec.summary = "Provides a simple way to add rating functionality to your application."
11
11
  spec.description = "Provides a simple way to add rating functionality to your application."
12
12
  spec.homepage = "http://github.com/edgarjs/ajaxful-rating"
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "ajaxful_rating"
8
- s.version = "3.0.0.beta7"
8
+ s.version = "3.0.0.beta8"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Edgar J. Suarez", "Denis Odorcic"]
12
- s.date = "2011-12-18"
12
+ s.date = "2012-01-07"
13
13
  s.description = "Provides a simple way to add rating functionality to your application."
14
14
  s.email = ["edgar.js@gmail.com", "denis.odorcic@gmail.com"]
15
15
  s.extra_rdoc_files = [
@@ -47,7 +47,7 @@ Gem::Specification.new do |s|
47
47
  ]
48
48
  s.homepage = "http://github.com/edgarjs/ajaxful-rating"
49
49
  s.require_paths = ["lib"]
50
- s.rubygems_version = "1.6.2"
50
+ s.rubygems_version = "1.8.10"
51
51
  s.summary = "Provides a simple way to add rating functionality to your application."
52
52
 
53
53
  if s.respond_to? :specification_version then
data/lib/axr/helpers.rb CHANGED
@@ -6,8 +6,8 @@ module AjaxfulRating # :nodoc:
6
6
  # current page.
7
7
  def ajaxful_rating_style
8
8
  @axr_css ||= CSSBuilder.new
9
- stylesheet_link_tag('ajaxful_rating') +
10
- content_tag(:style, @axr_css.to_css, :type => "text/css")
9
+ # stylesheet_link_tag('ajaxful_rating') +
10
+ content_tag(:style, @axr_css.to_css, :type => "text/css")
11
11
  end
12
12
 
13
13
  # Generates the stars list to submit a rate.
@@ -18,9 +18,9 @@ class AjaxfulRatingGenerator < Rails::Generators::NamedBase
18
18
  end
19
19
 
20
20
  def create_layout
21
- copy_file 'images/star.png', 'public/images/ajaxful_rating/star.png'
22
- copy_file 'images/star_small.png', 'public/images/ajaxful_rating/star_small.png'
23
- copy_file 'style.css', 'public/stylesheets/ajaxful_rating.css'
21
+ copy_file 'images/star.png', 'assets/images/ajaxful_rating/star.png'
22
+ copy_file 'images/star_small.png', 'assets/images/ajaxful_rating/star_small.png'
23
+ copy_file 'style.css', 'assets/stylesheets/ajaxful_rating.css.scss'
24
24
  end
25
25
 
26
26
  private
@@ -7,7 +7,7 @@
7
7
  .ajaxful-rating a:active,
8
8
  .ajaxful-rating a:focus,
9
9
  .ajaxful-rating .show-value{
10
- background: url(/images/ajaxful_rating/star.png) left -1000px repeat-x;
10
+ background: image-url("ajaxful_rating/star.png") left -1000px repeat-x;
11
11
  }
12
12
  .ajaxful-rating{
13
13
  position: relative;
@@ -78,7 +78,7 @@ z-index: 2;
78
78
  .ajaxful-rating.small a:active,
79
79
  .ajaxful-rating.small a:focus,
80
80
  .ajaxful-rating.small .show-value{
81
- background-image: url(/images/ajaxful_rating/star_small.png);
81
+ background-image: image-url("ajaxful_rating/star_small.png");
82
82
  line-height: 10px;
83
83
  height: 10px;
84
84
  }
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ajaxful_rating
3
3
  version: !ruby/object:Gem::Version
4
- hash: 62196429
4
+ hash: 62196435
5
5
  prerelease: 6
6
6
  segments:
7
7
  - 3
8
8
  - 0
9
9
  - 0
10
10
  - beta
11
- - 7
12
- version: 3.0.0.beta7
11
+ - 8
12
+ version: 3.0.0.beta8
13
13
  platform: ruby
14
14
  authors:
15
15
  - Edgar J. Suarez
@@ -18,7 +18,7 @@ autorequire:
18
18
  bindir: bin
19
19
  cert_chain: []
20
20
 
21
- date: 2011-12-18 00:00:00 Z
21
+ date: 2012-01-07 00:00:00 Z
22
22
  dependencies: []
23
23
 
24
24
  description: Provides a simple way to add rating functionality to your application.