rbexy 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: ffe916002997f23b1aab2e81aaf94cf8bab0083d8e47bd72eee204d8058a871f
4
- data.tar.gz: fb54d1d98b6272c716059b4dcde6bafdc02baaf1025e79bdf2590a6ebdef148d
3
+ metadata.gz: 74a5c438dc97044fb901226d33d6354b01f8e9d5cf7cab0665b97cae6cab8c5b
4
+ data.tar.gz: ec1fd65332ff5830128aaf4db980018fd4834906c73032b1d533d29697cf84a2
5
5
  SHA512:
6
- metadata.gz: 0c6590b2796a338efdef40dd2c6fe21b324c8397f8d79e3f4b2535a1d2ae522942b41cecc71d753e98c4df1beb88731c104fd742d1a5adfe903c8b9701a8a031
7
- data.tar.gz: a182b48b4cd539e96d502ea4579bac7c8204bf0e1a840d8b62f931b63ddc682d45afb01d50aa3d6140dfd1d7d9b4f70ca631b48f8861d813a1dd1fd70fd973eb
6
+ metadata.gz: 14f7b82c8322f3bd0720f289cc2bc5b9088b0d16bd81b9fd40414361512ef4aac9a048733f04d14aab7be7c846c94e311b3775c2f05fe5ee4f2511d44b6192eb
7
+ data.tar.gz: f4073f33ad17c9d3959d3cd73138c74c9340a94c430910c41ae980a97bcb422039b29b34c23285d9ff6e70f6980fb34efdddde8dc3a6f8159e96ed86d24b4b28
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rbexy (0.1.2)
4
+ rbexy (0.1.3)
5
5
  actionview (>= 5.0, < 7.0)
6
6
  activesupport (>= 5.0, < 7.0)
7
7
  railties (>= 5.0, < 7.0)
@@ -64,6 +64,14 @@ module Rbexy
64
64
  raise(ContextNotFound, "no parent context `#{name}`")
65
65
  end
66
66
 
67
+ def view_renderer
68
+ view_context.view_renderer
69
+ end
70
+
71
+ def component_name
72
+ self.class.name.underscore
73
+ end
74
+
67
75
  private
68
76
 
69
77
  attr_reader :view_context, :content_block, :old_lookup_context
@@ -88,14 +96,6 @@ module Rbexy
88
96
  LookupContext.new(paths, LookupContext.details_hash(existing_context))
89
97
  end
90
98
 
91
- def view_renderer
92
- view_context.view_renderer
93
- end
94
-
95
- def component_name
96
- self.class.name.underscore
97
- end
98
-
99
99
  def method_missing(meth, *args, &block)
100
100
  if view_context.respond_to?(meth)
101
101
  view_context.send(meth, *args, &block)
@@ -1,3 +1,3 @@
1
1
  module Rbexy
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: rbexy
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
  - Nick Giancola