ransel 0.1.0

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 +7 -0
  2. data/lib/ransel.rb +31 -0
  3. metadata +93 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: e3047e6cb1ea4ed42340636849504ea0b667fa48
4
+ data.tar.gz: 57142cd3b565f9b2c02b19addb57ae36f7d8fa33
5
+ SHA512:
6
+ metadata.gz: ae02bbbb509ef83f4c250f00c29a2dc0e77d522f2687199766b2d4fc7ab1f98e66e3eeb303a9c8b1fb256b03eb119ca8f25d1a44ad44c432811dc41fd295849c
7
+ data.tar.gz: ba93881d4ccfe7ccfbfb309fc2342faeb1ee9250ed10dba28c90faabd34c2517afd1aca31cf89df2589f5349bf7633c9534f69ebbc0abfb845c805534d198e6e
@@ -0,0 +1,31 @@
1
+ require "ransel/version"
2
+ require 'ransel/action_view/helpers'
3
+ require 'ransel/rendered'
4
+ require 'ransel/railtie' if defined?(Rails)
5
+
6
+ module Ransel
7
+
8
+ def self.configuration
9
+ @configuration ||= Configuration.new
10
+ end
11
+
12
+ def self.configure
13
+ yield configuration
14
+ end
15
+
16
+ class Configuration
17
+ attr_accessor :root_url_text
18
+ attr_accessor :separator
19
+ attr_accessor :root_path
20
+ attr_accessor :principal_search
21
+
22
+ def initialize
23
+ @root_url_text = 'init'
24
+ @separator = ' < '
25
+ @root_path = '/'
26
+ @principal_search = 'title_cont'
27
+ end
28
+
29
+ end
30
+
31
+ end
metadata ADDED
@@ -0,0 +1,93 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ransel
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Julio Lucero
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2015-06-29 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.9'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.9'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec-rails
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '2.14'
48
+ - - ">="
49
+ - !ruby/object:Gem::Version
50
+ version: 2.14.1
51
+ type: :development
52
+ prerelease: false
53
+ version_requirements: !ruby/object:Gem::Requirement
54
+ requirements:
55
+ - - "~>"
56
+ - !ruby/object:Gem::Version
57
+ version: '2.14'
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: 2.14.1
61
+ description: Automatic breadcrums for ransack.
62
+ email: poramo@gmail.com
63
+ executables: []
64
+ extensions: []
65
+ extra_rdoc_files: []
66
+ files:
67
+ - lib/ransel.rb
68
+ homepage: http://github.com/julioalucero/ransel
69
+ licenses:
70
+ - MIT
71
+ metadata: {}
72
+ post_install_message:
73
+ rdoc_options: []
74
+ require_paths:
75
+ - lib
76
+ required_ruby_version: !ruby/object:Gem::Requirement
77
+ requirements:
78
+ - - ">="
79
+ - !ruby/object:Gem::Version
80
+ version: '0'
81
+ required_rubygems_version: !ruby/object:Gem::Requirement
82
+ requirements:
83
+ - - ">="
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
86
+ requirements: []
87
+ rubyforge_project:
88
+ rubygems_version: 2.4.6
89
+ signing_key:
90
+ specification_version: 4
91
+ summary: Automatic breadcrums for ransack.
92
+ test_files: []
93
+ has_rdoc: