rails-multi_block_helpers 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZWY1MzgwODQwOWFmNTRjNzNhOGRiNzM1ZjM3MzJkOTBkZGRhMjliMA==
4
+ OTU1ZTVhOTA4YzQwMjI2OGJjNmVlOWJlYzRlY2I0MWU1ZDA4MTZmZg==
5
5
  data.tar.gz: !binary |-
6
- NjcwMzYxYWEwZDRkNzhlN2QzYTFlNjhjMzdjOTVmMzA1MTFiNTViMg==
6
+ ZGMyNzdjZDg0NmNjMjUyZjcyNjY5NjZkMmEwODdiMWY0MGU4ZTI1MA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- M2VjNDdiNDczMTFjNGZlMTlkZDg1ZGE5NGNiNzYxY2Y4MzEwZTVhOGE1ZTQz
10
- MzE2NjE4ZGU1MDdlYWYwYWQwYzY3M2YzYmEzYTg0MjZhMjZhYjIyY2QxYmFj
11
- YmZhY2I4ZDk0NzcxZDBlOGQ3OGRkMmQzOGRkNDgwYWIzMDZlMTA=
9
+ YWFmNzliOTYwNTdiYmQxYmY0ZmYzYzhjNDA1NzEyNDIyMGRlOGM4MzU4Y2Vk
10
+ OTllMWQwOTk3ZmRlMzU4NDY3ZTljNTAyMzM1ZWRmMjUwYjQ5NjY5ZDlkYmYw
11
+ ZjI1OTk5NDkwZDM3NDFiN2I3OWM4Y2JjOTA1NTUwNDc3YmFlNzE=
12
12
  data.tar.gz: !binary |-
13
- ODQ2ODczNWUxYTA2NjAxM2Q0MTRmM2E3YTE0M2U2MWYwNGRlOTE4ZTliODRm
14
- YTUyNTFiYjgzODg2OTU4OTllOTVhMTA2OWEwZTk4ZGZlMjAxNzdlZmNiMDdh
15
- NTI2ZDZmODkxMTg4ODVjZjUwODQ5YjY0YWE2MGQwZmQ2ODIxNTA=
13
+ Zjk5NzAzZDc5M2U0ZGI4MDcyYmI0NDhjYjEyMjUzOTg3NTc4NDU0ZjkzN2Rm
14
+ NmJiZTg5ZjJjNTkwOTRhNzc5ZTk0ZDlkYzRjOGFiM2I4NDY1NmJhNjAwYWFk
15
+ ZDkyNWY4Y2Y0NmQ3NzJkYzlmMDhmZTM4MGEwMzIwYzk5NDU5MTQ=
@@ -24,7 +24,7 @@ module SwitchBlock
24
24
  end
25
25
 
26
26
  def method_missing(method, *args, &block)
27
- if (method.downcase == @x.to_sym.downcase or method == :always) or (@called == false and method == :else) then
27
+ if (method.to_s.downcase == @x.to_s.downcase or method == :always) or (@called == false and method == :else) then
28
28
  @called = true
29
29
  if args.size > 0 then
30
30
  @ret = args.first.call(*@args)
@@ -1,5 +1,5 @@
1
1
  module Rails
2
2
  module MultiBlockHelpers
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
@@ -1,4 +1,3 @@
1
- puts '-------------------------------------'
2
1
  require 'rails/multi_block_helpers/switch_block'
3
2
  require 'rails/multi_block_helpers/capture_section_helper'
4
3
  require 'rails/multi_block_helpers/railtie' if defined?(Rails)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-multi_block_helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - stevo