logster 2.1.0 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +19 -19
- data/.rubocop.yml +1 -1
- data/.travis.yml +16 -16
- data/CHANGELOG.md +169 -166
- data/Gemfile +4 -4
- data/Guardfile +8 -8
- data/LICENSE.txt +22 -22
- data/README.md +99 -99
- data/Rakefile +21 -21
- data/assets/fonts/FontAwesome.otf +0 -0
- data/assets/fonts/fontawesome-webfont.eot +0 -0
- data/assets/fonts/fontawesome-webfont.svg +639 -639
- data/assets/fonts/fontawesome-webfont.ttf +0 -0
- data/assets/fonts/fontawesome-webfont.woff +0 -0
- data/assets/fonts/fontawesome-webfont.woff2 +0 -0
- data/assets/images/Icon-144_rounded.png +0 -0
- data/assets/images/Icon-144_square.png +0 -0
- data/assets/images/icon_144x144.png +0 -0
- data/assets/images/icon_64x64.png +0 -0
- data/assets/javascript/client-app.js +100 -100
- data/assets/stylesheets/client-app.css +0 -0
- data/build_client_app.sh +0 -0
- data/client-app/.editorconfig +20 -20
- data/client-app/.ember-cli +9 -9
- data/client-app/.eslintignore +19 -19
- data/client-app/.eslintrc.js +46 -46
- data/client-app/.gitignore +23 -23
- data/client-app/.travis.yml +27 -27
- data/client-app/.watchmanconfig +3 -3
- data/client-app/README.md +57 -57
- data/client-app/app/app.js +14 -14
- data/client-app/app/components/actions-menu.js +37 -37
- data/client-app/app/components/env-tab.js +44 -44
- data/client-app/app/components/message-info.js +65 -65
- data/client-app/app/components/message-row.js +45 -45
- data/client-app/app/components/panel-resizer.js +74 -74
- data/client-app/app/components/tab-contents.js +27 -27
- data/client-app/app/components/tab-link.js +5 -5
- data/client-app/app/components/tabbed-section.js +32 -32
- data/client-app/app/components/time-formatter.js +25 -25
- data/client-app/app/components/update-time.js +21 -21
- data/client-app/app/controllers/index.js +105 -105
- data/client-app/app/controllers/show.js +13 -13
- data/client-app/app/index.html +29 -29
- data/client-app/app/initializers/app-init.js +72 -72
- data/client-app/app/lib/preload.js +14 -14
- data/client-app/app/lib/utilities.js +140 -140
- data/client-app/app/models/message-collection.js +178 -178
- data/client-app/app/models/message.js +100 -100
- data/client-app/app/resolver.js +3 -3
- data/client-app/app/router.js +14 -14
- data/client-app/app/routes/index.js +57 -57
- data/client-app/app/routes/show.js +14 -14
- data/client-app/app/styles/app.css +521 -521
- data/client-app/app/templates/application.hbs +2 -2
- data/client-app/app/templates/components/actions-menu.hbs +12 -12
- data/client-app/app/templates/components/env-tab.hbs +10 -10
- data/client-app/app/templates/components/message-info.hbs +41 -41
- data/client-app/app/templates/components/message-row.hbs +15 -15
- data/client-app/app/templates/components/panel-resizer.hbs +3 -3
- data/client-app/app/templates/components/tabbed-section.hbs +10 -10
- data/client-app/app/templates/components/time-formatter.hbs +1 -1
- data/client-app/app/templates/index.hbs +58 -58
- data/client-app/app/templates/show.hbs +7 -7
- data/client-app/config/environment.js +51 -51
- data/client-app/config/optional-features.json +3 -3
- data/client-app/config/targets.js +18 -18
- data/client-app/ember-cli-build.js +29 -29
- data/client-app/package-lock.json +11365 -11365
- data/client-app/package.json +56 -56
- data/client-app/testem.js +25 -25
- data/client-app/tests/index.html +34 -34
- data/client-app/tests/integration/components/actions-menu-test.js +26 -26
- data/client-app/tests/integration/components/env-tab-test.js +73 -73
- data/client-app/tests/integration/components/message-info-test.js +26 -26
- data/client-app/tests/integration/components/message-row-test.js +26 -26
- data/client-app/tests/integration/components/panel-resizer-test.js +26 -26
- data/client-app/tests/integration/components/tab-contents-test.js +26 -26
- data/client-app/tests/integration/components/tab-link-test.js +26 -26
- data/client-app/tests/integration/components/tabbed-section-test.js +26 -26
- data/client-app/tests/integration/components/time-formatter-test.js +26 -26
- data/client-app/tests/integration/components/update-time-test.js +26 -26
- data/client-app/tests/test-helper.js +8 -8
- data/client-app/tests/unit/controllers/index-test.js +12 -12
- data/client-app/tests/unit/controllers/show-test.js +12 -12
- data/client-app/tests/unit/initializers/app-init-test.js +31 -31
- data/client-app/tests/unit/routes/index-test.js +11 -11
- data/client-app/tests/unit/routes/show-test.js +11 -11
- data/lib/examples/sidekiq_logster_reporter.rb +21 -21
- data/lib/logster.rb +54 -54
- data/lib/logster/base_store.rb +141 -141
- data/lib/logster/configuration.rb +25 -25
- data/lib/logster/defer_logger.rb +14 -14
- data/lib/logster/ignore_pattern.rb +65 -65
- data/lib/logster/logger.rb +113 -113
- data/lib/logster/message.rb +212 -212
- data/lib/logster/middleware/debug_exceptions.rb +26 -26
- data/lib/logster/middleware/reporter.rb +55 -55
- data/lib/logster/middleware/viewer.rb +221 -221
- data/lib/logster/rails/railtie.rb +63 -63
- data/lib/logster/redis_store.rb +566 -566
- data/lib/logster/scheduler.rb +54 -40
- data/lib/logster/version.rb +3 -3
- data/lib/logster/web.rb +14 -14
- data/logster.gemspec +35 -35
- data/test/examples/test_sidekiq_reporter_example.rb +46 -46
- data/test/fake_data/Gemfile +4 -4
- data/test/fake_data/generate.rb +10 -10
- data/test/logster/middleware/test_reporter.rb +19 -19
- data/test/logster/middleware/test_viewer.rb +96 -96
- data/test/logster/test_base_store.rb +147 -147
- data/test/logster/test_defer_logger.rb +34 -34
- data/test/logster/test_ignore_pattern.rb +41 -41
- data/test/logster/test_logger.rb +86 -86
- data/test/logster/test_message.rb +119 -119
- data/test/logster/test_redis_rate_limiter.rb +230 -230
- data/test/logster/test_redis_store.rb +720 -720
- data/test/test_helper.rb +38 -38
- data/vendor/assets/javascripts/logster.js.erb +39 -39
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 21a3d58a99b5138f8d0dabf59530e48f0347ab731ff2381dcb48a29f37475760
|
4
|
+
data.tar.gz: '0796872b1e58eff77d6753a8505725e2c2ede17f0c06d745fb8e0886ab90a257'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 684231cab01c02506e5cef41d79307b36ec17bffcccc10ce8c6baf7869791d3d1b5ff2599e6601514184db126272a5beb6bb12e5a0410294a90f5f127b30a374
|
7
|
+
data.tar.gz: dc7165c9b2ede358cc718a48acf94567d279220825bc18060b766002c3df8527a715a5c672936d81d37090252eddca3a49eb8b58a1a65ff3cb476caf8282340f
|
data/.gitignore
CHANGED
@@ -1,19 +1,19 @@
|
|
1
|
-
*.gem
|
2
|
-
*.rbc
|
3
|
-
.bundle
|
4
|
-
.config
|
5
|
-
.yardoc
|
6
|
-
Gemfile.lock
|
7
|
-
InstalledFiles
|
8
|
-
_yardoc
|
9
|
-
coverage
|
10
|
-
doc/
|
11
|
-
lib/bundler/man
|
12
|
-
pkg
|
13
|
-
rdoc
|
14
|
-
spec/reports
|
15
|
-
test/tmp
|
16
|
-
test/version_tmp
|
17
|
-
tmp
|
18
|
-
.byebug_history
|
19
|
-
.rubocop-https---raw-githubusercontent-com-discourse-discourse-master--rubocop-yml
|
1
|
+
*.gem
|
2
|
+
*.rbc
|
3
|
+
.bundle
|
4
|
+
.config
|
5
|
+
.yardoc
|
6
|
+
Gemfile.lock
|
7
|
+
InstalledFiles
|
8
|
+
_yardoc
|
9
|
+
coverage
|
10
|
+
doc/
|
11
|
+
lib/bundler/man
|
12
|
+
pkg
|
13
|
+
rdoc
|
14
|
+
spec/reports
|
15
|
+
test/tmp
|
16
|
+
test/version_tmp
|
17
|
+
tmp
|
18
|
+
.byebug_history
|
19
|
+
.rubocop-https---raw-githubusercontent-com-discourse-discourse-master--rubocop-yml
|
data/.rubocop.yml
CHANGED
@@ -1 +1 @@
|
|
1
|
-
inherit_from: https://raw.githubusercontent.com/discourse/discourse/master/.rubocop.yml
|
1
|
+
inherit_from: https://raw.githubusercontent.com/discourse/discourse/master/.rubocop.yml
|
data/.travis.yml
CHANGED
@@ -1,16 +1,16 @@
|
|
1
|
-
language: ruby
|
2
|
-
|
3
|
-
matrix:
|
4
|
-
fast_finish: true
|
5
|
-
|
6
|
-
rvm:
|
7
|
-
- 2.3.4
|
8
|
-
- 2.5.3
|
9
|
-
|
10
|
-
services:
|
11
|
-
- redis-server
|
12
|
-
|
13
|
-
before_install:
|
14
|
-
- gem install bundler -v 1.17.2
|
15
|
-
|
16
|
-
sudo: false
|
1
|
+
language: ruby
|
2
|
+
|
3
|
+
matrix:
|
4
|
+
fast_finish: true
|
5
|
+
|
6
|
+
rvm:
|
7
|
+
- 2.3.4
|
8
|
+
- 2.5.3
|
9
|
+
|
10
|
+
services:
|
11
|
+
- redis-server
|
12
|
+
|
13
|
+
before_install:
|
14
|
+
- gem install bundler -v 1.17.2
|
15
|
+
|
16
|
+
sudo: false
|
data/CHANGELOG.md
CHANGED
@@ -1,166 +1,169 @@
|
|
1
|
-
# CHANGELOG
|
2
|
-
|
3
|
-
- 2019-02-
|
4
|
-
- FEATURE
|
5
|
-
|
6
|
-
- 2019-02-
|
7
|
-
-
|
8
|
-
|
9
|
-
- 2019-
|
10
|
-
- FIX:
|
11
|
-
|
12
|
-
|
13
|
-
-
|
14
|
-
|
15
|
-
-
|
16
|
-
-
|
17
|
-
|
18
|
-
|
19
|
-
-
|
20
|
-
-
|
21
|
-
|
22
|
-
-
|
23
|
-
- FIX:
|
24
|
-
|
25
|
-
|
26
|
-
-
|
27
|
-
-
|
28
|
-
|
29
|
-
- 2018-12-
|
30
|
-
-
|
31
|
-
|
32
|
-
- 2018-
|
33
|
-
-
|
34
|
-
|
35
|
-
- 2018-11-09: Version 1.3.
|
36
|
-
- Feature:
|
37
|
-
|
38
|
-
|
39
|
-
-
|
40
|
-
- Feature:
|
41
|
-
|
42
|
-
-
|
43
|
-
-
|
44
|
-
|
45
|
-
- 2017-
|
46
|
-
-
|
47
|
-
|
48
|
-
-
|
49
|
-
-
|
50
|
-
|
51
|
-
- 2016-
|
52
|
-
- Fix:
|
53
|
-
|
54
|
-
- 2016-
|
55
|
-
- Fix:
|
56
|
-
|
57
|
-
- 2016-05-05: Version 1.2.
|
58
|
-
- Fix:
|
59
|
-
|
60
|
-
|
61
|
-
-
|
62
|
-
- Fix:
|
63
|
-
|
64
|
-
|
65
|
-
-
|
66
|
-
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
-
|
71
|
-
-
|
72
|
-
|
73
|
-
|
74
|
-
-
|
75
|
-
- Feature:
|
76
|
-
|
77
|
-
-
|
78
|
-
-
|
79
|
-
|
80
|
-
|
81
|
-
-
|
82
|
-
|
83
|
-
-
|
84
|
-
-
|
85
|
-
|
86
|
-
|
87
|
-
-
|
88
|
-
- Feature:
|
89
|
-
- Feature:
|
90
|
-
- Feature:
|
91
|
-
-
|
92
|
-
- Feature:
|
93
|
-
- Feature:
|
94
|
-
- UX: use
|
95
|
-
-
|
96
|
-
- Feature:
|
97
|
-
-
|
98
|
-
|
99
|
-
-
|
100
|
-
-
|
101
|
-
|
102
|
-
|
103
|
-
-
|
104
|
-
- Add hostname and process_id to env on all messages
|
105
|
-
|
106
|
-
- 2015-
|
107
|
-
-
|
108
|
-
|
109
|
-
- 2015-
|
110
|
-
-
|
111
|
-
|
112
|
-
|
113
|
-
-
|
114
|
-
-
|
115
|
-
|
116
|
-
-
|
117
|
-
-
|
118
|
-
|
119
|
-
- 2014-08-
|
120
|
-
-
|
121
|
-
|
122
|
-
|
123
|
-
-
|
124
|
-
- Fix crash in
|
125
|
-
|
126
|
-
- 2014-08-
|
127
|
-
- Fix crash in
|
128
|
-
|
129
|
-
- 2014-
|
130
|
-
-
|
131
|
-
|
132
|
-
|
133
|
-
-
|
134
|
-
-
|
135
|
-
|
136
|
-
-
|
137
|
-
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
-
|
142
|
-
-
|
143
|
-
|
144
|
-
|
145
|
-
-
|
146
|
-
-
|
147
|
-
|
148
|
-
- 2014-05-13: Version 0.0.
|
149
|
-
-
|
150
|
-
|
151
|
-
- 2014-05-13: Version 0.0.
|
152
|
-
-
|
153
|
-
|
154
|
-
- 2014-05-
|
155
|
-
- Add
|
156
|
-
|
157
|
-
- 2014-05-12: Version 0.0.
|
158
|
-
-
|
159
|
-
|
160
|
-
|
161
|
-
-
|
162
|
-
-
|
163
|
-
|
164
|
-
|
165
|
-
-
|
166
|
-
-
|
1
|
+
# CHANGELOG
|
2
|
+
|
3
|
+
- 2019-02-21: Version 2.1.1
|
4
|
+
- FEATURE: allow defer logger to be disabled as Ruby 2.5.3 can segfault with defer logger due to a bug in Ruby. To disable run `Logster::Scheduler.disable`
|
5
|
+
|
6
|
+
- 2019-02-13: Version 2.1.0
|
7
|
+
- FEATURE/DEV: adds a defer logger that will do logging asynchronously only in dev environments. It should speed things up a little in dev.
|
8
|
+
|
9
|
+
- 2019-02-05: Version 2.0.1
|
10
|
+
- FIX: env line height issue on iOS
|
11
|
+
|
12
|
+
- 2019-01-17: Version 2.0.0.pre
|
13
|
+
- FIX: don't merge any new env samples if there are 50 samples (1.4.0.pre regression)
|
14
|
+
- UX: make env navigation controls stick to the top when scrolled
|
15
|
+
- PERF: store env samples separately from the rest of message data
|
16
|
+
- DEV: Rubocop
|
17
|
+
|
18
|
+
- 2019-01-09: Version 1.4.0.pre
|
19
|
+
- FEATURE: allow navigation through merged errors
|
20
|
+
- FEATURE: search should look at env
|
21
|
+
- FIX: deselect message if new filtering doesn't include selected message
|
22
|
+
- UX: don't give timestamps more space than they need; use `div`s with flexbox instead of `table`
|
23
|
+
- FIX: hide "load more" when there are no more messages and filters/search applied
|
24
|
+
|
25
|
+
- 2018-12-30: Version 1.3.4
|
26
|
+
- FIX: linear-gradient issue on iOS
|
27
|
+
- FIX: actions menu should have highest z-index
|
28
|
+
|
29
|
+
- 2018-12-26: Version 1.3.3
|
30
|
+
- Fix: fix double lines logs when date is too long
|
31
|
+
|
32
|
+
- 2018-12-25: Version 1.3.2
|
33
|
+
- UX: improve usability on mobile
|
34
|
+
|
35
|
+
- 2018-11-09: Version 1.3.1
|
36
|
+
- Feature: auto scrub invalid messages reported to logger
|
37
|
+
|
38
|
+
- 2018-11-09: Version 1.3.0
|
39
|
+
- Feature: upgrade Ember to 3.5.1
|
40
|
+
- Feature: remove inline JS for CSP compliance
|
41
|
+
|
42
|
+
- 2018-08-13: Version 1.2.10
|
43
|
+
- Feature: expose chained loggers in Logster::Logger
|
44
|
+
|
45
|
+
- 2017-10-27: Version 1.2.8
|
46
|
+
- Fix: `Logster::Middleware::DebugExceptions` is passed a request in Rails 5 instead of the env.
|
47
|
+
|
48
|
+
- 2017-01-30: Version 1.2.7
|
49
|
+
- Feature: Add override_level to Logster::Logger allowing for threadsafe logger override
|
50
|
+
|
51
|
+
- 2016-10-24: Version 1.2.6
|
52
|
+
- Fix: Check if `Rails.env` is defined when using Logster in a none Rails project.
|
53
|
+
|
54
|
+
- 2016-07-11: Version 1.2.5
|
55
|
+
- Fix: Chained `Logster::Logger` logger now receives backtrace as well.
|
56
|
+
|
57
|
+
- 2016-05-05: Version 1.2.4
|
58
|
+
- Fix: XSS in log message show if attacker can inject script into ENV
|
59
|
+
|
60
|
+
- 2016-05-05: Version 1.2.3
|
61
|
+
- Fix: clear_all now also clears rate limits
|
62
|
+
- Fix: protect against corrupt data in redis during clear
|
63
|
+
|
64
|
+
- 2016-03-22: Version 1.2.2
|
65
|
+
- Fix: Conflicting attributes and method name for `Logster::RedisStore#rate_limits`.
|
66
|
+
- Fix: Rate limit checker was tracking limits too early. It should only track when a message has been bumped or saved.
|
67
|
+
|
68
|
+
- 2016-03-22: Version 1.2.1
|
69
|
+
- Feature: Add method to retrieve current rate from rate limiters.
|
70
|
+
- Feature: Make `RedisStore#rate_limits` readable.
|
71
|
+
- Feature: Make `RedisRateLimiter#callback` and `RedisRateLimiter#duration` readable.
|
72
|
+
|
73
|
+
- 2016-03-18: Version 1.2.0
|
74
|
+
- Fix: Move Redis configuration into RedisStore.
|
75
|
+
- Feature: Allow `RedisStore#redis_prefix` to either be a String or a Proc.
|
76
|
+
|
77
|
+
- 2016-02-11: Version 1.1.1
|
78
|
+
- Feature: Error rate can now be tracked in one minute and one hour buckets.
|
79
|
+
|
80
|
+
- 2015-11-27: Version 1.0.1
|
81
|
+
- New assets and logster logo
|
82
|
+
- Added favicon
|
83
|
+
- Added title
|
84
|
+
- Use rails logger instead of invoking store
|
85
|
+
|
86
|
+
- 2015-08-18: Version 0.9.9
|
87
|
+
- This marks the largest release of Logster to date, it has been in production use for quite a while, hence the version bump.
|
88
|
+
- Feature: automatically group errors in production mode, can be manually controlled via Logster.config.allow_grouping
|
89
|
+
- Feature: automatically track application version, can be manually controlled via Logster.config.application_version
|
90
|
+
- Feature: Font Awesome icons used throughout
|
91
|
+
- Feature: Ember upgrade to 1.13
|
92
|
+
- Feature: you can now "solve" a class of errors, if error has an application_version and backtrace. Once an error is solved it will no longer be reported for the "solved" application_versions
|
93
|
+
- Feature: allow users to delete a single error
|
94
|
+
- UX: use table for env
|
95
|
+
- Feature: display "protected" state of message in list
|
96
|
+
- Feature: use local times as opposed to relative times in time column
|
97
|
+
- UX: use Google Roboto font as opposed to system fonts
|
98
|
+
- UX: remove pointless titles from log table
|
99
|
+
- Feature: If Logster is in a background tab only poll once every 60 seconds (as opposed to 3)
|
100
|
+
- Fix: protect/unprotect redirected to show page
|
101
|
+
|
102
|
+
- 2015-06-16: Version 0.8.3
|
103
|
+
- Chained loggers now respect chain ignore
|
104
|
+
- Add hostname and process_id to env on all messages
|
105
|
+
|
106
|
+
- 2015-06-10: Version 0.8.2
|
107
|
+
- Add hostname and process_id to env on all messages
|
108
|
+
|
109
|
+
- 2015-05-01: Version 0.8.1
|
110
|
+
- Don't crash out logging routine if redis is down or stderr is closed
|
111
|
+
|
112
|
+
- 2015-04-16: Version 0.8.0
|
113
|
+
- Improve formatting of /show page
|
114
|
+
- Big version bump cause it is quite stable
|
115
|
+
|
116
|
+
- 2015-02-27: Version 0.1.7
|
117
|
+
- Fix invalid request on ?test
|
118
|
+
|
119
|
+
- 2014-08-05: Version 0.1.3
|
120
|
+
- Automatically include ignore filter
|
121
|
+
|
122
|
+
- 2014-08-13: Version 0.1.6
|
123
|
+
- Simplify install process
|
124
|
+
- Fix crash on 404 in /logs dir
|
125
|
+
|
126
|
+
- 2014-08-10: Version 0.1.5
|
127
|
+
- Fix crash in Rails 3
|
128
|
+
|
129
|
+
- 2014-08-08: Version 0.1.4
|
130
|
+
- Fix crash in ignore filter
|
131
|
+
|
132
|
+
- 2014-07-17: Version 0.1.1
|
133
|
+
- Refactored report method into base_store.rb - will be easier to make a new log store
|
134
|
+
- Add link in UI to clear all (non-protected) logs
|
135
|
+
- Add example of submitting logs from Sidekiq jobs
|
136
|
+
- Show Protect/Share links on all tabs
|
137
|
+
- Render hashes provided via Logster.add_to_env
|
138
|
+
|
139
|
+
- 2014-07-04: Version 0.0.12
|
140
|
+
- Feature: Able to share logs, at /logs/show/(hexdigits)
|
141
|
+
- Add protecting logs, so they aren't deleted when old (for use with sharing)
|
142
|
+
- Restructured Redis data model
|
143
|
+
|
144
|
+
- 2014-05-24: Version 0.0.10
|
145
|
+
- Correct context for error reporting
|
146
|
+
- Clean up backtraces of reported exceptions
|
147
|
+
|
148
|
+
- 2014-05-13: Version 0.0.9
|
149
|
+
- Stray debugger message removed, add window.location logging to js
|
150
|
+
|
151
|
+
- 2014-05-13: Version 0.0.8
|
152
|
+
- Fix pacakging binstubs by mistake
|
153
|
+
|
154
|
+
- 2014-05-13: Version 0.0.7
|
155
|
+
- Add support for javascript exception logging
|
156
|
+
|
157
|
+
- 2014-05-12: Version 0.0.6
|
158
|
+
- Add referer to env
|
159
|
+
|
160
|
+
- 2014-05-12: Version 0.0.5
|
161
|
+
- Feature: We now log basic rack environment with the messages
|
162
|
+
- Add your own with Logster.add_to_env(env, key, value)
|
163
|
+
|
164
|
+
- 2014-05-07: Version 0.0.4
|
165
|
+
- Feature: Ability to ignore patterns with Logster.store.ignore = [/regex/]
|
166
|
+
- Feature: Store backtraces, allow people to view them in the GUI
|
167
|
+
|
168
|
+
- 2014-05-07: Started changelog :)
|
169
|
+
- Report params in env tab
|
data/Gemfile
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
source 'https://rubygems.org'
|
2
|
-
|
3
|
-
# Specify your gem's dependencies in rack-log-viewer.gemspec
|
4
|
-
gemspec
|
1
|
+
source 'https://rubygems.org'
|
2
|
+
|
3
|
+
# Specify your gem's dependencies in rack-log-viewer.gemspec
|
4
|
+
gemspec
|
data/Guardfile
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
# A sample Guardfile
|
2
|
-
# More info at https://github.com/guard/guard#readme
|
3
|
-
|
4
|
-
guard :minitest do
|
5
|
-
watch(%r{^test/(.*)\/?test_(.*)\.rb$})
|
6
|
-
watch(%r{^lib/(.*/)?([^/]+)\.rb$}) { |m| "test/#{m[1]}test_#{m[2]}.rb" }
|
7
|
-
watch(%r{^test/test_helper\.rb$}) { 'test' }
|
8
|
-
end
|
1
|
+
# A sample Guardfile
|
2
|
+
# More info at https://github.com/guard/guard#readme
|
3
|
+
|
4
|
+
guard :minitest do
|
5
|
+
watch(%r{^test/(.*)\/?test_(.*)\.rb$})
|
6
|
+
watch(%r{^lib/(.*/)?([^/]+)\.rb$}) { |m| "test/#{m[1]}test_#{m[2]}.rb" }
|
7
|
+
watch(%r{^test/test_helper\.rb$}) { 'test' }
|
8
|
+
end
|