polymer-elements-rails 1.0.0.pre.rc.1 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +19 -3
- data/app/assets/components/gold-elements/gold-elements.html +6 -0
- data/app/assets/components/web-animations-js/{COPYING → COPYING.txt} +0 -0
- data/app/assets/components/web-animations-js/web-animations.html +3 -2
- data/lib/polymer-elements-rails/version.rb +1 -1
- metadata +6 -6
- data/app/assets/components/marked/Makefile +0 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 89048f15b9e276c68e337d84445a1650df0785f3
|
4
|
+
data.tar.gz: 35cdca31ac1d91cea13d801269c364d1b9facd88
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 79e6743b7495e3166ffac566a590787814d358823c5b5a49bf9d43dca5143b1cac58231273179911f3ab93736e7da3850ea449ed2c82bf023de486f3d48fc3a4
|
7
|
+
data.tar.gz: 3790eb9f323c129458a98eedaa7f25ffb1602971ee7445e2c475e07db4876623d1e75d5e9c81555fa56144645c0f9f52d044023f005971297d9fd035b4fe5868
|
data/README.md
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
# Polymer::Elements::Rails
|
2
2
|
|
3
|
-
|
3
|
+
Polymer elements are a set of webcomponents [https://elements.polymer-project.org/](https://elements.polymer-project.org/) developed to use them with Polymer.
|
4
4
|
|
5
|
-
|
5
|
+
Polymer-elements-rails gem helps you to bring polymer elements into your Rails project.
|
6
6
|
|
7
7
|
## Installation
|
8
8
|
|
@@ -22,7 +22,23 @@ Or install it yourself as:
|
|
22
22
|
|
23
23
|
## Usage
|
24
24
|
|
25
|
-
|
25
|
+
In order to use Polymer elements you need to have [polymer](https://www.polymer-project.org/1.0/) installed in your project. Use [polymer-rails](https://github.com/alchapone/polymer-rails) gem for adding polymer to your Rails application.
|
26
|
+
|
27
|
+
Add this to your `Gemfile`:
|
28
|
+
|
29
|
+
```
|
30
|
+
gem 'polymer-rails'
|
31
|
+
gem 'polymer-paper-rails'
|
32
|
+
```
|
33
|
+
|
34
|
+
After running bundle install require needed paper elements into your `application.html` manifest file.
|
35
|
+
|
36
|
+
```
|
37
|
+
//= require polymer/polymer
|
38
|
+
//= require paper-button/paper-button
|
39
|
+
```
|
40
|
+
|
41
|
+
Each component should be required only once. Thus if you've already required component that has dependencies, you don't need to explicitly require any of dependencies, otherwise it will raise exception.
|
26
42
|
|
27
43
|
## Development
|
28
44
|
|
@@ -0,0 +1,6 @@
|
|
1
|
+
<link rel="import" href="../gold-cc-cvc-input/gold-cc-cvc-input.html">
|
2
|
+
<link rel="import" href="../gold-cc-expiration-input/gold-cc-expiration-input.html">
|
3
|
+
<link rel="import" href="../gold-cc-input/gold-cc-input.html">
|
4
|
+
<link rel="import" href="../gold-email-input/gold-email-input.html">
|
5
|
+
<link rel="import" href="../gold-phone-input/gold-phone-input.html">
|
6
|
+
<link rel="import" href="../gold-zip-input/gold-zip-input.html">
|
File without changes
|
@@ -15,10 +15,11 @@
|
|
15
15
|
-->
|
16
16
|
|
17
17
|
<!-- WARNING: This file is DEPRECATED, for development purposes use
|
18
|
-
web-animations*.dev.html instead or depend on
|
18
|
+
web-animations*.dev.html instead or depend on
|
19
19
|
web-animations*.min.js in the web-animations-js
|
20
20
|
repository -->
|
21
21
|
|
22
|
+
<!--
|
22
23
|
<script src="src/dev.js"></script>
|
23
24
|
<script src="src/scope.js"></script>
|
24
25
|
<script src="src/deprecation.js"></script>
|
@@ -47,4 +48,4 @@
|
|
47
48
|
<script src="src/animation-constructor.js"></script>
|
48
49
|
<script src="src/effect-callback.js"></script>
|
49
50
|
<script src="src/group-constructors.js"></script>
|
50
|
-
|
51
|
+
-->
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: polymer-elements-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex Chaplinsky
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-08-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: polymer-rails
|
@@ -109,6 +109,7 @@ files:
|
|
109
109
|
- app/assets/components/gold-elements/demo/item-card.html
|
110
110
|
- app/assets/components/gold-elements/demo/simple-form.css
|
111
111
|
- app/assets/components/gold-elements/demo/simple-form.html
|
112
|
+
- app/assets/components/gold-elements/gold-elements.html
|
112
113
|
- app/assets/components/gold-elements/screenshot.png
|
113
114
|
- app/assets/components/gold-email-input/README.md
|
114
115
|
- app/assets/components/gold-email-input/bower.json
|
@@ -453,7 +454,6 @@ files:
|
|
453
454
|
- app/assets/components/marked-element/test/index.html
|
454
455
|
- app/assets/components/marked-element/test/marked-element.html
|
455
456
|
- app/assets/components/marked/LICENSE
|
456
|
-
- app/assets/components/marked/Makefile
|
457
457
|
- app/assets/components/marked/README.md
|
458
458
|
- app/assets/components/marked/bin/marked
|
459
459
|
- app/assets/components/marked/bower.json
|
@@ -1005,7 +1005,7 @@ files:
|
|
1005
1005
|
- app/assets/components/sw-toolbox/package.json
|
1006
1006
|
- app/assets/components/sw-toolbox/sw-toolbox.js
|
1007
1007
|
- app/assets/components/sw-toolbox/sw-toolbox.map.json
|
1008
|
-
- app/assets/components/web-animations-js/COPYING
|
1008
|
+
- app/assets/components/web-animations-js/COPYING.txt
|
1009
1009
|
- app/assets/components/web-animations-js/History.md
|
1010
1010
|
- app/assets/components/web-animations-js/README.md
|
1011
1011
|
- app/assets/components/web-animations-js/bower.json
|
@@ -1051,9 +1051,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
1051
1051
|
version: '0'
|
1052
1052
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
1053
1053
|
requirements:
|
1054
|
-
- - "
|
1054
|
+
- - ">="
|
1055
1055
|
- !ruby/object:Gem::Version
|
1056
|
-
version:
|
1056
|
+
version: '0'
|
1057
1057
|
requirements: []
|
1058
1058
|
rubyforge_project:
|
1059
1059
|
rubygems_version: 2.4.5
|