jquery-timepicker-rails 1.2.4.0 → 1.2.5.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
- Copyright (c) 2012 Tanguy Krotoff
1
+ Copyright (c) 2012-2013 Tanguy Krotoff
2
2
 
3
3
  MIT License
4
4
 
@@ -19,4 +19,4 @@ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
19
  NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
20
  LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
21
  OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/Rakefile CHANGED
@@ -1,2 +1 @@
1
- #!/usr/bin/env rake
2
1
  require "bundler/gem_tasks"
@@ -1,19 +1,24 @@
1
- # -*- encoding: utf-8 -*-
2
- require File.expand_path('../lib/jquery-timepicker-rails/version', __FILE__)
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'jquery-timepicker-rails/version'
3
5
 
4
- Gem::Specification.new do |gem|
5
- gem.authors = ["Tanguy Krotoff (jQuery plugin by Jon Thornton)"]
6
- gem.email = ["tkrotoff@gmail.com"]
7
- gem.description = %q{A jQuery timepicker plugin inspired by Google Calendar}
8
- gem.summary = %q{jquery-timepicker packaged for the Rails 3.1+ asset pipeline}
9
- gem.homepage = "http://github.com/tkrotoff/jquery-timepicker-rails"
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "jquery-timepicker-rails"
8
+ spec.version = Jquery::Timepicker::Rails::VERSION
9
+ spec.authors = ["Tanguy Krotoff (jQuery plugin by Jon Thornton)"]
10
+ spec.email = ["tkrotoff@gmail.com"]
11
+ spec.description = %q{A jQuery timepicker plugin inspired by Google Calendar}
12
+ spec.summary = %q{jquery-timepicker packaged for the Rails 3.1+ asset pipeline}
13
+ spec.homepage = "http://github.com/tkrotoff/jquery-timepicker-rails"
14
+ spec.license = "MIT"
10
15
 
11
- gem.files = `git ls-files`.split($\)
12
- gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
13
- gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
14
- gem.name = "jquery-timepicker-rails"
15
- gem.require_paths = ["lib"]
16
- gem.version = Jquery::Timepicker::Rails::VERSION
16
+ spec.files = `git ls-files`.split($/)
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
+ spec.require_paths = ["lib"]
17
20
 
18
- gem.add_dependency 'railties', '>= 3.1.0'
21
+ spec.add_dependency 'railties', '>= 3.1.0'
22
+ spec.add_development_dependency "bundler", "~> 1.3"
23
+ spec.add_development_dependency "rake"
19
24
  end
@@ -1,7 +1,7 @@
1
1
  module Jquery
2
2
  module Timepicker
3
3
  module Rails
4
- VERSION = "1.2.4.0"
4
+ VERSION = "1.2.5.0"
5
5
  end
6
6
  end
7
7
  end
@@ -1,5 +1,5 @@
1
1
  /************************
2
- jquery-timepicker v1.2.4
2
+ jquery-timepicker v1.2.5
3
3
  http://jonthornton.github.com/jquery-timepicker/
4
4
 
5
5
  requires jQuery 1.7+
@@ -460,7 +460,7 @@ requires jQuery 1.7+
460
460
  list.find('li').removeClass('ui-timepicker-selected');
461
461
 
462
462
  var timeValue = _time2int(_getTimeValue(self));
463
- if (!timeValue) {
463
+ if (timeValue === null) {
464
464
  return;
465
465
  }
466
466
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jquery-timepicker-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.4.0
4
+ version: 1.2.5.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-08-28 00:00:00.000000000 Z
12
+ date: 2013-08-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties
@@ -27,6 +27,38 @@ dependencies:
27
27
  - - ! '>='
28
28
  - !ruby/object:Gem::Version
29
29
  version: 3.1.0
30
+ - !ruby/object:Gem::Dependency
31
+ name: bundler
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ~>
36
+ - !ruby/object:Gem::Version
37
+ version: '1.3'
38
+ type: :development
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: '1.3'
46
+ - !ruby/object:Gem::Dependency
47
+ name: rake
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
30
62
  description: A jQuery timepicker plugin inspired by Google Calendar
31
63
  email:
32
64
  - tkrotoff@gmail.com
@@ -36,7 +68,7 @@ extra_rdoc_files: []
36
68
  files:
37
69
  - .gitignore
38
70
  - Gemfile
39
- - LICENSE
71
+ - LICENSE.txt
40
72
  - README.md
41
73
  - Rakefile
42
74
  - jquery-timepicker-rails.gemspec
@@ -46,7 +78,8 @@ files:
46
78
  - vendor/assets/javascripts/jquery.timepicker.js
47
79
  - vendor/assets/stylesheets/jquery.timepicker.css
48
80
  homepage: http://github.com/tkrotoff/jquery-timepicker-rails
49
- licenses: []
81
+ licenses:
82
+ - MIT
50
83
  post_install_message:
51
84
  rdoc_options: []
52
85
  require_paths: