little_wheels 0.0.9 → 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 +6 -2
  3. metadata +7 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b614b8e7106d505f64416e1c2f7aa4bd203047e605658f458c2d8933373d362d
4
- data.tar.gz: 6f38f4c90c7a6701b51d305f6a22e3a012ed2cb0afbd2ed36492ee625fb37b08
3
+ metadata.gz: d64e859b959c57c90211db20a19fcd3d732eec2e14a643291b473a4b13669eab
4
+ data.tar.gz: 468f81d8dbfb581466d7051b53d79472e6a612e35fc9c2892a51d77806fba875
5
5
  SHA512:
6
- metadata.gz: 1daee0e45c1ef610c024eaa991ef4cf20588e1531968d4a5aef9603caa3a4c21141204d34b9d9d485c43bd1608ac32b05e98018fd9f62653590776ffe979ec63
7
- data.tar.gz: cf1bb5eb617f1514425c04521cca6e0fb84781e151dd7b3005f161803056c068e8d7c00f4347ab1fe285c9ea58343297716389a1c92a5ec179437e9ca1864fbd
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.9"
2
+ VERSION = "0.0.11"
3
3
 
4
4
  def self.renderer
5
5
  ApplicationController
@@ -69,7 +69,7 @@ module LittleWheels
69
69
  end
70
70
 
71
71
  def helpers
72
- LittleWheels.renderer
72
+ LittleWheels.helpers
73
73
  end
74
74
 
75
75
  def default_template_name
@@ -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.9
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gregory Brown
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-12-06 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.
@@ -19,11 +19,11 @@ extra_rdoc_files: []
19
19
  files:
20
20
  - LICENSE
21
21
  - lib/little_wheels.rb
22
- homepage:
22
+ homepage:
23
23
  licenses:
24
24
  - MIT
25
25
  metadata: {}
26
- post_install_message:
26
+ post_install_message:
27
27
  rdoc_options: []
28
28
  require_paths:
29
29
  - lib
@@ -38,8 +38,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
38
38
  - !ruby/object:Gem::Version
39
39
  version: '0'
40
40
  requirements: []
41
- rubygems_version: 3.0.3.1
42
- signing_key:
41
+ rubygems_version: 3.1.2
42
+ signing_key:
43
43
  specification_version: 4
44
44
  summary: Little Wheels!
45
45
  test_files: []