pickadate-rails 1.1.5 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 969120f5da187e11ef470d80b7a6816e82a1af65
4
+ data.tar.gz: e03111de8da4fea0e6f78fcfdd7a16d274c18f7f
5
+ SHA512:
6
+ metadata.gz: 9ebe246c73e7f423c6c9169a1600c4f2c87c7c6beb01a63e82da8c70f95c98196cb756309d1a3f41ecfe6ea1b0f2524e3efd70d04de265f47ebd28e28831ed33
7
+ data.tar.gz: 94b2c0e01d6c0e2de45ecde922fbc68e7747cf9213b740859d301fb4f92f7c05e6202b8ebc088d3d3d662642067cd38433b48dc8afb6886e440e440792b10b53
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Pickadate-Rails [![Gem Version](https://badge.fury.io/rb/pickadate-rails.png)](http://badge.fury.io/rb/pickadate-rails)
2
2
 
3
- ## Pickadate Version: 3.1.4
3
+ ## Pickadate Version: 3.2.0
4
4
 
5
5
  Easily add [pickadate.js](https://github.com/amsul/pickadate.js) to your Rails 3.1+ application using the asset pipeline.
6
6
 
@@ -1,3 +1,3 @@
1
1
  module PickadateRails
2
- VERSION = "1.1.5"
2
+ VERSION = "1.2.0"
3
3
  end
@@ -1,6 +1,6 @@
1
1
 
2
2
  /*!
3
- * Date picker for pickadate.js v3.1.4
3
+ * Date picker for pickadate.js v3.2.0
4
4
  * http://amsul.github.io/pickadate.js/date.htm
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
 
2
2
  /*!
3
- * pickadate.js v3.1.4, 2013/07/26
3
+ * pickadate.js v3.2.0, 2013/08/15
4
4
  * By Amsul, http://amsul.ca
5
5
  * Hosted on http://amsul.github.io/pickadate.js
6
6
  * Licensed under MIT
@@ -236,12 +236,13 @@ function PickerConstructor( ELEMENT, NAME, COMPONENT, OPTIONS ) {
236
236
 
237
237
 
238
238
  /**
239
- * Render a new picker within the root
239
+ * Render a new picker
240
240
  */
241
- render: function() {
241
+ render: function( entireComponent ) {
242
242
 
243
- // Insert a new component holder in the root.
244
- P.$root.html( createWrappedComponent() )
243
+ // Insert a new component holder in the root or box.
244
+ if ( entireComponent ) P.$root.html( createWrappedComponent() )
245
+ else P.$root.find( '.' + CLASSES.box ).html( P.component.nodes( STATE.open ) )
245
246
 
246
247
  // Trigger the queued “render” events.
247
248
  return P.trigger( 'render' )
@@ -1,6 +1,6 @@
1
1
 
2
2
  /*!
3
- * Time picker for pickadate.js v3.1.4
3
+ * Time picker for pickadate.js v3.2.0
4
4
  * http://amsul.github.io/pickadate.js/time.htm
5
5
  */
6
6
 
metadata CHANGED
@@ -1,36 +1,32 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pickadate-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.5
5
- prerelease:
4
+ version: 1.2.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Jeff Fraser
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-08-05 00:00:00.000000000 Z
11
+ date: 2013-08-22 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: railties
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: 3.1.0
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - '>='
28
25
  - !ruby/object:Gem::Version
29
26
  version: 3.1.0
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: bundler
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
31
  - - ~>
36
32
  - !ruby/object:Gem::Version
@@ -38,7 +34,6 @@ dependencies:
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
38
  - - ~>
44
39
  - !ruby/object:Gem::Version
@@ -46,17 +41,15 @@ dependencies:
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: rake
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ! '>='
45
+ - - '>='
52
46
  - !ruby/object:Gem::Version
53
47
  version: '0'
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ! '>='
52
+ - - '>='
60
53
  - !ruby/object:Gem::Version
61
54
  version: '0'
62
55
  description: Add pickadate.js to Rails 3.1+ via the asset pipeline
@@ -119,27 +112,26 @@ files:
119
112
  homepage: https://github.com/veracross/pickadate-rails
120
113
  licenses:
121
114
  - MIT
115
+ metadata: {}
122
116
  post_install_message:
123
117
  rdoc_options: []
124
118
  require_paths:
125
119
  - lib
126
120
  required_ruby_version: !ruby/object:Gem::Requirement
127
- none: false
128
121
  requirements:
129
- - - ! '>='
122
+ - - '>='
130
123
  - !ruby/object:Gem::Version
131
124
  version: '0'
132
125
  required_rubygems_version: !ruby/object:Gem::Requirement
133
- none: false
134
126
  requirements:
135
- - - ! '>='
127
+ - - '>='
136
128
  - !ruby/object:Gem::Version
137
129
  version: '0'
138
130
  requirements: []
139
131
  rubyforge_project:
140
- rubygems_version: 1.8.23
132
+ rubygems_version: 2.0.3
141
133
  signing_key:
142
- specification_version: 3
134
+ specification_version: 4
143
135
  summary: Add pickadate.js to Rails 3.1+ via the asset pipeline. See http://amsul.ca/pickadate.js/
144
136
  for more information about pickadate.js.
145
137
  test_files: []