material-components-web 2.0.0 → 2.0.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
  SHA256:
3
- metadata.gz: fd7b735ede4c8f71401b13bd28e3351954507ab01eb540f696c4a8b8861d1ecb
4
- data.tar.gz: 4dcb97a32910262f8bdb3dd85c1b19229a53b2ac5896f52df355ca2a6b9af62c
3
+ metadata.gz: 436215f748505d3edee33b56d9a306ba2cd95d411cf71b046a82887a26d28e98
4
+ data.tar.gz: 06b697d68a186b4ce2508012a17c2e7ffcef1b84cbc91e55bb579efd50bf1bf3
5
5
  SHA512:
6
- metadata.gz: 001c44f9b76924d7f26aa26e93c8e66b21c5ead5d1d0b73f1940ce49e86d60c3bba3af51ee0c831e570a3dcc341225d9e2c35f5d47e0816535d201e91a54dc1b
7
- data.tar.gz: 485ee2e4616c246cbce65344a488f3408cb6cb78b0646f4e45ead172776e618c8b1c58609fb0372a57deaad781cf4b7f6a34c7d6cd31e3b830f17489f10a5f27
6
+ metadata.gz: 13c70a627d0a2a8886cc0e61394c33257ceef16ebeb78adddcaea9fc9264104fbc2a9dc5798a73f289094e523273bc8dd6da3a325ed9e38ca40e07ab1c99df62
7
+ data.tar.gz: ed1bff6e3216bc1f419dbe2235b0ccc70c6aea88c0989691dc3fe3d2187e89f62f68bfd4c5444f999d80b061943226bcffe11a78d20ae0c37af6e3188c53f717
data/CHANGELOG.md CHANGED
@@ -4,7 +4,12 @@
4
4
 
5
5
  * nothing yet
6
6
 
7
- ### 1.0.1 - 2018/01/10
7
+ ### 2.0.1 - 2018/01/12
8
+
9
+ * bugfixes
10
+ * move Mozaic configuration into railtie
11
+
12
+ ### 2.0.0 - 2018/01/10
8
13
 
9
14
  * features
10
15
  * use Mozaic to define and use components
@@ -3,7 +3,6 @@ require 'material_components_web/version'
3
3
  module MaterialComponentsWeb
4
4
 
5
5
  require 'material_components_web/engine'
6
-
7
- require 'material_components_web/components'
6
+ require 'material_components_web/railtie'
8
7
 
9
8
  end
@@ -0,0 +1,15 @@
1
+ require 'rails/railtie'
2
+
3
+ module MaterialComponentsWeb
4
+ class Railtie < Rails::Railtie
5
+
6
+ initializer 'material-components-web.mozaic' do
7
+ Mozaic.configure do |config|
8
+ config.define_component 'mdc-checkbox', class_name: false, label: false, checked: false, disabled: false
9
+ config.define_component 'mdc-form-field'
10
+ config.define_component 'mdc-radio', class_name: false, label: false, checked: false, disabled: false
11
+ end
12
+ end
13
+
14
+ end
15
+ end
@@ -1,5 +1,5 @@
1
1
  module MaterialComponentsWeb
2
2
 
3
- VERSION = '2.0.0'
3
+ VERSION = '2.0.1'
4
4
 
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: material-components-web
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonas Hübotter
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-10 00:00:00.000000000 Z
11
+ date: 2018-01-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -80,8 +80,8 @@ files:
80
80
  - app/views/mozaic/_mdc-form-field.html.erb
81
81
  - app/views/mozaic/_mdc-radio.html.erb
82
82
  - lib/material-components-web.rb
83
- - lib/material_components_web/components.rb
84
83
  - lib/material_components_web/engine.rb
84
+ - lib/material_components_web/railtie.rb
85
85
  - lib/material_components_web/version.rb
86
86
  - vendor/assets/javascripts/material-components-web.js
87
87
  - vendor/assets/javascripts/material-components-web.min.js
@@ -1,11 +0,0 @@
1
- require 'mozaic'
2
-
3
- module MaterialComponentsWeb
4
-
5
- Mozaic.configure do |config|
6
- config.define_component 'mdc-checkbox', class_name: false, label: false, checked: false, disabled: false
7
- config.define_component 'mdc-form-field'
8
- config.define_component 'mdc-radio', class_name: false, label: false, checked: false, disabled: false
9
- end
10
-
11
- end