rails-vue-helpers 0.1.2 → 0.1.3

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: fa73d71ea49e95ed2383f62f2e941a0e64e48c47ede042d44d87f63080cc58fb
4
- data.tar.gz: c01a2aa4072cdc61d372270fb870977876a58e19299acdcff10c09ab3286cabe
3
+ metadata.gz: f9e3a531c2069d4a4dd96fda95ac2c123eea7943a354c3d64ff81ba6f3b44ba1
4
+ data.tar.gz: b353bd1984d80f56c119a16e3af5d7a667ec1c4b93e041a407fc094958930212
5
5
  SHA512:
6
- metadata.gz: 38941568aa32dc383317b39875d4b6f779ca9ca6d6f67384311a1c5bad973ed80a48123b59ac13f2a095977e14ff50f1883246015a3267ff5518843863cb2862
7
- data.tar.gz: c58ebc5d230b8d5786925032462dc35326a0352df82574cdb4dc5fdabf09c018f8159b76f5d598fe9f53e6ed7e2cb0a52a2d97086b97b4c9b4f8e9bfe56b929c
6
+ metadata.gz: 781af8d4d809c3e51bd8171f5eac905cb31bdc677ab81331de24fea6cf3cbede750cd7ba91136c051f06905c31e7c991a1df1e968d7f00aba35a1255697c950a
7
+ data.tar.gz: 8961b99a0fd439a25644a87804e532c1b401ee6b7b75748aae649bdec187a7643f6973456fd4cea431d28cac53a96d31553b4affbc675dd4cc6152f828348045
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rails-vue-helpers (0.1.2)
4
+ rails-vue-helpers (0.1.3)
5
5
  actionview (>= 4.2)
6
6
  railties (>= 4.2)
7
7
 
@@ -1,17 +1,15 @@
1
1
  module RailsVueHelpers
2
2
  module TagHelpers
3
3
  def link_to(name = nil, options = nil, html_options = nil, &block)
4
- options = html_options unless block_given?
5
-
6
- rails_tag_with_vue_data(super, options, :a)
4
+ rails_tag_with_vue_data(super, block_given? ? options : html_options, :a)
7
5
  end
8
6
 
9
7
  def content_tag(name, content_or_options_with_block = nil, options = nil, escape = true, &block)
10
- options = [content_or_options_with_block, options].find do |argument|
8
+ _options = [content_or_options_with_block, options].find do |argument|
11
9
  argument.is_a?(Hash)
12
10
  end
13
11
 
14
- rails_tag_with_vue_data(super, options)
12
+ rails_tag_with_vue_data(super, _options)
15
13
  end
16
14
 
17
15
  def check_box_tag(name, value = '1', checked = false, options = {})
@@ -1,3 +1,3 @@
1
1
  module RailsVueHelpers
2
- VERSION = '0.1.2'
2
+ VERSION = '0.1.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-vue-helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lucas Hourquebie
@@ -64,8 +64,8 @@ licenses:
64
64
  - MIT
65
65
  metadata:
66
66
  allowed_push_host: https://rubygems.org
67
- documentation_uri: https://github.com/unagisoftware/rails-vue-helpers/blob/v0.1.2/README.md
68
- source_code_uri: https://github.com/unagisoftware/rails-vue-helpers/tree/v0.1.2
67
+ documentation_uri: https://github.com/unagisoftware/rails-vue-helpers/blob/v0.1.3/README.md
68
+ source_code_uri: https://github.com/unagisoftware/rails-vue-helpers/tree/v0.1.3
69
69
  post_install_message:
70
70
  rdoc_options: []
71
71
  require_paths: