wcc-styles 3.0.0.beta6 → 4.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: faef8746b2af1990f13893c0f368720efc8042f6
4
- data.tar.gz: dc8520382c1b2e8a96a70738706a6711b55e5776
3
+ metadata.gz: 88413efebc2e3d73eb0cd497a89cb5b62dd38ba0
4
+ data.tar.gz: c17c637ca342aeb8579c8d5b1448233fefd0c5f4
5
5
  SHA512:
6
- metadata.gz: ddac9890878f1e399f3d9edf2240c796954fb73a4a3201e09aaf07c0ca3430efb06377ea730e7b37f3aa095595ee24cea957e36627d8a74eb4cf499671981eb1
7
- data.tar.gz: 30b50181e3faa6f6ef4c367be02b045b9f78a844fa1da33075d2e85ef68032b78c603cc670e7d19aead4af410411834e2f22d27f60946669baab6d8ecb4b4ab1
6
+ metadata.gz: 1b296a4d186ab8acde6b513821987074d2c49a2ee60dee93292c60397f637ba31f15af693aba26882bb8817b143358d5593f3f29762a59b5f833c3d3d82158d1
7
+ data.tar.gz: 8ad20386196ce0fe7c43b5e7f44d1c14a8b5ed82b9f74b1dfc5a79ea6c1c4b3d1a32137c878d9fa70c89ec6d012b890ccdeee7c85cd2e0b4a36193bf96c46f20
data/README-GEM.md CHANGED
@@ -13,8 +13,8 @@ Add these lines to your application's Gemfile:
13
13
  ```ruby
14
14
  gem 'wcc-styles'
15
15
 
16
- gem 'sass-rails', '~> 5.0.4'
17
- gem 'coffee-rails', '~> 4.1.0'
16
+ gem 'sass-rails', '~> 5.0.6'
17
+ gem 'coffee-rails', '~> 4.2.2'
18
18
  gem 'compass-rails', '~> 3.0.2'
19
19
  source 'https://rails-assets.org' do
20
20
  gem 'rails-assets-selectize'
@@ -116,9 +116,8 @@ WCC.Dropzone.prototype.defaultOptions.accept = (file, done) ->
116
116
  error: (response) ->
117
117
  done("Failed to initiate the upload process!")
118
118
 
119
- window.WCC.tessaInit = (sel) ->
120
- sel = sel || 'form:has(.tessa-upload)'
121
- $(sel).each (i, form) ->
119
+ $ ->
120
+ $('form:has(.tessa-upload)').each (i, form) ->
122
121
  $form = $(form)
123
122
  $form.bind 'submit', (event) ->
124
123
  safeToSubmit = true
@@ -129,7 +128,7 @@ window.WCC.tessaInit = (sel) ->
129
128
  if not safeToSubmit and not confirm(WCC.Dropzone.uploadPendingWarning)
130
129
  return false
131
130
 
132
- $('.tessa-upload', sel).each (i, item) ->
131
+ $('.tessa-upload').each (i, item) ->
133
132
  $item = $(item)
134
133
  args =
135
134
  maxFiles: 1
@@ -172,5 +171,3 @@ window.WCC.tessaInit = (sel) ->
172
171
  updateAction(file)
173
172
 
174
173
 
175
- $ ->
176
- window.WCC.tessaInit()
@@ -16,7 +16,7 @@ module WCC
16
16
  end
17
17
 
18
18
  initializer 'wcc.styles.add_locales' do |app|
19
- config.i18n.railties_load_path.concat(Dir[project_path("config/locales/*.yml")])
19
+ config.i18n.load_path.concat(Dir[project_path("config/locales/*.yml")])
20
20
  end
21
21
 
22
22
  private
@@ -1,5 +1,5 @@
1
1
  module WCC
2
2
  module Styles
3
- VERSION = "3.0.0.beta6"
3
+ VERSION = "4.0.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,43 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wcc-styles
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0.beta6
4
+ version: 4.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: 2017-11-20 00:00:00.000000000 Z
11
+ date: 2017-06-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: coffee-rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: 4.2.2
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0'
26
+ version: 4.2.2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: compass-rails
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: 3.0.2
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '0'
40
+ version: 3.0.2
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: font-awesome-rails
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -136,9 +136,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
136
136
  version: '0'
137
137
  required_rubygems_version: !ruby/object:Gem::Requirement
138
138
  requirements:
139
- - - ">"
139
+ - - ">="
140
140
  - !ruby/object:Gem::Version
141
- version: 1.3.1
141
+ version: '0'
142
142
  requirements: []
143
143
  rubyforge_project:
144
144
  rubygems_version: 2.6.11