towncrier 1.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.
- checksums.yaml +15 -0
- data/MIT-LICENSE +20 -0
- data/README.md +281 -0
- data/Rakefile +32 -0
- data/app/assets/javascripts/towncrier.js +12 -0
- data/lib/generators/templates/create_towncries_table.rb +15 -0
- data/lib/generators/templates/towncrier.yml +15 -0
- data/lib/generators/templates/towncry.rb +10 -0
- data/lib/generators/towncrier_generator.rb +19 -0
- data/lib/towncrier/active_record_extensions.rb +19 -0
- data/lib/towncrier/base.rb +45 -0
- data/lib/towncrier/config.rb +44 -0
- data/lib/towncrier/cry.rb +65 -0
- data/lib/towncrier/eagerloader.rb +17 -0
- data/lib/towncrier/engine.rb +21 -0
- data/lib/towncrier/observer.rb +42 -0
- data/lib/towncrier/targets.rb +31 -0
- data/lib/towncrier/version.rb +10 -0
- data/lib/towncrier/workers/resque.rb +13 -0
- data/lib/towncrier/workers/sidekiq.rb +15 -0
- data/lib/towncrier.rb +5 -0
- data/test/dummy/README.rdoc +28 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/javascripts/application.js +13 -0
- data/test/dummy/app/assets/stylesheets/application.css +13 -0
- data/test/dummy/app/controllers/application_controller.rb +5 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/config/application.rb +23 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +29 -0
- data/test/dummy/config/environments/production.rb +80 -0
- data/test/dummy/config/environments/test.rb +36 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/secret_token.rb +12 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/routes.rb +56 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +186 -0
- data/test/dummy/public/404.html +58 -0
- data/test/dummy/public/422.html +58 -0
- data/test/dummy/public/500.html +57 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/test_helper.rb +15 -0
- data/test/towncrier_test.rb +7 -0
- metadata +178 -0
@@ -0,0 +1,186 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
Started GET "/" for 127.0.0.1 at 2013-12-25 15:30:17 -0500
|
4
|
+
Processing by Rails::WelcomeController#index as HTML
|
5
|
+
Rendered /Users/davidlesches/.rvm/gems/ruby-1.9.3-p448/gems/railties-4.0.2/lib/rails/templates/rails/welcome/index.html.erb (3.9ms)
|
6
|
+
Completed 200 OK in 27ms (Views: 26.6ms | ActiveRecord: 0.0ms)
|
7
|
+
|
8
|
+
|
9
|
+
Started GET "/" for 127.0.0.1 at 2013-12-25 15:30:52 -0500
|
10
|
+
Processing by Rails::WelcomeController#index as HTML
|
11
|
+
Rendered /Users/davidlesches/.rvm/gems/ruby-1.9.3-p448/gems/railties-4.0.2/lib/rails/templates/rails/welcome/index.html.erb (0.0ms)
|
12
|
+
Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.0ms)
|
13
|
+
|
14
|
+
|
15
|
+
Started GET "/" for 127.0.0.1 at 2013-12-25 15:42:46 -0500
|
16
|
+
Processing by Rails::WelcomeController#index as HTML
|
17
|
+
Rendered /Users/davidlesches/.rvm/gems/ruby-1.9.3-p448/gems/railties-4.0.2/lib/rails/templates/rails/welcome/index.html.erb (2.0ms)
|
18
|
+
Completed 200 OK in 10ms (Views: 9.3ms | ActiveRecord: 0.0ms)
|
19
|
+
|
20
|
+
|
21
|
+
Started GET "/" for 127.0.0.1 at 2013-12-25 15:42:50 -0500
|
22
|
+
Processing by Rails::WelcomeController#index as HTML
|
23
|
+
Rendered /Users/davidlesches/.rvm/gems/ruby-1.9.3-p448/gems/railties-4.0.2/lib/rails/templates/rails/welcome/index.html.erb (0.1ms)
|
24
|
+
Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
|
25
|
+
|
26
|
+
|
27
|
+
Started GET "/" for 127.0.0.1 at 2013-12-25 15:42:54 -0500
|
28
|
+
Processing by Rails::WelcomeController#index as HTML
|
29
|
+
Rendered /Users/davidlesches/.rvm/gems/ruby-1.9.3-p448/gems/railties-4.0.2/lib/rails/templates/rails/welcome/index.html.erb (0.0ms)
|
30
|
+
Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.0ms)
|
31
|
+
|
32
|
+
|
33
|
+
Started GET "/" for 127.0.0.1 at 2013-12-25 15:43:16 -0500
|
34
|
+
Processing by Rails::WelcomeController#index as HTML
|
35
|
+
Rendered /Users/davidlesches/.rvm/gems/ruby-1.9.3-p448/gems/railties-4.0.2/lib/rails/templates/rails/welcome/index.html.erb (0.0ms)
|
36
|
+
Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
|
37
|
+
|
38
|
+
|
39
|
+
Started GET "/" for 127.0.0.1 at 2013-12-25 15:45:23 -0500
|
40
|
+
Processing by Rails::WelcomeController#index as HTML
|
41
|
+
Rendered /Users/davidlesches/.rvm/gems/ruby-1.9.3-p448/gems/railties-4.0.2/lib/rails/templates/rails/welcome/index.html.erb (2.2ms)
|
42
|
+
Completed 200 OK in 9ms (Views: 9.1ms | ActiveRecord: 0.0ms)
|
43
|
+
|
44
|
+
|
45
|
+
Started GET "/" for 127.0.0.1 at 2013-12-25 15:45:26 -0500
|
46
|
+
Processing by Rails::WelcomeController#index as HTML
|
47
|
+
Rendered /Users/davidlesches/.rvm/gems/ruby-1.9.3-p448/gems/railties-4.0.2/lib/rails/templates/rails/welcome/index.html.erb (0.1ms)
|
48
|
+
Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.0ms)
|
49
|
+
|
50
|
+
|
51
|
+
Started GET "/" for 127.0.0.1 at 2013-12-25 15:45:36 -0500
|
52
|
+
Processing by Rails::WelcomeController#index as HTML
|
53
|
+
Rendered /Users/davidlesches/.rvm/gems/ruby-1.9.3-p448/gems/railties-4.0.2/lib/rails/templates/rails/welcome/index.html.erb (2.3ms)
|
54
|
+
Completed 200 OK in 25ms (Views: 25.0ms | ActiveRecord: 0.0ms)
|
55
|
+
|
56
|
+
|
57
|
+
Started GET "/" for 127.0.0.1 at 2013-12-25 15:45:38 -0500
|
58
|
+
Processing by Rails::WelcomeController#index as HTML
|
59
|
+
Rendered /Users/davidlesches/.rvm/gems/ruby-1.9.3-p448/gems/railties-4.0.2/lib/rails/templates/rails/welcome/index.html.erb (0.1ms)
|
60
|
+
Completed 200 OK in 1ms (Views: 1.4ms | ActiveRecord: 0.0ms)
|
61
|
+
|
62
|
+
|
63
|
+
Started GET "/" for 127.0.0.1 at 2013-12-25 15:46:04 -0500
|
64
|
+
Processing by Rails::WelcomeController#index as HTML
|
65
|
+
Rendered /Users/davidlesches/.rvm/gems/ruby-1.9.3-p448/gems/railties-4.0.2/lib/rails/templates/rails/welcome/index.html.erb (2.4ms)
|
66
|
+
Completed 200 OK in 24ms (Views: 24.2ms | ActiveRecord: 0.0ms)
|
67
|
+
|
68
|
+
|
69
|
+
Started GET "/" for 127.0.0.1 at 2013-12-25 15:46:07 -0500
|
70
|
+
Processing by Rails::WelcomeController#index as HTML
|
71
|
+
Rendered /Users/davidlesches/.rvm/gems/ruby-1.9.3-p448/gems/railties-4.0.2/lib/rails/templates/rails/welcome/index.html.erb (0.1ms)
|
72
|
+
Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
|
73
|
+
|
74
|
+
|
75
|
+
Started GET "/" for 127.0.0.1 at 2013-12-25 15:58:41 -0500
|
76
|
+
|
77
|
+
NoMethodError (undefined method `call' for #<Towncrier::Middleware:0x007f9da2c5f340>):
|
78
|
+
rack (1.5.2) lib/rack/etag.rb:23:in `call'
|
79
|
+
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
|
80
|
+
rack (1.5.2) lib/rack/head.rb:11:in `call'
|
81
|
+
actionpack (4.0.2) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
|
82
|
+
actionpack (4.0.2) lib/action_dispatch/middleware/flash.rb:241:in `call'
|
83
|
+
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
|
84
|
+
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
|
85
|
+
actionpack (4.0.2) lib/action_dispatch/middleware/cookies.rb:486:in `call'
|
86
|
+
activerecord (4.0.2) lib/active_record/query_cache.rb:36:in `call'
|
87
|
+
activerecord (4.0.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
|
88
|
+
activerecord (4.0.2) lib/active_record/migration.rb:369:in `call'
|
89
|
+
actionpack (4.0.2) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
90
|
+
activesupport (4.0.2) lib/active_support/callbacks.rb:373:in `_run__424084978922074983__call__callbacks'
|
91
|
+
activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
|
92
|
+
actionpack (4.0.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
93
|
+
actionpack (4.0.2) lib/action_dispatch/middleware/reloader.rb:64:in `call'
|
94
|
+
actionpack (4.0.2) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
|
95
|
+
actionpack (4.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
96
|
+
actionpack (4.0.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
97
|
+
railties (4.0.2) lib/rails/rack/logger.rb:38:in `call_app'
|
98
|
+
railties (4.0.2) lib/rails/rack/logger.rb:20:in `block in call'
|
99
|
+
activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `block in tagged'
|
100
|
+
activesupport (4.0.2) lib/active_support/tagged_logging.rb:25:in `tagged'
|
101
|
+
activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `tagged'
|
102
|
+
railties (4.0.2) lib/rails/rack/logger.rb:20:in `call'
|
103
|
+
actionpack (4.0.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
104
|
+
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
|
105
|
+
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
|
106
|
+
activesupport (4.0.2) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
|
107
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
108
|
+
actionpack (4.0.2) lib/action_dispatch/middleware/static.rb:64:in `call'
|
109
|
+
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
|
110
|
+
railties (4.0.2) lib/rails/engine.rb:511:in `call'
|
111
|
+
railties (4.0.2) lib/rails/application.rb:97:in `call'
|
112
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
113
|
+
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
|
114
|
+
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
|
115
|
+
/Users/davidlesches/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
|
116
|
+
/Users/davidlesches/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
|
117
|
+
/Users/davidlesches/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
|
118
|
+
|
119
|
+
|
120
|
+
Rendered /Users/davidlesches/.rvm/gems/ruby-1.9.3-p448/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.7ms)
|
121
|
+
Rendered /Users/davidlesches/.rvm/gems/ruby-1.9.3-p448/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
|
122
|
+
Rendered /Users/davidlesches/.rvm/gems/ruby-1.9.3-p448/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (31.5ms)
|
123
|
+
Rendered /Users/davidlesches/.rvm/gems/ruby-1.9.3-p448/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (49.6ms)
|
124
|
+
|
125
|
+
|
126
|
+
Started GET "/" for 127.0.0.1 at 2013-12-25 16:06:24 -0500
|
127
|
+
Processing by Rails::WelcomeController#index as HTML
|
128
|
+
Rendered /Users/davidlesches/.rvm/gems/ruby-1.9.3-p448/gems/railties-4.0.2/lib/rails/templates/rails/welcome/index.html.erb (2.4ms)
|
129
|
+
Completed 200 OK in 29ms (Views: 28.3ms | ActiveRecord: 0.0ms)
|
130
|
+
|
131
|
+
|
132
|
+
Started GET "/" for 127.0.0.1 at 2013-12-25 16:06:29 -0500
|
133
|
+
Processing by Rails::WelcomeController#index as HTML
|
134
|
+
Rendered /Users/davidlesches/.rvm/gems/ruby-1.9.3-p448/gems/railties-4.0.2/lib/rails/templates/rails/welcome/index.html.erb (0.1ms)
|
135
|
+
Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
|
136
|
+
|
137
|
+
|
138
|
+
Started GET "/" for 127.0.0.1 at 2013-12-25 16:06:33 -0500
|
139
|
+
Processing by Rails::WelcomeController#index as HTML
|
140
|
+
Rendered /Users/davidlesches/.rvm/gems/ruby-1.9.3-p448/gems/railties-4.0.2/lib/rails/templates/rails/welcome/index.html.erb (0.0ms)
|
141
|
+
Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.0ms)
|
142
|
+
|
143
|
+
|
144
|
+
Started GET "/" for 127.0.0.1 at 2013-12-25 16:06:52 -0500
|
145
|
+
Processing by Rails::WelcomeController#index as HTML
|
146
|
+
Rendered /Users/davidlesches/.rvm/gems/ruby-1.9.3-p448/gems/railties-4.0.2/lib/rails/templates/rails/welcome/index.html.erb (3.4ms)
|
147
|
+
Completed 200 OK in 27ms (Views: 26.7ms | ActiveRecord: 0.0ms)
|
148
|
+
|
149
|
+
|
150
|
+
Started GET "/" for 127.0.0.1 at 2013-12-25 16:06:55 -0500
|
151
|
+
Processing by Rails::WelcomeController#index as HTML
|
152
|
+
Rendered /Users/davidlesches/.rvm/gems/ruby-1.9.3-p448/gems/railties-4.0.2/lib/rails/templates/rails/welcome/index.html.erb (0.1ms)
|
153
|
+
Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
|
154
|
+
|
155
|
+
|
156
|
+
Started GET "/" for 127.0.0.1 at 2013-12-25 16:06:58 -0500
|
157
|
+
Processing by Rails::WelcomeController#index as HTML
|
158
|
+
Rendered /Users/davidlesches/.rvm/gems/ruby-1.9.3-p448/gems/railties-4.0.2/lib/rails/templates/rails/welcome/index.html.erb (0.0ms)
|
159
|
+
Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
|
160
|
+
|
161
|
+
|
162
|
+
Started GET "/" for 127.0.0.1 at 2013-12-25 16:08:57 -0500
|
163
|
+
Processing by Rails::WelcomeController#index as HTML
|
164
|
+
Rendered /Users/davidlesches/.rvm/gems/ruby-1.9.3-p448/gems/railties-4.0.2/lib/rails/templates/rails/welcome/index.html.erb (3.4ms)
|
165
|
+
Completed 200 OK in 29ms (Views: 28.3ms | ActiveRecord: 0.0ms)
|
166
|
+
|
167
|
+
|
168
|
+
Started GET "/" for 127.0.0.1 at 2013-12-25 16:09:00 -0500
|
169
|
+
Processing by Rails::WelcomeController#index as HTML
|
170
|
+
Rendered /Users/davidlesches/.rvm/gems/ruby-1.9.3-p448/gems/railties-4.0.2/lib/rails/templates/rails/welcome/index.html.erb (0.1ms)
|
171
|
+
Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
|
172
|
+
|
173
|
+
|
174
|
+
Started GET "/" for 127.0.0.1 at 2013-12-25 16:10:26 -0500
|
175
|
+
Processing by Rails::WelcomeController#index as HTML
|
176
|
+
Rendered /Users/davidlesches/.rvm/gems/ruby-1.9.3-p448/gems/railties-4.0.2/lib/rails/templates/rails/welcome/index.html.erb (2.1ms)
|
177
|
+
Completed 200 OK in 24ms (Views: 24.0ms | ActiveRecord: 0.0ms)
|
178
|
+
|
179
|
+
|
180
|
+
Started GET "/" for 127.0.0.1 at 2013-12-25 16:10:29 -0500
|
181
|
+
Processing by Rails::WelcomeController#index as HTML
|
182
|
+
Rendered /Users/davidlesches/.rvm/gems/ruby-1.9.3-p448/gems/railties-4.0.2/lib/rails/templates/rails/welcome/index.html.erb (0.0ms)
|
183
|
+
Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.0ms)
|
184
|
+
Look at me I'm updating!
|
185
|
+
Look at me I'm updating!
|
186
|
+
Look at me I'm updating!
|
@@ -0,0 +1,58 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The page you were looking for doesn't exist (404)</title>
|
5
|
+
<style>
|
6
|
+
body {
|
7
|
+
background-color: #EFEFEF;
|
8
|
+
color: #2E2F30;
|
9
|
+
text-align: center;
|
10
|
+
font-family: arial, sans-serif;
|
11
|
+
}
|
12
|
+
|
13
|
+
div.dialog {
|
14
|
+
width: 25em;
|
15
|
+
margin: 4em auto 0 auto;
|
16
|
+
border: 1px solid #CCC;
|
17
|
+
border-right-color: #999;
|
18
|
+
border-left-color: #999;
|
19
|
+
border-bottom-color: #BBB;
|
20
|
+
border-top: #B00100 solid 4px;
|
21
|
+
border-top-left-radius: 9px;
|
22
|
+
border-top-right-radius: 9px;
|
23
|
+
background-color: white;
|
24
|
+
padding: 7px 4em 0 4em;
|
25
|
+
}
|
26
|
+
|
27
|
+
h1 {
|
28
|
+
font-size: 100%;
|
29
|
+
color: #730E15;
|
30
|
+
line-height: 1.5em;
|
31
|
+
}
|
32
|
+
|
33
|
+
body > p {
|
34
|
+
width: 33em;
|
35
|
+
margin: 0 auto 1em;
|
36
|
+
padding: 1em 0;
|
37
|
+
background-color: #F7F7F7;
|
38
|
+
border: 1px solid #CCC;
|
39
|
+
border-right-color: #999;
|
40
|
+
border-bottom-color: #999;
|
41
|
+
border-bottom-left-radius: 4px;
|
42
|
+
border-bottom-right-radius: 4px;
|
43
|
+
border-top-color: #DADADA;
|
44
|
+
color: #666;
|
45
|
+
box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
|
46
|
+
}
|
47
|
+
</style>
|
48
|
+
</head>
|
49
|
+
|
50
|
+
<body>
|
51
|
+
<!-- This file lives in public/404.html -->
|
52
|
+
<div class="dialog">
|
53
|
+
<h1>The page you were looking for doesn't exist.</h1>
|
54
|
+
<p>You may have mistyped the address or the page may have moved.</p>
|
55
|
+
</div>
|
56
|
+
<p>If you are the application owner check the logs for more information.</p>
|
57
|
+
</body>
|
58
|
+
</html>
|
@@ -0,0 +1,58 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The change you wanted was rejected (422)</title>
|
5
|
+
<style>
|
6
|
+
body {
|
7
|
+
background-color: #EFEFEF;
|
8
|
+
color: #2E2F30;
|
9
|
+
text-align: center;
|
10
|
+
font-family: arial, sans-serif;
|
11
|
+
}
|
12
|
+
|
13
|
+
div.dialog {
|
14
|
+
width: 25em;
|
15
|
+
margin: 4em auto 0 auto;
|
16
|
+
border: 1px solid #CCC;
|
17
|
+
border-right-color: #999;
|
18
|
+
border-left-color: #999;
|
19
|
+
border-bottom-color: #BBB;
|
20
|
+
border-top: #B00100 solid 4px;
|
21
|
+
border-top-left-radius: 9px;
|
22
|
+
border-top-right-radius: 9px;
|
23
|
+
background-color: white;
|
24
|
+
padding: 7px 4em 0 4em;
|
25
|
+
}
|
26
|
+
|
27
|
+
h1 {
|
28
|
+
font-size: 100%;
|
29
|
+
color: #730E15;
|
30
|
+
line-height: 1.5em;
|
31
|
+
}
|
32
|
+
|
33
|
+
body > p {
|
34
|
+
width: 33em;
|
35
|
+
margin: 0 auto 1em;
|
36
|
+
padding: 1em 0;
|
37
|
+
background-color: #F7F7F7;
|
38
|
+
border: 1px solid #CCC;
|
39
|
+
border-right-color: #999;
|
40
|
+
border-bottom-color: #999;
|
41
|
+
border-bottom-left-radius: 4px;
|
42
|
+
border-bottom-right-radius: 4px;
|
43
|
+
border-top-color: #DADADA;
|
44
|
+
color: #666;
|
45
|
+
box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
|
46
|
+
}
|
47
|
+
</style>
|
48
|
+
</head>
|
49
|
+
|
50
|
+
<body>
|
51
|
+
<!-- This file lives in public/422.html -->
|
52
|
+
<div class="dialog">
|
53
|
+
<h1>The change you wanted was rejected.</h1>
|
54
|
+
<p>Maybe you tried to change something you didn't have access to.</p>
|
55
|
+
</div>
|
56
|
+
<p>If you are the application owner check the logs for more information.</p>
|
57
|
+
</body>
|
58
|
+
</html>
|
@@ -0,0 +1,57 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>We're sorry, but something went wrong (500)</title>
|
5
|
+
<style>
|
6
|
+
body {
|
7
|
+
background-color: #EFEFEF;
|
8
|
+
color: #2E2F30;
|
9
|
+
text-align: center;
|
10
|
+
font-family: arial, sans-serif;
|
11
|
+
}
|
12
|
+
|
13
|
+
div.dialog {
|
14
|
+
width: 25em;
|
15
|
+
margin: 4em auto 0 auto;
|
16
|
+
border: 1px solid #CCC;
|
17
|
+
border-right-color: #999;
|
18
|
+
border-left-color: #999;
|
19
|
+
border-bottom-color: #BBB;
|
20
|
+
border-top: #B00100 solid 4px;
|
21
|
+
border-top-left-radius: 9px;
|
22
|
+
border-top-right-radius: 9px;
|
23
|
+
background-color: white;
|
24
|
+
padding: 7px 4em 0 4em;
|
25
|
+
}
|
26
|
+
|
27
|
+
h1 {
|
28
|
+
font-size: 100%;
|
29
|
+
color: #730E15;
|
30
|
+
line-height: 1.5em;
|
31
|
+
}
|
32
|
+
|
33
|
+
body > p {
|
34
|
+
width: 33em;
|
35
|
+
margin: 0 auto 1em;
|
36
|
+
padding: 1em 0;
|
37
|
+
background-color: #F7F7F7;
|
38
|
+
border: 1px solid #CCC;
|
39
|
+
border-right-color: #999;
|
40
|
+
border-bottom-color: #999;
|
41
|
+
border-bottom-left-radius: 4px;
|
42
|
+
border-bottom-right-radius: 4px;
|
43
|
+
border-top-color: #DADADA;
|
44
|
+
color: #666;
|
45
|
+
box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
|
46
|
+
}
|
47
|
+
</style>
|
48
|
+
</head>
|
49
|
+
|
50
|
+
<body>
|
51
|
+
<!-- This file lives in public/500.html -->
|
52
|
+
<div class="dialog">
|
53
|
+
<h1>We're sorry, but something went wrong.</h1>
|
54
|
+
</div>
|
55
|
+
<p>If you are the application owner check the logs for more information.</p>
|
56
|
+
</body>
|
57
|
+
</html>
|
File without changes
|
data/test/test_helper.rb
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
# Configure Rails Environment
|
2
|
+
ENV["RAILS_ENV"] = "test"
|
3
|
+
|
4
|
+
require File.expand_path("../dummy/config/environment.rb", __FILE__)
|
5
|
+
require "rails/test_help"
|
6
|
+
|
7
|
+
Rails.backtrace_cleaner.remove_silencers!
|
8
|
+
|
9
|
+
# Load support files
|
10
|
+
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
11
|
+
|
12
|
+
# Load fixtures from the engine
|
13
|
+
if ActiveSupport::TestCase.method_defined?(:fixture_path=)
|
14
|
+
ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
|
15
|
+
end
|
metadata
ADDED
@@ -0,0 +1,178 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: towncrier
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- David Lesches
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-05-15 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rails
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ~>
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 4.0.0
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 4.0.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: private_pub
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ! '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ! '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: sqlite3
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ! '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
description: When CRUD actions happen to Rails database records, towncrier pushes
|
56
|
+
notifications (via pub/sub) to the specific users you specify.
|
57
|
+
email:
|
58
|
+
- david@lesches.com
|
59
|
+
executables: []
|
60
|
+
extensions: []
|
61
|
+
extra_rdoc_files: []
|
62
|
+
files:
|
63
|
+
- app/assets/javascripts/towncrier.js
|
64
|
+
- lib/generators/templates/create_towncries_table.rb
|
65
|
+
- lib/generators/templates/towncrier.yml
|
66
|
+
- lib/generators/templates/towncry.rb
|
67
|
+
- lib/generators/towncrier_generator.rb
|
68
|
+
- lib/towncrier/active_record_extensions.rb
|
69
|
+
- lib/towncrier/base.rb
|
70
|
+
- lib/towncrier/config.rb
|
71
|
+
- lib/towncrier/cry.rb
|
72
|
+
- lib/towncrier/eagerloader.rb
|
73
|
+
- lib/towncrier/engine.rb
|
74
|
+
- lib/towncrier/observer.rb
|
75
|
+
- lib/towncrier/targets.rb
|
76
|
+
- lib/towncrier/version.rb
|
77
|
+
- lib/towncrier/workers/resque.rb
|
78
|
+
- lib/towncrier/workers/sidekiq.rb
|
79
|
+
- lib/towncrier.rb
|
80
|
+
- MIT-LICENSE
|
81
|
+
- Rakefile
|
82
|
+
- README.md
|
83
|
+
- test/dummy/app/assets/javascripts/application.js
|
84
|
+
- test/dummy/app/assets/stylesheets/application.css
|
85
|
+
- test/dummy/app/controllers/application_controller.rb
|
86
|
+
- test/dummy/app/helpers/application_helper.rb
|
87
|
+
- test/dummy/app/views/layouts/application.html.erb
|
88
|
+
- test/dummy/bin/bundle
|
89
|
+
- test/dummy/bin/rails
|
90
|
+
- test/dummy/bin/rake
|
91
|
+
- test/dummy/config/application.rb
|
92
|
+
- test/dummy/config/boot.rb
|
93
|
+
- test/dummy/config/database.yml
|
94
|
+
- test/dummy/config/environment.rb
|
95
|
+
- test/dummy/config/environments/development.rb
|
96
|
+
- test/dummy/config/environments/production.rb
|
97
|
+
- test/dummy/config/environments/test.rb
|
98
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
99
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
100
|
+
- test/dummy/config/initializers/inflections.rb
|
101
|
+
- test/dummy/config/initializers/mime_types.rb
|
102
|
+
- test/dummy/config/initializers/secret_token.rb
|
103
|
+
- test/dummy/config/initializers/session_store.rb
|
104
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
105
|
+
- test/dummy/config/locales/en.yml
|
106
|
+
- test/dummy/config/routes.rb
|
107
|
+
- test/dummy/config.ru
|
108
|
+
- test/dummy/db/development.sqlite3
|
109
|
+
- test/dummy/db/test.sqlite3
|
110
|
+
- test/dummy/log/development.log
|
111
|
+
- test/dummy/public/404.html
|
112
|
+
- test/dummy/public/422.html
|
113
|
+
- test/dummy/public/500.html
|
114
|
+
- test/dummy/public/favicon.ico
|
115
|
+
- test/dummy/Rakefile
|
116
|
+
- test/dummy/README.rdoc
|
117
|
+
- test/test_helper.rb
|
118
|
+
- test/towncrier_test.rb
|
119
|
+
homepage: https://github.com/davidlesches/towncrier
|
120
|
+
licenses: []
|
121
|
+
metadata: {}
|
122
|
+
post_install_message:
|
123
|
+
rdoc_options: []
|
124
|
+
require_paths:
|
125
|
+
- lib
|
126
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
127
|
+
requirements:
|
128
|
+
- - ! '>='
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
version: '0'
|
131
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
132
|
+
requirements:
|
133
|
+
- - ! '>='
|
134
|
+
- !ruby/object:Gem::Version
|
135
|
+
version: '0'
|
136
|
+
requirements: []
|
137
|
+
rubyforge_project:
|
138
|
+
rubygems_version: 2.1.9
|
139
|
+
signing_key:
|
140
|
+
specification_version: 4
|
141
|
+
summary: Pub/Sub Notifications for Rails Apps
|
142
|
+
test_files:
|
143
|
+
- test/dummy/app/assets/javascripts/application.js
|
144
|
+
- test/dummy/app/assets/stylesheets/application.css
|
145
|
+
- test/dummy/app/controllers/application_controller.rb
|
146
|
+
- test/dummy/app/helpers/application_helper.rb
|
147
|
+
- test/dummy/app/views/layouts/application.html.erb
|
148
|
+
- test/dummy/bin/bundle
|
149
|
+
- test/dummy/bin/rails
|
150
|
+
- test/dummy/bin/rake
|
151
|
+
- test/dummy/config/application.rb
|
152
|
+
- test/dummy/config/boot.rb
|
153
|
+
- test/dummy/config/database.yml
|
154
|
+
- test/dummy/config/environment.rb
|
155
|
+
- test/dummy/config/environments/development.rb
|
156
|
+
- test/dummy/config/environments/production.rb
|
157
|
+
- test/dummy/config/environments/test.rb
|
158
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
159
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
160
|
+
- test/dummy/config/initializers/inflections.rb
|
161
|
+
- test/dummy/config/initializers/mime_types.rb
|
162
|
+
- test/dummy/config/initializers/secret_token.rb
|
163
|
+
- test/dummy/config/initializers/session_store.rb
|
164
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
165
|
+
- test/dummy/config/locales/en.yml
|
166
|
+
- test/dummy/config/routes.rb
|
167
|
+
- test/dummy/config.ru
|
168
|
+
- test/dummy/db/development.sqlite3
|
169
|
+
- test/dummy/db/test.sqlite3
|
170
|
+
- test/dummy/log/development.log
|
171
|
+
- test/dummy/public/404.html
|
172
|
+
- test/dummy/public/422.html
|
173
|
+
- test/dummy/public/500.html
|
174
|
+
- test/dummy/public/favicon.ico
|
175
|
+
- test/dummy/Rakefile
|
176
|
+
- test/dummy/README.rdoc
|
177
|
+
- test/test_helper.rb
|
178
|
+
- test/towncrier_test.rb
|