slim_breadcrumb 0.0.1
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.
- data/.gitignore +17 -0
- data/.rspec +1 -0
- data/.sass-cache/dee5c1696b53a5db8342d6b3792b979412cf849f/breadcrumb.css.sassc +0 -0
- data/.sass-cache/dee5c1696b53a5db8342d6b3792b979412cf849f/modifications.css.sassc +0 -0
- data/.sass-cache/dee5c1696b53a5db8342d6b3792b979412cf849f/root.css.sassc +0 -0
- data/.travis.yml +8 -0
- data/Gemfile +33 -0
- data/Guardfile +19 -0
- data/LICENSE +22 -0
- data/README.md +73 -0
- data/Rakefile +2 -0
- data/lib/assets/images/slim_breadcrumb/breadcrumb-sep.png +0 -0
- data/lib/assets/javascripts/slim_breadcrumb.js.coffee +59 -0
- data/lib/slim_breadcrumb/engine.rb +7 -0
- data/lib/slim_breadcrumb/version.rb +3 -0
- data/lib/slim_breadcrumb.rb +6 -0
- data/slim_breadcrumb.gemspec +37 -0
- data/spec/integration/slim_breadcrumb_spec.rb +51 -0
- data/spec/spec_helper.rb +24 -0
- data/test_app/.gitignore +15 -0
- data/test_app/Gemfile +52 -0
- data/test_app/README.md +73 -0
- data/test_app/Rakefile +7 -0
- data/test_app/app/assets/images/rails.png +0 -0
- data/test_app/app/assets/images/screenshot.png +0 -0
- data/test_app/app/assets/javascripts/activate_best_in_place.js +4 -0
- data/test_app/app/assets/javascripts/application.js +17 -0
- data/test_app/app/assets/stylesheets/application.css +13 -0
- data/test_app/app/assets/stylesheets/breadcrumb.css.sass +27 -0
- data/test_app/app/assets/stylesheets/modifications.css.sass +9 -0
- data/test_app/app/assets/stylesheets/nifty.css +79 -0
- data/test_app/app/assets/stylesheets/root.css.sass +3 -0
- data/test_app/app/controllers/application_controller.rb +3 -0
- data/test_app/app/controllers/root_controller.rb +4 -0
- data/test_app/app/helpers/application_helper.rb +2 -0
- data/test_app/app/helpers/error_messages_helper.rb +23 -0
- data/test_app/app/helpers/layout_helper.rb +22 -0
- data/test_app/app/mailers/.gitkeep +0 -0
- data/test_app/app/models/.gitkeep +0 -0
- data/test_app/app/views/layouts/application.html.erb +19 -0
- data/test_app/app/views/root/index.html.erb +60 -0
- data/test_app/config/application.rb +59 -0
- data/test_app/config/boot.rb +6 -0
- data/test_app/config/database.yml +25 -0
- data/test_app/config/environment.rb +5 -0
- data/test_app/config/environments/development.rb +37 -0
- data/test_app/config/environments/production.rb +67 -0
- data/test_app/config/environments/test.rb +37 -0
- data/test_app/config/initializers/backtrace_silencers.rb +7 -0
- data/test_app/config/initializers/inflections.rb +15 -0
- data/test_app/config/initializers/mime_types.rb +5 -0
- data/test_app/config/initializers/secret_token.rb +7 -0
- data/test_app/config/initializers/session_store.rb +8 -0
- data/test_app/config/initializers/wrap_parameters.rb +14 -0
- data/test_app/config/locales/en.yml +5 -0
- data/test_app/config/routes.rb +63 -0
- data/test_app/config.ru +4 -0
- data/test_app/db/schema.rb +24 -0
- data/test_app/db/seeds.rb +7 -0
- data/test_app/lib/assets/.gitkeep +0 -0
- data/test_app/lib/tasks/.gitkeep +0 -0
- data/test_app/public/404.html +26 -0
- data/test_app/public/422.html +26 -0
- data/test_app/public/500.html +25 -0
- data/test_app/public/favicon.ico +0 -0
- data/test_app/public/robots.txt +5 -0
- data/test_app/public/stylesheets/application.css +75 -0
- data/test_app/script/rails +6 -0
- data/test_app/test/fixtures/users.yml +9 -0
- data/test_app/test/functional/users_controller_test.rb +54 -0
- data/test_app/test/unit/user_test.rb +7 -0
- data/test_app/vendor/assets/javascripts/.gitkeep +0 -0
- data/test_app/vendor/assets/stylesheets/.gitkeep +0 -0
- data/test_app/vendor/plugins/.gitkeep +0 -0
- metadata +347 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# encoding: UTF-8
|
|
2
|
+
# This file is auto-generated from the current state of the database. Instead
|
|
3
|
+
# of editing this file, please use the migrations feature of Active Record to
|
|
4
|
+
# incrementally modify your database, and then regenerate this schema definition.
|
|
5
|
+
#
|
|
6
|
+
# Note that this schema.rb definition is the authoritative source for your
|
|
7
|
+
# database schema. If you need to create the application database on another
|
|
8
|
+
# system, you should be using db:schema:load, not running all the migrations
|
|
9
|
+
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
|
10
|
+
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
|
11
|
+
#
|
|
12
|
+
# It's strongly recommended to check this file into your version control system.
|
|
13
|
+
|
|
14
|
+
ActiveRecord::Schema.define(:version => 20120607231941) do
|
|
15
|
+
|
|
16
|
+
create_table "users", :force => true do |t|
|
|
17
|
+
t.string "first_name"
|
|
18
|
+
t.string "last_name"
|
|
19
|
+
t.date "date_of_birth"
|
|
20
|
+
t.datetime "created_at", :null => false
|
|
21
|
+
t.datetime "updated_at", :null => false
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
end
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# This file should contain all the record creation needed to seed the database with its default values.
|
|
2
|
+
# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
|
|
3
|
+
#
|
|
4
|
+
# Examples:
|
|
5
|
+
#
|
|
6
|
+
# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
|
|
7
|
+
# Mayor.create(name: 'Emanuel', city: cities.first)
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<title>The page you were looking for doesn't exist (404)</title>
|
|
5
|
+
<style type="text/css">
|
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
|
7
|
+
div.dialog {
|
|
8
|
+
width: 25em;
|
|
9
|
+
padding: 0 4em;
|
|
10
|
+
margin: 4em auto 0 auto;
|
|
11
|
+
border: 1px solid #ccc;
|
|
12
|
+
border-right-color: #999;
|
|
13
|
+
border-bottom-color: #999;
|
|
14
|
+
}
|
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
|
16
|
+
</style>
|
|
17
|
+
</head>
|
|
18
|
+
|
|
19
|
+
<body>
|
|
20
|
+
<!-- This file lives in public/404.html -->
|
|
21
|
+
<div class="dialog">
|
|
22
|
+
<h1>The page you were looking for doesn't exist.</h1>
|
|
23
|
+
<p>You may have mistyped the address or the page may have moved.</p>
|
|
24
|
+
</div>
|
|
25
|
+
</body>
|
|
26
|
+
</html>
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<title>The change you wanted was rejected (422)</title>
|
|
5
|
+
<style type="text/css">
|
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
|
7
|
+
div.dialog {
|
|
8
|
+
width: 25em;
|
|
9
|
+
padding: 0 4em;
|
|
10
|
+
margin: 4em auto 0 auto;
|
|
11
|
+
border: 1px solid #ccc;
|
|
12
|
+
border-right-color: #999;
|
|
13
|
+
border-bottom-color: #999;
|
|
14
|
+
}
|
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
|
16
|
+
</style>
|
|
17
|
+
</head>
|
|
18
|
+
|
|
19
|
+
<body>
|
|
20
|
+
<!-- This file lives in public/422.html -->
|
|
21
|
+
<div class="dialog">
|
|
22
|
+
<h1>The change you wanted was rejected.</h1>
|
|
23
|
+
<p>Maybe you tried to change something you didn't have access to.</p>
|
|
24
|
+
</div>
|
|
25
|
+
</body>
|
|
26
|
+
</html>
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<title>We're sorry, but something went wrong (500)</title>
|
|
5
|
+
<style type="text/css">
|
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
|
7
|
+
div.dialog {
|
|
8
|
+
width: 25em;
|
|
9
|
+
padding: 0 4em;
|
|
10
|
+
margin: 4em auto 0 auto;
|
|
11
|
+
border: 1px solid #ccc;
|
|
12
|
+
border-right-color: #999;
|
|
13
|
+
border-bottom-color: #999;
|
|
14
|
+
}
|
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
|
16
|
+
</style>
|
|
17
|
+
</head>
|
|
18
|
+
|
|
19
|
+
<body>
|
|
20
|
+
<!-- This file lives in public/500.html -->
|
|
21
|
+
<div class="dialog">
|
|
22
|
+
<h1>We're sorry, but something went wrong.</h1>
|
|
23
|
+
</div>
|
|
24
|
+
</body>
|
|
25
|
+
</html>
|
|
File without changes
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
body {
|
|
2
|
+
background-color: #4B7399;
|
|
3
|
+
font-family: Verdana, Helvetica, Arial;
|
|
4
|
+
font-size: 14px;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
a img {
|
|
8
|
+
border: none;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
a {
|
|
12
|
+
color: #0000FF;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.clear {
|
|
16
|
+
clear: both;
|
|
17
|
+
height: 0;
|
|
18
|
+
overflow: hidden;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
#container {
|
|
22
|
+
width: 75%;
|
|
23
|
+
margin: 0 auto;
|
|
24
|
+
background-color: #FFF;
|
|
25
|
+
padding: 20px 40px;
|
|
26
|
+
border: solid 1px black;
|
|
27
|
+
margin-top: 20px;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
#flash_notice, #flash_error, #flash_alert {
|
|
31
|
+
padding: 5px 8px;
|
|
32
|
+
margin: 10px 0;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
#flash_notice {
|
|
36
|
+
background-color: #CFC;
|
|
37
|
+
border: solid 1px #6C6;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
#flash_error, #flash_alert {
|
|
41
|
+
background-color: #FCC;
|
|
42
|
+
border: solid 1px #C66;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.fieldWithErrors {
|
|
46
|
+
display: inline;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.error_messages {
|
|
50
|
+
width: 400px;
|
|
51
|
+
border: 2px solid #CF0000;
|
|
52
|
+
padding: 0px;
|
|
53
|
+
padding-bottom: 12px;
|
|
54
|
+
margin-bottom: 20px;
|
|
55
|
+
background-color: #f0f0f0;
|
|
56
|
+
font-size: 12px;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.error_messages h2 {
|
|
60
|
+
text-align: left;
|
|
61
|
+
font-weight: bold;
|
|
62
|
+
padding: 5px 10px;
|
|
63
|
+
font-size: 12px;
|
|
64
|
+
margin: 0;
|
|
65
|
+
background-color: #c00;
|
|
66
|
+
color: #fff;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.error_messages p {
|
|
70
|
+
margin: 8px 10px;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.error_messages ul {
|
|
74
|
+
margin: 0;
|
|
75
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
|
|
3
|
+
|
|
4
|
+
APP_PATH = File.expand_path('../../config/application', __FILE__)
|
|
5
|
+
require File.expand_path('../../config/boot', __FILE__)
|
|
6
|
+
require 'rails/commands'
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
require 'test_helper'
|
|
2
|
+
|
|
3
|
+
class UsersControllerTest < ActionController::TestCase
|
|
4
|
+
def test_index
|
|
5
|
+
get :index
|
|
6
|
+
assert_template 'index'
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
def test_show
|
|
10
|
+
get :show, :id => User.first
|
|
11
|
+
assert_template 'show'
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
def test_new
|
|
15
|
+
get :new
|
|
16
|
+
assert_template 'new'
|
|
17
|
+
end
|
|
18
|
+
|
|
19
|
+
def test_create_invalid
|
|
20
|
+
User.any_instance.stubs(:valid?).returns(false)
|
|
21
|
+
post :create
|
|
22
|
+
assert_template 'new'
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
def test_create_valid
|
|
26
|
+
User.any_instance.stubs(:valid?).returns(true)
|
|
27
|
+
post :create
|
|
28
|
+
assert_redirected_to user_url(assigns(:user))
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
def test_edit
|
|
32
|
+
get :edit, :id => User.first
|
|
33
|
+
assert_template 'edit'
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
def test_update_invalid
|
|
37
|
+
User.any_instance.stubs(:valid?).returns(false)
|
|
38
|
+
put :update, :id => User.first
|
|
39
|
+
assert_template 'edit'
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
def test_update_valid
|
|
43
|
+
User.any_instance.stubs(:valid?).returns(true)
|
|
44
|
+
put :update, :id => User.first
|
|
45
|
+
assert_redirected_to user_url(assigns(:user))
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
def test_destroy
|
|
49
|
+
user = User.first
|
|
50
|
+
delete :destroy, :id => user
|
|
51
|
+
assert_redirected_to users_url
|
|
52
|
+
assert !User.exists?(user.id)
|
|
53
|
+
end
|
|
54
|
+
end
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
metadata
ADDED
|
@@ -0,0 +1,347 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: slim_breadcrumb
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.0.1
|
|
5
|
+
prerelease:
|
|
6
|
+
platform: ruby
|
|
7
|
+
authors:
|
|
8
|
+
- Sebastian Fiedlschuster
|
|
9
|
+
autorequire:
|
|
10
|
+
bindir: bin
|
|
11
|
+
cert_chain: []
|
|
12
|
+
date: 2012-06-11 00:00:00.000000000 Z
|
|
13
|
+
dependencies:
|
|
14
|
+
- !ruby/object:Gem::Dependency
|
|
15
|
+
name: rails
|
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
|
17
|
+
none: false
|
|
18
|
+
requirements:
|
|
19
|
+
- - ! '>='
|
|
20
|
+
- !ruby/object:Gem::Version
|
|
21
|
+
version: '3.2'
|
|
22
|
+
type: :runtime
|
|
23
|
+
prerelease: false
|
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
25
|
+
none: false
|
|
26
|
+
requirements:
|
|
27
|
+
- - ! '>='
|
|
28
|
+
- !ruby/object:Gem::Version
|
|
29
|
+
version: '3.2'
|
|
30
|
+
- !ruby/object:Gem::Dependency
|
|
31
|
+
name: jquery-rails
|
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
|
33
|
+
none: false
|
|
34
|
+
requirements:
|
|
35
|
+
- - ! '>='
|
|
36
|
+
- !ruby/object:Gem::Version
|
|
37
|
+
version: '0'
|
|
38
|
+
type: :runtime
|
|
39
|
+
prerelease: false
|
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
41
|
+
none: false
|
|
42
|
+
requirements:
|
|
43
|
+
- - ! '>='
|
|
44
|
+
- !ruby/object:Gem::Version
|
|
45
|
+
version: '0'
|
|
46
|
+
- !ruby/object:Gem::Dependency
|
|
47
|
+
name: sass-rails
|
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
|
49
|
+
none: false
|
|
50
|
+
requirements:
|
|
51
|
+
- - ! '>='
|
|
52
|
+
- !ruby/object:Gem::Version
|
|
53
|
+
version: '0'
|
|
54
|
+
type: :runtime
|
|
55
|
+
prerelease: false
|
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
57
|
+
none: false
|
|
58
|
+
requirements:
|
|
59
|
+
- - ! '>='
|
|
60
|
+
- !ruby/object:Gem::Version
|
|
61
|
+
version: '0'
|
|
62
|
+
- !ruby/object:Gem::Dependency
|
|
63
|
+
name: coffee-rails
|
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
|
65
|
+
none: false
|
|
66
|
+
requirements:
|
|
67
|
+
- - ! '>='
|
|
68
|
+
- !ruby/object:Gem::Version
|
|
69
|
+
version: '0'
|
|
70
|
+
type: :runtime
|
|
71
|
+
prerelease: false
|
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
73
|
+
none: false
|
|
74
|
+
requirements:
|
|
75
|
+
- - ! '>='
|
|
76
|
+
- !ruby/object:Gem::Version
|
|
77
|
+
version: '0'
|
|
78
|
+
- !ruby/object:Gem::Dependency
|
|
79
|
+
name: rake
|
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
|
81
|
+
none: false
|
|
82
|
+
requirements:
|
|
83
|
+
- - ! '>='
|
|
84
|
+
- !ruby/object:Gem::Version
|
|
85
|
+
version: '0'
|
|
86
|
+
type: :development
|
|
87
|
+
prerelease: false
|
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
89
|
+
none: false
|
|
90
|
+
requirements:
|
|
91
|
+
- - ! '>='
|
|
92
|
+
- !ruby/object:Gem::Version
|
|
93
|
+
version: '0'
|
|
94
|
+
- !ruby/object:Gem::Dependency
|
|
95
|
+
name: bundler
|
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
|
97
|
+
none: false
|
|
98
|
+
requirements:
|
|
99
|
+
- - ! '>='
|
|
100
|
+
- !ruby/object:Gem::Version
|
|
101
|
+
version: '0'
|
|
102
|
+
type: :development
|
|
103
|
+
prerelease: false
|
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
105
|
+
none: false
|
|
106
|
+
requirements:
|
|
107
|
+
- - ! '>='
|
|
108
|
+
- !ruby/object:Gem::Version
|
|
109
|
+
version: '0'
|
|
110
|
+
- !ruby/object:Gem::Dependency
|
|
111
|
+
name: rspec-rails
|
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
|
113
|
+
none: false
|
|
114
|
+
requirements:
|
|
115
|
+
- - ! '>='
|
|
116
|
+
- !ruby/object:Gem::Version
|
|
117
|
+
version: 2.8.0
|
|
118
|
+
type: :development
|
|
119
|
+
prerelease: false
|
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
121
|
+
none: false
|
|
122
|
+
requirements:
|
|
123
|
+
- - ! '>='
|
|
124
|
+
- !ruby/object:Gem::Version
|
|
125
|
+
version: 2.8.0
|
|
126
|
+
- !ruby/object:Gem::Dependency
|
|
127
|
+
name: guard
|
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
|
129
|
+
none: false
|
|
130
|
+
requirements:
|
|
131
|
+
- - '='
|
|
132
|
+
- !ruby/object:Gem::Version
|
|
133
|
+
version: 1.0.1
|
|
134
|
+
type: :development
|
|
135
|
+
prerelease: false
|
|
136
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
137
|
+
none: false
|
|
138
|
+
requirements:
|
|
139
|
+
- - '='
|
|
140
|
+
- !ruby/object:Gem::Version
|
|
141
|
+
version: 1.0.1
|
|
142
|
+
- !ruby/object:Gem::Dependency
|
|
143
|
+
name: nokogiri
|
|
144
|
+
requirement: !ruby/object:Gem::Requirement
|
|
145
|
+
none: false
|
|
146
|
+
requirements:
|
|
147
|
+
- - ! '>='
|
|
148
|
+
- !ruby/object:Gem::Version
|
|
149
|
+
version: 1.5.0
|
|
150
|
+
type: :development
|
|
151
|
+
prerelease: false
|
|
152
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
153
|
+
none: false
|
|
154
|
+
requirements:
|
|
155
|
+
- - ! '>='
|
|
156
|
+
- !ruby/object:Gem::Version
|
|
157
|
+
version: 1.5.0
|
|
158
|
+
- !ruby/object:Gem::Dependency
|
|
159
|
+
name: capybara
|
|
160
|
+
requirement: !ruby/object:Gem::Requirement
|
|
161
|
+
none: false
|
|
162
|
+
requirements:
|
|
163
|
+
- - ! '>='
|
|
164
|
+
- !ruby/object:Gem::Version
|
|
165
|
+
version: '0'
|
|
166
|
+
type: :development
|
|
167
|
+
prerelease: false
|
|
168
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
169
|
+
none: false
|
|
170
|
+
requirements:
|
|
171
|
+
- - ! '>='
|
|
172
|
+
- !ruby/object:Gem::Version
|
|
173
|
+
version: '0'
|
|
174
|
+
- !ruby/object:Gem::Dependency
|
|
175
|
+
name: rspec-rails
|
|
176
|
+
requirement: !ruby/object:Gem::Requirement
|
|
177
|
+
none: false
|
|
178
|
+
requirements:
|
|
179
|
+
- - '='
|
|
180
|
+
- !ruby/object:Gem::Version
|
|
181
|
+
version: 2.10.0
|
|
182
|
+
type: :development
|
|
183
|
+
prerelease: false
|
|
184
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
185
|
+
none: false
|
|
186
|
+
requirements:
|
|
187
|
+
- - '='
|
|
188
|
+
- !ruby/object:Gem::Version
|
|
189
|
+
version: 2.10.0
|
|
190
|
+
- !ruby/object:Gem::Dependency
|
|
191
|
+
name: guard-rspec
|
|
192
|
+
requirement: !ruby/object:Gem::Requirement
|
|
193
|
+
none: false
|
|
194
|
+
requirements:
|
|
195
|
+
- - '='
|
|
196
|
+
- !ruby/object:Gem::Version
|
|
197
|
+
version: 0.5.5
|
|
198
|
+
type: :development
|
|
199
|
+
prerelease: false
|
|
200
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
201
|
+
none: false
|
|
202
|
+
requirements:
|
|
203
|
+
- - '='
|
|
204
|
+
- !ruby/object:Gem::Version
|
|
205
|
+
version: 0.5.5
|
|
206
|
+
- !ruby/object:Gem::Dependency
|
|
207
|
+
name: execjs
|
|
208
|
+
requirement: !ruby/object:Gem::Requirement
|
|
209
|
+
none: false
|
|
210
|
+
requirements:
|
|
211
|
+
- - ! '>='
|
|
212
|
+
- !ruby/object:Gem::Version
|
|
213
|
+
version: '0'
|
|
214
|
+
type: :development
|
|
215
|
+
prerelease: false
|
|
216
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
217
|
+
none: false
|
|
218
|
+
requirements:
|
|
219
|
+
- - ! '>='
|
|
220
|
+
- !ruby/object:Gem::Version
|
|
221
|
+
version: '0'
|
|
222
|
+
- !ruby/object:Gem::Dependency
|
|
223
|
+
name: therubyracer
|
|
224
|
+
requirement: !ruby/object:Gem::Requirement
|
|
225
|
+
none: false
|
|
226
|
+
requirements:
|
|
227
|
+
- - ! '>='
|
|
228
|
+
- !ruby/object:Gem::Version
|
|
229
|
+
version: '0'
|
|
230
|
+
type: :development
|
|
231
|
+
prerelease: false
|
|
232
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
233
|
+
none: false
|
|
234
|
+
requirements:
|
|
235
|
+
- - ! '>='
|
|
236
|
+
- !ruby/object:Gem::Version
|
|
237
|
+
version: '0'
|
|
238
|
+
description: Slim out certain elements of a breadcrumb navigation and show these elements
|
|
239
|
+
only if the user\'s mouse dwellls on the breadcrumb separator.
|
|
240
|
+
email:
|
|
241
|
+
- sebastian@fiedlschuster.de
|
|
242
|
+
executables: []
|
|
243
|
+
extensions: []
|
|
244
|
+
extra_rdoc_files: []
|
|
245
|
+
files:
|
|
246
|
+
- .gitignore
|
|
247
|
+
- .rspec
|
|
248
|
+
- .sass-cache/dee5c1696b53a5db8342d6b3792b979412cf849f/breadcrumb.css.sassc
|
|
249
|
+
- .sass-cache/dee5c1696b53a5db8342d6b3792b979412cf849f/modifications.css.sassc
|
|
250
|
+
- .sass-cache/dee5c1696b53a5db8342d6b3792b979412cf849f/root.css.sassc
|
|
251
|
+
- .travis.yml
|
|
252
|
+
- Gemfile
|
|
253
|
+
- Guardfile
|
|
254
|
+
- LICENSE
|
|
255
|
+
- README.md
|
|
256
|
+
- Rakefile
|
|
257
|
+
- lib/assets/images/slim_breadcrumb/breadcrumb-sep.png
|
|
258
|
+
- lib/assets/javascripts/slim_breadcrumb.js.coffee
|
|
259
|
+
- lib/slim_breadcrumb.rb
|
|
260
|
+
- lib/slim_breadcrumb/engine.rb
|
|
261
|
+
- lib/slim_breadcrumb/version.rb
|
|
262
|
+
- slim_breadcrumb.gemspec
|
|
263
|
+
- spec/integration/slim_breadcrumb_spec.rb
|
|
264
|
+
- spec/spec_helper.rb
|
|
265
|
+
- test_app/.gitignore
|
|
266
|
+
- test_app/Gemfile
|
|
267
|
+
- test_app/README.md
|
|
268
|
+
- test_app/Rakefile
|
|
269
|
+
- test_app/app/assets/images/rails.png
|
|
270
|
+
- test_app/app/assets/images/screenshot.png
|
|
271
|
+
- test_app/app/assets/javascripts/activate_best_in_place.js
|
|
272
|
+
- test_app/app/assets/javascripts/application.js
|
|
273
|
+
- test_app/app/assets/stylesheets/application.css
|
|
274
|
+
- test_app/app/assets/stylesheets/breadcrumb.css.sass
|
|
275
|
+
- test_app/app/assets/stylesheets/modifications.css.sass
|
|
276
|
+
- test_app/app/assets/stylesheets/nifty.css
|
|
277
|
+
- test_app/app/assets/stylesheets/root.css.sass
|
|
278
|
+
- test_app/app/controllers/application_controller.rb
|
|
279
|
+
- test_app/app/controllers/root_controller.rb
|
|
280
|
+
- test_app/app/helpers/application_helper.rb
|
|
281
|
+
- test_app/app/helpers/error_messages_helper.rb
|
|
282
|
+
- test_app/app/helpers/layout_helper.rb
|
|
283
|
+
- test_app/app/mailers/.gitkeep
|
|
284
|
+
- test_app/app/models/.gitkeep
|
|
285
|
+
- test_app/app/views/layouts/application.html.erb
|
|
286
|
+
- test_app/app/views/root/index.html.erb
|
|
287
|
+
- test_app/config.ru
|
|
288
|
+
- test_app/config/application.rb
|
|
289
|
+
- test_app/config/boot.rb
|
|
290
|
+
- test_app/config/database.yml
|
|
291
|
+
- test_app/config/environment.rb
|
|
292
|
+
- test_app/config/environments/development.rb
|
|
293
|
+
- test_app/config/environments/production.rb
|
|
294
|
+
- test_app/config/environments/test.rb
|
|
295
|
+
- test_app/config/initializers/backtrace_silencers.rb
|
|
296
|
+
- test_app/config/initializers/inflections.rb
|
|
297
|
+
- test_app/config/initializers/mime_types.rb
|
|
298
|
+
- test_app/config/initializers/secret_token.rb
|
|
299
|
+
- test_app/config/initializers/session_store.rb
|
|
300
|
+
- test_app/config/initializers/wrap_parameters.rb
|
|
301
|
+
- test_app/config/locales/en.yml
|
|
302
|
+
- test_app/config/routes.rb
|
|
303
|
+
- test_app/db/schema.rb
|
|
304
|
+
- test_app/db/seeds.rb
|
|
305
|
+
- test_app/lib/assets/.gitkeep
|
|
306
|
+
- test_app/lib/tasks/.gitkeep
|
|
307
|
+
- test_app/public/404.html
|
|
308
|
+
- test_app/public/422.html
|
|
309
|
+
- test_app/public/500.html
|
|
310
|
+
- test_app/public/favicon.ico
|
|
311
|
+
- test_app/public/robots.txt
|
|
312
|
+
- test_app/public/stylesheets/application.css
|
|
313
|
+
- test_app/script/rails
|
|
314
|
+
- test_app/test/fixtures/users.yml
|
|
315
|
+
- test_app/test/functional/users_controller_test.rb
|
|
316
|
+
- test_app/test/unit/user_test.rb
|
|
317
|
+
- test_app/vendor/assets/javascripts/.gitkeep
|
|
318
|
+
- test_app/vendor/assets/stylesheets/.gitkeep
|
|
319
|
+
- test_app/vendor/plugins/.gitkeep
|
|
320
|
+
homepage: https://github.com/fiedl/slim_breadcrumb
|
|
321
|
+
licenses: []
|
|
322
|
+
post_install_message:
|
|
323
|
+
rdoc_options: []
|
|
324
|
+
require_paths:
|
|
325
|
+
- lib
|
|
326
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
327
|
+
none: false
|
|
328
|
+
requirements:
|
|
329
|
+
- - ! '>='
|
|
330
|
+
- !ruby/object:Gem::Version
|
|
331
|
+
version: '0'
|
|
332
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
333
|
+
none: false
|
|
334
|
+
requirements:
|
|
335
|
+
- - ! '>='
|
|
336
|
+
- !ruby/object:Gem::Version
|
|
337
|
+
version: '0'
|
|
338
|
+
requirements: []
|
|
339
|
+
rubyforge_project:
|
|
340
|
+
rubygems_version: 1.8.23
|
|
341
|
+
signing_key:
|
|
342
|
+
specification_version: 3
|
|
343
|
+
summary: Slim out certain elements of a breadcrumb navigation and show these elements
|
|
344
|
+
only if the user\'s mouse dwellls on the breadcrumb separator.
|
|
345
|
+
test_files:
|
|
346
|
+
- spec/integration/slim_breadcrumb_spec.rb
|
|
347
|
+
- spec/spec_helper.rb
|