countdowner 0.2.0 → 0.2.1

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/README.md CHANGED
@@ -62,7 +62,7 @@ For now, copy these files into your app (paths are relative to gem).
62
62
  * lib/assets/javascripts/jquery.countdowner.js
63
63
  * db/migrations/20121018090014_create_countdowners.rb
64
64
 
65
- Then, include the Javascript files and migrate the database.
65
+ Then, include the Javascript files and migrate the database (for rails 2 you'll need to split `change` migration method into `self.up` and `self.down`).
66
66
 
67
67
  ### All versions
68
68
 
data/Rakefile CHANGED
@@ -1,4 +1,7 @@
1
1
  #!/usr/bin/env rake
2
+
3
+ import 'spec/dummy/Rakefile'
4
+
2
5
  begin
3
6
  require 'bundler/setup'
4
7
  rescue LoadError
@@ -2,7 +2,6 @@ $ ->
2
2
  $countdowner = $('#countdowner')
3
3
  if $countdowner.length
4
4
  removeAfterEnd = =>
5
- console.log "checking..."
6
5
  if $countdowner.data('end_at') < new Date().toISOString()
7
6
  $countdowner.remove()
8
7
  clearInterval(@checkEnd) if @checkEnd?
@@ -1,3 +1,3 @@
1
1
  module Countdowner
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: countdowner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -156,7 +156,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
156
156
  version: '0'
157
157
  segments:
158
158
  - 0
159
- hash: 3925088943962807564
159
+ hash: 2442185988410086350
160
160
  required_rubygems_version: !ruby/object:Gem::Requirement
161
161
  none: false
162
162
  requirements:
@@ -165,7 +165,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
165
165
  version: '0'
166
166
  segments:
167
167
  - 0
168
- hash: 3925088943962807564
168
+ hash: 2442185988410086350
169
169
  requirements: []
170
170
  rubyforge_project:
171
171
  rubygems_version: 1.8.24