kayessess 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,13 +5,6 @@ module Kayessess
5
5
  skip_before_filter :login_required
6
6
  before_filter :parse_styles
7
7
 
8
- # So dirty.
9
- # This little hack allows styleguide examples to use path helpers and other
10
- # fun stuff from the main app.
11
- def method_missing(name, *args)
12
- main_app.send(name, *args)
13
- end
14
-
15
8
  private
16
9
 
17
10
  def parse_styles
@@ -1,8 +1,8 @@
1
1
  module Kayessess
2
- require 'pry'
3
-
4
2
  # Helpers for building styleguides
5
3
  module StyleguideHelper
4
+ include Rails.application.routes.url_helpers
5
+
6
6
  def styleguide_example_for(section, options = {}, &block)
7
7
  html = capture(&block)
8
8
  section_example = Kayessess::SectionExample.new(section, html, options)
@@ -1,4 +1,4 @@
1
1
  module Kayessess
2
2
  PACKAGE = 'kayessess'
3
- VERSION = '0.1.5'
3
+ VERSION = '0.1.6'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kayessess
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -464,7 +464,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
464
464
  version: '0'
465
465
  segments:
466
466
  - 0
467
- hash: -643712928281279971
467
+ hash: 1686595724138592781
468
468
  required_rubygems_version: !ruby/object:Gem::Requirement
469
469
  none: false
470
470
  requirements:
@@ -473,7 +473,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
473
473
  version: '0'
474
474
  segments:
475
475
  - 0
476
- hash: -643712928281279971
476
+ hash: 1686595724138592781
477
477
  requirements: []
478
478
  rubyforge_project:
479
479
  rubygems_version: 1.8.23