rails-vue-helpers 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +70 -0
- data/README.md +5 -5
- data/lib/rails-vue-helpers/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7a24ffe13257c6f549cedb054a32ec13feed0fdd8148fa6d10a05d2bec1cd081
|
4
|
+
data.tar.gz: 47b8962e20a1080a6a3d1e5b557b5aaebc8f353959fba74af3c1baaa991adda4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 59687e4e9db6aa5c85847de9f075ab88d556745d457e165db823c9477d20e1dcdbe158453623a0ef695abbb14f788beda9a181faea3e6dea104d7d23185a7c53
|
7
|
+
data.tar.gz: 4321a0426d7fe294fc81d09b7815f5aafc761ecff82d06c8eb357dcdc18252d56088d6bc2bffbd56ddac005e2fbaf2c351c06cf1a836064b5753da90f66ce26d
|
data/Gemfile.lock
ADDED
@@ -0,0 +1,70 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
rails-vue-helpers (0.1.1)
|
5
|
+
actionview (>= 4.2)
|
6
|
+
railties (>= 4.2)
|
7
|
+
|
8
|
+
GEM
|
9
|
+
remote: https://rubygems.org/
|
10
|
+
specs:
|
11
|
+
actionpack (5.2.4.2)
|
12
|
+
actionview (= 5.2.4.2)
|
13
|
+
activesupport (= 5.2.4.2)
|
14
|
+
rack (~> 2.0, >= 2.0.8)
|
15
|
+
rack-test (>= 0.6.3)
|
16
|
+
rails-dom-testing (~> 2.0)
|
17
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
18
|
+
actionview (5.2.4.2)
|
19
|
+
activesupport (= 5.2.4.2)
|
20
|
+
builder (~> 3.1)
|
21
|
+
erubi (~> 1.4)
|
22
|
+
rails-dom-testing (~> 2.0)
|
23
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
24
|
+
activesupport (5.2.4.2)
|
25
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
26
|
+
i18n (>= 0.7, < 2)
|
27
|
+
minitest (~> 5.1)
|
28
|
+
tzinfo (~> 1.1)
|
29
|
+
builder (3.2.4)
|
30
|
+
concurrent-ruby (1.1.6)
|
31
|
+
crass (1.0.6)
|
32
|
+
erubi (1.9.0)
|
33
|
+
i18n (1.8.2)
|
34
|
+
concurrent-ruby (~> 1.0)
|
35
|
+
loofah (2.5.0)
|
36
|
+
crass (~> 1.0.2)
|
37
|
+
nokogiri (>= 1.5.9)
|
38
|
+
method_source (1.0.0)
|
39
|
+
mini_portile2 (2.4.0)
|
40
|
+
minitest (5.14.0)
|
41
|
+
nokogiri (1.10.9)
|
42
|
+
mini_portile2 (~> 2.4.0)
|
43
|
+
rack (2.2.2)
|
44
|
+
rack-test (1.1.0)
|
45
|
+
rack (>= 1.0, < 3)
|
46
|
+
rails-dom-testing (2.0.3)
|
47
|
+
activesupport (>= 4.2.0)
|
48
|
+
nokogiri (>= 1.6)
|
49
|
+
rails-html-sanitizer (1.3.0)
|
50
|
+
loofah (~> 2.3)
|
51
|
+
railties (5.2.4.2)
|
52
|
+
actionpack (= 5.2.4.2)
|
53
|
+
activesupport (= 5.2.4.2)
|
54
|
+
method_source
|
55
|
+
rake (>= 0.8.7)
|
56
|
+
thor (>= 0.19.0, < 2.0)
|
57
|
+
rake (13.0.1)
|
58
|
+
thor (1.0.1)
|
59
|
+
thread_safe (0.3.6)
|
60
|
+
tzinfo (1.2.7)
|
61
|
+
thread_safe (~> 0.1)
|
62
|
+
|
63
|
+
PLATFORMS
|
64
|
+
ruby
|
65
|
+
|
66
|
+
DEPENDENCIES
|
67
|
+
rails-vue-helpers!
|
68
|
+
|
69
|
+
BUNDLED WITH
|
70
|
+
2.1.4
|
data/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
**VueHelpers** is a small gem developed by [Unagi](https://unagi.com.ar/) for Ruby on Rails applications. It has built-in helpers with [Vue.js](https://vuejs.org/) compatibility in order to use some of the most common Rails helpers with Vue.js directives.
|
4
4
|
|
5
|
-
The gem
|
5
|
+
The gem extends the implementation of Rails' `link_to`, `content_tag` and `check_box_tag` in order to support Vue.js directives.
|
6
6
|
|
7
7
|
## Installation
|
8
8
|
|
@@ -22,11 +22,11 @@ Or install it yourself as:
|
|
22
22
|
|
23
23
|
## Usage
|
24
24
|
|
25
|
-
This gem extends some of the most commons Rails helpers, so the original helpers can be used in the same
|
25
|
+
This gem extends some of the most commons Rails helpers, so the original helpers can be used in the same way as before without any modification.
|
26
26
|
|
27
|
-
However, if you'd like to add some Vue directives, you should
|
27
|
+
However, if you'd like to add some Vue directives, you should consider this gem syntax. The following options apply for all the helpers the gem provides, which at the present time are: `link_to`, `content_tag` and `check_box_tag`.
|
28
28
|
|
29
|
-
All the options are received as values of the `vue` key. This key is another option as `class` or `id`, which are officially supported by Rails helpers. So, a full example could be the next one:
|
29
|
+
All the options are received as values of the `vue` key. This key is another option such as `class` or `id`, which are officially supported by Rails helpers. So, a full example could be the next one:
|
30
30
|
|
31
31
|
```ruby
|
32
32
|
<%= link_to users_path,
|
@@ -120,7 +120,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
120
120
|
|
121
121
|
## Contributing
|
122
122
|
|
123
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
123
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/unagisoftware/rails-vue-helpers.
|
124
124
|
|
125
125
|
## License
|
126
126
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails-vue-helpers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lucas Hourquebie
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-05-
|
11
|
+
date: 2020-05-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionview
|
@@ -48,6 +48,7 @@ files:
|
|
48
48
|
- ".gitignore"
|
49
49
|
- ".travis.yml"
|
50
50
|
- Gemfile
|
51
|
+
- Gemfile.lock
|
51
52
|
- LICENSE.txt
|
52
53
|
- README.md
|
53
54
|
- Rakefile
|