wcc-styles 1.0.2 → 2.0.0

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: 4f6e58cbf0e5cfec9ae779954fb4edfb59f5c974
4
- data.tar.gz: a61f4c0f63fb26c01a1cec0e2323978c94374ed3
3
+ metadata.gz: db0766fdf49730db701af0e4b32d3e24d9e8126c
4
+ data.tar.gz: 365d41ac7b885b0a2ac9e5f26d8a4fa8fb024f26
5
5
  SHA512:
6
- metadata.gz: a8bce2e5d9420c70da6af842b8fe6e4cb5f56846ee3f1d40164f3d4fc84475a6700d24f2c85e70fda54c0ee03e4dcf59d7659f387d9a49a298f56bb40e5a3326
7
- data.tar.gz: 7f0ea61332fb4f288c64f7882608a67813a1090b2f9649c07b50762ae27a5df960dd9ed17cc06f22434efc53ed994bb1ea7d44f22eda38755bb4f1d901834960
6
+ metadata.gz: 49e2a139319556802d808906c78bd8dbc19a89e62b6e0ed00258b69f4acb383b85ad7187bc6159132270acdf230778e08a96de50b01a8c297dd21f9a9a9cbdc5
7
+ data.tar.gz: cc3785c47fc8d1444729cf785a5a5b6b99bccf2b141b214f192623a05d89bfc555a849408538c907dc67e886aa8c187b51bd10e0bcab8f793284e5934a04c260
data/README-GEM.md CHANGED
@@ -15,11 +15,12 @@ gem 'wcc-styles'
15
15
 
16
16
  gem 'sass-rails', '~> 5.0.4'
17
17
  gem 'coffee-rails', '~> 4.1.0'
18
- gem 'compass-rails'
18
+ gem 'compass-rails', '~> 3.0.2'
19
19
  source 'https://rails-assets.org' do
20
20
  gem 'rails-assets-selectize'
21
21
  gem 'rails-assets-dropzone'
22
22
  gem 'rails-assets-moment'
23
+ gem 'rails-assets-moment-timezone'
23
24
  gem 'rails-assets-datetimepicker', '2.4.5'
24
25
  end
25
26
 
@@ -20,7 +20,8 @@ WCC.datetimepicker = (function() {
20
20
  formatDate: DDF,
21
21
  formatTime: DTF,
22
22
  scrollMonth: false,
23
- step: 30
23
+ step: 30,
24
+ timezone: "America/Chicago"
24
25
  };
25
26
 
26
27
  return dtp;
@@ -38,7 +39,7 @@ $(function() {
38
39
  if (!$input.length) return;
39
40
 
40
41
  $item.on('change', function(event) {
41
- var time = moment(this.value, [this.config.format]);
42
+ var time = moment.tz(this.value, this.config.format, this.config.timezone);
42
43
  if (time.isValid()) {
43
44
  $input.val(time.toISOString());
44
45
  } else {
@@ -1,5 +1,5 @@
1
1
  module WCC
2
2
  module Styles
3
- VERSION = "1.0.2"
3
+ VERSION = "2.0.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wcc-styles
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Watermark Community Church
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-31 00:00:00.000000000 Z
11
+ date: 2016-06-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: coffee-rails
@@ -94,6 +94,20 @@ dependencies:
94
94
  - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rails-assets-moment-timezone
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
97
111
  - !ruby/object:Gem::Dependency
98
112
  name: rails-assets-datetimepicker
99
113
  requirement: !ruby/object:Gem::Requirement