administrate-field-time 0.0.2 → 0.0.3

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: b444ecd689b39fcb5c3afaf013fc6c232e27bb15
4
- data.tar.gz: 39443912ba2cf2a9740062decfa934cdada56521
3
+ metadata.gz: da7cf30d0a93fd12d018630cdb6020e03ca5fcef
4
+ data.tar.gz: b006930c12b9fb496f1357a69aadd7d0faa3f1e0
5
5
  SHA512:
6
- metadata.gz: 061d081a6a7d7d7f7c8c84ecf51264167a88f404562b1539d14f18c205c243d9a7709a1263eb5cbb223dbf933863f7d6f3229b077acbfc97a0c084fa299cd983
7
- data.tar.gz: 912ef3601b2882cebdb536b251a843068c079a0d24a7e17c487f39c671d6b6f0aea651e51564461bf9023493ce733f1173d7ab559530db1a8e2e3f4d2452f500
6
+ metadata.gz: 5e63ff4771a72eb11126c45514b8fe89371b73f7e5f9240594c66ad2d1e3fdcfd13375f2cbe68697848ffa50fd8717b9887c8edb6091235ef3277d1043d058b7
7
+ data.tar.gz: 5d5d88197ff49e72120b4dfa4694e81675426caca1d2979e11cb0979623c0c394602e63457e0cc0618fa1cdd0f6435b7522c7904b87432a8efbe82fc71de9048
@@ -2,7 +2,7 @@ $:.push File.expand_path('../lib', __FILE__)
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'administrate-field-time'
5
- s.version = '0.0.2'
5
+ s.version = '0.0.3'
6
6
  s.authors = ['Enrique Barragan']
7
7
  s.email = ['enrique@disruptiveangels.com']
8
8
  s.homepage = 'https://github.com/DisruptiveAngels/administrate-field-time'
@@ -1,9 +1,6 @@
1
1
  $(function () {
2
- $(".field-unit--time .datetimepicker").datetimepicker({
2
+ $(".timepicker").datetimepicker({
3
3
  debug: false,
4
4
  format: "HH:mm:ss",
5
5
  });
6
- $(".field-unit--date-time .datetimepicker").datetimepicker({
7
- debug: false,
8
- });
9
6
  });
@@ -18,5 +18,5 @@ By default, the input is a select field for the time attributes.
18
18
  <%= f.label field.attribute %>
19
19
  </div>
20
20
  <div class="field-unit__field">
21
- <%= f.text_field field.attribute, class: "datetimepicker" %>
21
+ <%= f.text_field field.attribute, class: "timepicker" %>
22
22
  </div>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: administrate-field-time
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Enrique Barragan