gistyle 0.9.7 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +31 -5
- data/lib/gistyle/version.rb +1 -1
- data/vendor/assets/javascripts/gistyle.js +47 -6
- metadata +70 -108
- data/test/dummy/log/development.log +0 -1278
- data/test/dummy/tmp/cache/assets/C83/490/sprockets%2F15330991641fe8fa0b279210b5b8e949 +0 -0
- data/test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy/tmp/cache/assets/CDF/870/sprockets%2Fb878faf942403e313a5b103e5d80488e +0 -0
- data/test/dummy/tmp/cache/assets/CEC/5D0/sprockets%2F21819c41ee5468193d19d790c9dab9a6 +0 -0
- data/test/dummy/tmp/cache/assets/CF9/7C0/sprockets%2F40fc2f3d2a468a00e463f1d313cb1683 +0 -0
- data/test/dummy/tmp/cache/assets/CFA/740/sprockets%2F51b7658a0856a6ee3ce9d94388e5f915 +0 -0
- data/test/dummy/tmp/cache/assets/D05/D40/sprockets%2F1c9faaf28d05409b88ad3113374d613c +0 -0
- data/test/dummy/tmp/cache/assets/D12/850/sprockets%2Fa2fe9c2381119ff255df842833b5a62e +0 -0
- data/test/dummy/tmp/cache/assets/D2B/3C0/sprockets%2F9aeb4d864d5751a786406e97be95b7d7 +0 -0
- data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/dummy/tmp/cache/assets/D50/ED0/sprockets%2Fc49b2d92f4859f7a2ffe80c586f31c05 +0 -0
- data/test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/D8A/760/sprockets%2F0c9530fa6ed31da0d41154aed43fd6d3 +0 -0
- data/test/dummy/tmp/cache/assets/D98/8B0/sprockets%2Fedbef6e0d0a4742346cf479f2c522eb0 +0 -0
- data/test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/DE9/5F0/sprockets%2Fcda0aa9da6891b5e19edc22f1ce2010e +0 -0
- data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3fd19f46c9f7d2023379e55af6c68883aad62c86
|
4
|
+
data.tar.gz: 3b5707dce50625627c55f53510aba5c1382f00ed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1a19bb305ec91ff63f3307471494a82c43760715f86379b27ac64537dfd747f635901c424dd1fa4548d539e5cd8bbec1a986bf625e7b09df3c6f7cc99e0fb526
|
7
|
+
data.tar.gz: 9c81951c44a4c233e778f41395f0d2e932d3477b644a72babf6b478c42e1216850f957cace3bbe6ebd6af8b7c64ca12e024409fd43ffd9220a759c15675d9e5d
|
data/README.md
CHANGED
@@ -30,7 +30,7 @@ Be sure to place `require gistyle` before `require_tree .`.
|
|
30
30
|
`app/views/layouts/application.html.erb`
|
31
31
|
|
32
32
|
...
|
33
|
-
<body data-controller="<%=
|
33
|
+
<body data-controller="<%= controller_path %>" data-action="<%= action_name %>">
|
34
34
|
...
|
35
35
|
|
36
36
|
### Example
|
@@ -44,9 +44,21 @@ Be sure to place `require gistyle` before `require_tree .`.
|
|
44
44
|
init: function() {
|
45
45
|
console.log("home controller wide");
|
46
46
|
},
|
47
|
-
index: function(){
|
47
|
+
index: function() {
|
48
48
|
console.log("home#index");
|
49
49
|
},
|
50
|
+
new: function() {
|
51
|
+
console.log("home#new");
|
52
|
+
},
|
53
|
+
_new_create: function() {
|
54
|
+
console.log("home#new or home#create)");
|
55
|
+
},
|
56
|
+
_edit_update: function() {
|
57
|
+
console.log("home#edit or home#update)");
|
58
|
+
},
|
59
|
+
_form: function() {
|
60
|
+
console.log("Action with form (by default new, create, edit and update). See aliases (below) for more info.");
|
61
|
+
},
|
50
62
|
about: function() {
|
51
63
|
console.log("home#about");
|
52
64
|
},
|
@@ -57,9 +69,9 @@ Be sure to place `require gistyle` before `require_tree .`.
|
|
57
69
|
|
58
70
|
#### CoffeeScript
|
59
71
|
|
60
|
-
`app/assets/javascripts/posts.js.coffee`
|
72
|
+
`app/assets/javascripts/admin/posts.js.coffee`
|
61
73
|
|
62
|
-
APP
|
74
|
+
APP['admin/posts'] = # supports namespace as wall
|
63
75
|
index: () ->
|
64
76
|
# blablabla
|
65
77
|
show: () ->
|
@@ -72,4 +84,18 @@ Be sure to place `require gistyle` before `require_tree .`.
|
|
72
84
|
# blablabla
|
73
85
|
this.subroutine()
|
74
86
|
subroutine () ->
|
75
|
-
# blablabla
|
87
|
+
# blablabla
|
88
|
+
|
89
|
+
### Aliases
|
90
|
+
It is possible to define aliases, i.e. actions that (also) trigger another action. This is useful to for example have an action _form that is triggered for all actions with a form (by default new, create, edit and update).
|
91
|
+
|
92
|
+
Aliases are defined by calling: `GIStyle.alias(controller, action_from, action_to)`. It is also possible to define general aliases for all controllers by setting controller to `undefined`.
|
93
|
+
|
94
|
+
A few general aliases are included by default:
|
95
|
+
* `new`, `create`, `edit`, `update` => `_form`
|
96
|
+
* `new`, `create` => `_new_create`
|
97
|
+
* `edit`, `update` => `_new_update`
|
98
|
+
|
99
|
+
Aliases can be cleared by calling either:
|
100
|
+
* `GIStyle.clear_aliases_for_controller(controller)` or
|
101
|
+
* `GIStyle.clear_all_aliases()`.
|
data/lib/gistyle/version.rb
CHANGED
@@ -1,26 +1,67 @@
|
|
1
1
|
// Inspired from Paul Irish and Jason Garber
|
2
2
|
|
3
3
|
APP = {};
|
4
|
-
|
4
|
+
|
5
5
|
GIStyle = {
|
6
|
+
aliases: {}, // Aliases per controller. '*' matches all controllers.
|
7
|
+
|
8
|
+
alias: function( controller, from, to ) {
|
9
|
+
if ( controller === undefined )
|
10
|
+
controller = "*";
|
11
|
+
if ( GIStyle.aliases[controller] === undefined )
|
12
|
+
GIStyle.aliases[controller] = {};
|
13
|
+
if ( GIStyle.aliases[controller][from] === undefined )
|
14
|
+
GIStyle.aliases[controller][from] = [];
|
15
|
+
|
16
|
+
GIStyle.aliases[controller][from].push(to);
|
17
|
+
},
|
18
|
+
|
19
|
+
clear_all_aliases: function() {
|
20
|
+
GIStyle.aliases = {}
|
21
|
+
},
|
22
|
+
|
23
|
+
clear_aliases_for_controller: function( controller ) {
|
24
|
+
GIStyle.aliases[controller] = {}
|
25
|
+
},
|
26
|
+
|
6
27
|
exec: function( controller, action ) {
|
7
28
|
var ns = APP, action = ( action === undefined ) ? "init" : action;
|
8
|
-
|
29
|
+
|
30
|
+
// First execute aliases for this action
|
31
|
+
if(GIStyle.aliases['*'] !== undefined && GIStyle.aliases['*'][action] !== undefined) {
|
32
|
+
$.each(GIStyle.aliases['*'][action], function( index, alias ) {
|
33
|
+
GIStyle.exec(controller, alias);
|
34
|
+
});
|
35
|
+
}
|
36
|
+
if(GIStyle.aliases[controller] !== undefined && GIStyle.aliases[controller][action] !== undefined) {
|
37
|
+
$.each(GIStyle.aliases[controller][action], function( index, alias ) {
|
38
|
+
GIStyle.exec(controller, alias);
|
39
|
+
});
|
40
|
+
}
|
41
|
+
|
42
|
+
// Then execute function for this action
|
9
43
|
if ( controller !== "" && ns[controller] && typeof ns[controller][action] == "function" ) {
|
10
44
|
ns[controller][action]();
|
11
45
|
}
|
12
46
|
},
|
13
|
-
|
47
|
+
|
14
48
|
init: function() {
|
15
49
|
var body = document.body,
|
16
50
|
controller = body.getAttribute("data-controller"),
|
17
51
|
action = body.getAttribute("data-action");
|
18
|
-
|
52
|
+
|
19
53
|
if(typeof APP.init == "function") APP.init();
|
20
54
|
GIStyle.exec(controller);
|
21
55
|
GIStyle.exec(controller, action);
|
22
56
|
}
|
23
57
|
};
|
24
58
|
|
25
|
-
|
26
|
-
|
59
|
+
// Add default aliases for all controllers (new, create, edit and update actions also call form action)
|
60
|
+
GIStyle.alias(undefined, 'new', '_new_create');
|
61
|
+
GIStyle.alias(undefined, 'create', '_new_create');
|
62
|
+
GIStyle.alias(undefined, '_new_create', '_form');
|
63
|
+
GIStyle.alias(undefined, 'edit', '_edit_update');
|
64
|
+
GIStyle.alias(undefined, 'update', '_edit_update');
|
65
|
+
GIStyle.alias(undefined, '_edit_update', '_form');
|
66
|
+
|
67
|
+
$(document).on(typeof(Turbolinks) == 'undefined' ? 'ready' : 'page:change', GIStyle.init) // support Turbolinks
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gistyle
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tony Jian
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-07-16 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: GIStyle is a Rails plug-in for DOM-based routing of Javascript, inspired
|
14
14
|
from Paul Irish and Jason Garber.
|
@@ -18,73 +18,54 @@ executables: []
|
|
18
18
|
extensions: []
|
19
19
|
extra_rdoc_files: []
|
20
20
|
files:
|
21
|
-
- lib/tasks/gistyle_tasks.rake
|
22
|
-
- lib/gistyle/version.rb
|
23
|
-
- lib/gistyle/engine.rb
|
24
|
-
- lib/gistyle.rb
|
25
|
-
- vendor/assets/javascripts/gistyle.js
|
26
21
|
- MIT-LICENSE
|
27
|
-
- Rakefile
|
28
22
|
- README.md
|
29
|
-
-
|
30
|
-
-
|
31
|
-
-
|
32
|
-
-
|
33
|
-
-
|
34
|
-
- test/dummy/
|
35
|
-
- test/dummy/
|
23
|
+
- Rakefile
|
24
|
+
- lib/gistyle.rb
|
25
|
+
- lib/gistyle/engine.rb
|
26
|
+
- lib/gistyle/version.rb
|
27
|
+
- lib/tasks/gistyle_tasks.rake
|
28
|
+
- test/dummy/README.rdoc
|
29
|
+
- test/dummy/Rakefile
|
30
|
+
- test/dummy/app/assets/javascripts/application.js
|
31
|
+
- test/dummy/app/assets/javascripts/home.js
|
36
32
|
- test/dummy/app/assets/stylesheets/application.css
|
37
33
|
- test/dummy/app/assets/stylesheets/home.css
|
38
|
-
- test/dummy/app/
|
39
|
-
- test/dummy/app/
|
34
|
+
- test/dummy/app/controllers/application_controller.rb
|
35
|
+
- test/dummy/app/controllers/home_controller.rb
|
40
36
|
- test/dummy/app/helpers/application_helper.rb
|
41
37
|
- test/dummy/app/helpers/home_helper.rb
|
42
|
-
- test/dummy/
|
43
|
-
- test/dummy/
|
44
|
-
- test/dummy/
|
45
|
-
- test/dummy/
|
46
|
-
- test/dummy/
|
47
|
-
- test/dummy/
|
48
|
-
- test/dummy/
|
49
|
-
- test/dummy/
|
50
|
-
- test/dummy/
|
51
|
-
- test/dummy/
|
52
|
-
- test/dummy/
|
53
|
-
- test/dummy/
|
54
|
-
- test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
|
55
|
-
- test/dummy/tmp/cache/assets/CFA/740/sprockets%2F51b7658a0856a6ee3ce9d94388e5f915
|
56
|
-
- test/dummy/tmp/cache/assets/CF9/7C0/sprockets%2F40fc2f3d2a468a00e463f1d313cb1683
|
57
|
-
- test/dummy/tmp/cache/assets/CEC/5D0/sprockets%2F21819c41ee5468193d19d790c9dab9a6
|
58
|
-
- test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
|
59
|
-
- test/dummy/tmp/cache/assets/D8A/760/sprockets%2F0c9530fa6ed31da0d41154aed43fd6d3
|
60
|
-
- test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
|
61
|
-
- test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
|
62
|
-
- test/dummy/tmp/cache/assets/C83/490/sprockets%2F15330991641fe8fa0b279210b5b8e949
|
63
|
-
- test/dummy/tmp/cache/assets/D50/ED0/sprockets%2Fc49b2d92f4859f7a2ffe80c586f31c05
|
64
|
-
- test/dummy/tmp/cache/assets/DE9/5F0/sprockets%2Fcda0aa9da6891b5e19edc22f1ce2010e
|
65
|
-
- test/dummy/tmp/cache/assets/D98/8B0/sprockets%2Fedbef6e0d0a4742346cf479f2c522eb0
|
66
|
-
- test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
|
67
|
-
- test/dummy/tmp/cache/assets/D05/D40/sprockets%2F1c9faaf28d05409b88ad3113374d613c
|
68
|
-
- test/dummy/README.rdoc
|
69
|
-
- test/dummy/config/initializers/session_store.rb
|
70
|
-
- test/dummy/config/initializers/inflections.rb
|
71
|
-
- test/dummy/config/initializers/secret_token.rb
|
38
|
+
- test/dummy/app/views/home/about.html.erb
|
39
|
+
- test/dummy/app/views/home/contact.html.erb
|
40
|
+
- test/dummy/app/views/home/index.html.erb
|
41
|
+
- test/dummy/app/views/layouts/application.html.erb
|
42
|
+
- test/dummy/config.ru
|
43
|
+
- test/dummy/config/application.rb
|
44
|
+
- test/dummy/config/boot.rb
|
45
|
+
- test/dummy/config/database.yml
|
46
|
+
- test/dummy/config/environment.rb
|
47
|
+
- test/dummy/config/environments/development.rb
|
48
|
+
- test/dummy/config/environments/production.rb
|
49
|
+
- test/dummy/config/environments/test.rb
|
72
50
|
- test/dummy/config/initializers/backtrace_silencers.rb
|
51
|
+
- test/dummy/config/initializers/inflections.rb
|
73
52
|
- test/dummy/config/initializers/mime_types.rb
|
53
|
+
- test/dummy/config/initializers/secret_token.rb
|
54
|
+
- test/dummy/config/initializers/session_store.rb
|
74
55
|
- test/dummy/config/initializers/wrap_parameters.rb
|
75
|
-
- test/dummy/config/application.rb
|
76
56
|
- test/dummy/config/locales/en.yml
|
77
|
-
- test/dummy/config/environment.rb
|
78
|
-
- test/dummy/config/boot.rb
|
79
57
|
- test/dummy/config/routes.rb
|
80
|
-
- test/dummy/
|
81
|
-
- test/dummy/
|
82
|
-
- test/dummy/
|
83
|
-
- test/dummy/
|
84
|
-
- test/dummy/
|
85
|
-
- test/dummy/
|
86
|
-
- test/dummy/
|
58
|
+
- test/dummy/db/development.sqlite3
|
59
|
+
- test/dummy/public/404.html
|
60
|
+
- test/dummy/public/422.html
|
61
|
+
- test/dummy/public/500.html
|
62
|
+
- test/dummy/public/favicon.ico
|
63
|
+
- test/dummy/script/rails
|
64
|
+
- test/dummy/test/functional/home_controller_test.rb
|
65
|
+
- test/dummy/test/unit/helpers/home_helper_test.rb
|
66
|
+
- test/gistyle_test.rb
|
87
67
|
- test/test_helper.rb
|
68
|
+
- vendor/assets/javascripts/gistyle.js
|
88
69
|
homepage: https://github.com/tonytonyjan/gistyle
|
89
70
|
licenses: []
|
90
71
|
metadata: {}
|
@@ -94,77 +75,58 @@ require_paths:
|
|
94
75
|
- lib
|
95
76
|
required_ruby_version: !ruby/object:Gem::Requirement
|
96
77
|
requirements:
|
97
|
-
- -
|
78
|
+
- - ">="
|
98
79
|
- !ruby/object:Gem::Version
|
99
80
|
version: '0'
|
100
81
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
101
82
|
requirements:
|
102
|
-
- -
|
83
|
+
- - ">="
|
103
84
|
- !ruby/object:Gem::Version
|
104
85
|
version: '0'
|
105
86
|
requirements: []
|
106
87
|
rubyforge_project:
|
107
|
-
rubygems_version: 2.0
|
88
|
+
rubygems_version: 2.3.0
|
108
89
|
signing_key:
|
109
90
|
specification_version: 4
|
110
91
|
summary: GIStyle is a Rails plug-in for DOM-based routing of Javascript.
|
111
92
|
test_files:
|
112
|
-
- test/
|
113
|
-
- test/dummy/app/
|
114
|
-
- test/dummy/app/views/home/index.html.erb
|
115
|
-
- test/dummy/app/views/home/contact.html.erb
|
116
|
-
- test/dummy/app/views/home/about.html.erb
|
117
|
-
- test/dummy/app/controllers/home_controller.rb
|
118
|
-
- test/dummy/app/controllers/application_controller.rb
|
93
|
+
- test/dummy/app/assets/javascripts/application.js
|
94
|
+
- test/dummy/app/assets/javascripts/home.js
|
119
95
|
- test/dummy/app/assets/stylesheets/application.css
|
120
96
|
- test/dummy/app/assets/stylesheets/home.css
|
121
|
-
- test/dummy/app/
|
122
|
-
- test/dummy/app/
|
97
|
+
- test/dummy/app/controllers/application_controller.rb
|
98
|
+
- test/dummy/app/controllers/home_controller.rb
|
123
99
|
- test/dummy/app/helpers/application_helper.rb
|
124
100
|
- test/dummy/app/helpers/home_helper.rb
|
125
|
-
- test/dummy/
|
126
|
-
- test/dummy/
|
127
|
-
- test/dummy/
|
128
|
-
- test/dummy/
|
129
|
-
- test/dummy/
|
130
|
-
- test/dummy/
|
131
|
-
- test/dummy/
|
132
|
-
- test/dummy/
|
133
|
-
- test/dummy/
|
134
|
-
- test/dummy/
|
135
|
-
- test/dummy/
|
136
|
-
- test/dummy/tmp/cache/assets/D2B/3C0/sprockets%2F9aeb4d864d5751a786406e97be95b7d7
|
137
|
-
- test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
|
138
|
-
- test/dummy/tmp/cache/assets/CFA/740/sprockets%2F51b7658a0856a6ee3ce9d94388e5f915
|
139
|
-
- test/dummy/tmp/cache/assets/CF9/7C0/sprockets%2F40fc2f3d2a468a00e463f1d313cb1683
|
140
|
-
- test/dummy/tmp/cache/assets/CEC/5D0/sprockets%2F21819c41ee5468193d19d790c9dab9a6
|
141
|
-
- test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
|
142
|
-
- test/dummy/tmp/cache/assets/D8A/760/sprockets%2F0c9530fa6ed31da0d41154aed43fd6d3
|
143
|
-
- test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
|
144
|
-
- test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
|
145
|
-
- test/dummy/tmp/cache/assets/C83/490/sprockets%2F15330991641fe8fa0b279210b5b8e949
|
146
|
-
- test/dummy/tmp/cache/assets/D50/ED0/sprockets%2Fc49b2d92f4859f7a2ffe80c586f31c05
|
147
|
-
- test/dummy/tmp/cache/assets/DE9/5F0/sprockets%2Fcda0aa9da6891b5e19edc22f1ce2010e
|
148
|
-
- test/dummy/tmp/cache/assets/D98/8B0/sprockets%2Fedbef6e0d0a4742346cf479f2c522eb0
|
149
|
-
- test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
|
150
|
-
- test/dummy/tmp/cache/assets/D05/D40/sprockets%2F1c9faaf28d05409b88ad3113374d613c
|
151
|
-
- test/dummy/README.rdoc
|
152
|
-
- test/dummy/config/initializers/session_store.rb
|
153
|
-
- test/dummy/config/initializers/inflections.rb
|
154
|
-
- test/dummy/config/initializers/secret_token.rb
|
101
|
+
- test/dummy/app/views/home/about.html.erb
|
102
|
+
- test/dummy/app/views/home/contact.html.erb
|
103
|
+
- test/dummy/app/views/home/index.html.erb
|
104
|
+
- test/dummy/app/views/layouts/application.html.erb
|
105
|
+
- test/dummy/config/application.rb
|
106
|
+
- test/dummy/config/boot.rb
|
107
|
+
- test/dummy/config/database.yml
|
108
|
+
- test/dummy/config/environment.rb
|
109
|
+
- test/dummy/config/environments/development.rb
|
110
|
+
- test/dummy/config/environments/production.rb
|
111
|
+
- test/dummy/config/environments/test.rb
|
155
112
|
- test/dummy/config/initializers/backtrace_silencers.rb
|
113
|
+
- test/dummy/config/initializers/inflections.rb
|
156
114
|
- test/dummy/config/initializers/mime_types.rb
|
115
|
+
- test/dummy/config/initializers/secret_token.rb
|
116
|
+
- test/dummy/config/initializers/session_store.rb
|
157
117
|
- test/dummy/config/initializers/wrap_parameters.rb
|
158
|
-
- test/dummy/config/application.rb
|
159
118
|
- test/dummy/config/locales/en.yml
|
160
|
-
- test/dummy/config/environment.rb
|
161
|
-
- test/dummy/config/boot.rb
|
162
119
|
- test/dummy/config/routes.rb
|
163
|
-
- test/dummy/config/environments/production.rb
|
164
|
-
- test/dummy/config/environments/development.rb
|
165
|
-
- test/dummy/config/environments/test.rb
|
166
|
-
- test/dummy/config/database.yml
|
167
|
-
- test/dummy/Rakefile
|
168
|
-
- test/dummy/log/development.log
|
169
120
|
- test/dummy/config.ru
|
121
|
+
- test/dummy/db/development.sqlite3
|
122
|
+
- test/dummy/public/404.html
|
123
|
+
- test/dummy/public/422.html
|
124
|
+
- test/dummy/public/500.html
|
125
|
+
- test/dummy/public/favicon.ico
|
126
|
+
- test/dummy/Rakefile
|
127
|
+
- test/dummy/README.rdoc
|
128
|
+
- test/dummy/script/rails
|
129
|
+
- test/dummy/test/functional/home_controller_test.rb
|
130
|
+
- test/dummy/test/unit/helpers/home_helper_test.rb
|
131
|
+
- test/gistyle_test.rb
|
170
132
|
- test/test_helper.rb
|