little_wheels 0.0.10 → 0.0.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/little_wheels.rb +5 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d65709ab37a9df57e698017f8afb46b71f620608f71789f2c6b21b5782e295d6
4
- data.tar.gz: 1813fdfcdab2a687fedf25d5193a5e1a19b30852ac4fe26eecc612818b40ecf2
3
+ metadata.gz: d64e859b959c57c90211db20a19fcd3d732eec2e14a643291b473a4b13669eab
4
+ data.tar.gz: 468f81d8dbfb581466d7051b53d79472e6a612e35fc9c2892a51d77806fba875
5
5
  SHA512:
6
- metadata.gz: 1cb35a8297a0a648472e48bafcb48227beada231cc7c4d77c033e03b0813dc1658941c1a0889565a60c520f1143dd968267c76bbf494f2773eff1fc2ef63226c
7
- data.tar.gz: 3b7f119a27c16fcbb14d6f00d57080f9a5b658764c2279b03f00016f3d77f84c8e5104fb87c9a193373986545dcd64408f74bb94cb977296f57b0d3f29315d70
6
+ metadata.gz: ad60aae11e01a7796571aee041d3abdd7f3703bc04e3479f35750ebbe8211faa884bc8cab232b6417cda4edc36c721e0d69b9a989f48282e7687c65fc3d42a76
7
+ data.tar.gz: 46579a1c9bdda7e83606e11c9805d0c77a313a8f71194d08efa1b76cf12eaacbe84b00ef3aa9dc8410939a2710c251f0ec04e514cb2f1438b75dd0f26698d695
data/lib/little_wheels.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module LittleWheels
2
- VERSION = "0.0.10"
2
+ VERSION = "0.0.11"
3
3
 
4
4
  def self.renderer
5
5
  ApplicationController
@@ -79,5 +79,9 @@ module LittleWheels
79
79
  def capture(&block)
80
80
  block.call.to_s.html_safe
81
81
  end
82
+
83
+ def render_in(context)
84
+ context.render(:inline => to_s)
85
+ end
82
86
  end
83
87
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: little_wheels
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gregory Brown
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-12-12 00:00:00.000000000 Z
11
+ date: 2024-12-13 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Potential future implementation of the smallest Rails component library
14
14
  that can possibly work.