jquery-datetimepicker-rails 2.0.2.0 → 2.0.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ac18bf686ea46e59eef4ddb6e4abc4b1e5b1c834
4
- data.tar.gz: c255e8d35674dc62addc8cf5e3ed0962c02541f4
3
+ metadata.gz: f96c8a27c4800bcf56a8b3139faa42563b35ed17
4
+ data.tar.gz: 1e6e251b2f84de9cfb3d308daa609784391d8d04
5
5
  SHA512:
6
- metadata.gz: 587c5f7d6de64b7a1c3f56662148398a8e527db004db1e8076871ffd2d3ffa5ab1a39486c883eb1ac31e83862693689a13023a6535bc2e1eb412c6c574f1ee60
7
- data.tar.gz: 1fe762a3a4adf1fb95ba35fec9f9776827c2d216cf1b6f7be0ed307bc9f165d5a468896f197df1da8537cfc6aabeda92e569f71705179cc90e425f2c1d993e83
6
+ metadata.gz: 30db25962785b36787d77bad065d195f84bbaa1b1235dee51388cc7addbf75728ff509b7f4a19b611feaadd1874abdf82073c65f4616389c247ffe71b187f9b4
7
+ data.tar.gz: 3d15e097f9705315b05090c6b0aecd98c0f27273ae01bf8e91c43461c6e8143c0ced38fb83f7202a7a314e31a339c591fb8a706a1bf46d21e4deace6528ed528
data/README.md CHANGED
@@ -3,6 +3,8 @@ jQuery date and time picker for rails
3
3
 
4
4
  [jQuery Date and Time picker plugin] [plugin] by [@xdan] [author] for Ruby on Rails asset pipeline.
5
5
 
6
+ [![Gem Version](https://badge.fury.io/rb/jquery-datetimepicker-rails.png)](http://badge.fury.io/rb/jquery-datetimepicker-rails)
7
+
6
8
  Installation
7
9
  ------------
8
10
 
@@ -0,0 +1,7 @@
1
+ jQuery(document).on('ready page:change', function() {
2
+ var datetimefield = jQuery('.datetimepicker');
3
+ datetimefield.datetimepicker({
4
+ format: 'Y-m-d H:i:s',
5
+ lang: datetimefield.attr('lang') || datetimefield.parents('[lang]').attr('lang')
6
+ });
7
+ });
@@ -1,7 +1,7 @@
1
1
  module Jquery
2
2
  module Datetimepicker
3
3
  module Rails
4
- VERSION = '2.0.2.0'
4
+ VERSION = '2.0.2.1'
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jquery-datetimepicker-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2.0
4
+ version: 2.0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrey Novikov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-09 00:00:00.000000000 Z
11
+ date: 2013-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -52,6 +52,7 @@ files:
52
52
  - Rakefile
53
53
  - jquery-datetimepicker-rails.gemspec
54
54
  - lib/assets/javascripts/jquery.datetimepicker.js
55
+ - lib/assets/javascripts/jquery.datetimepicker/init.js
55
56
  - lib/assets/stylesheets/jquery.datetimepicker.css
56
57
  - lib/jquery/datetimepicker/rails.rb
57
58
  - lib/jquery/datetimepicker/rails/version.rb