watchdocs-rails 0.4.5 → 0.4.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +9 -3
- data/lib/watchdocs/rails/version.rb +1 -1
- data/watchdocs-rails.gemspec +1 -1
- metadata +9 -5
- data/watchdocs-rails-0.1.0.gem +0 -0
- data/watchdocs-rails-0.1.1.gem +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6dcf0c065bed8e1747b77e24d2c46070478ed6eb
|
4
|
+
data.tar.gz: 2c67516e0a5d5f5c9c4dd91cdbcbd53936bed3a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 661a88417ee80260e69213cc9931d46e7c8a2f846729f47e4121570afebd5b1db7421fef8c1763294c4d5fb3fed433aa2f4c7e6dbc67512309af1abf2840b0c8
|
7
|
+
data.tar.gz: 8ca057ac30025b78599582fccc4fe01ed1942d3c373d36f790eb403ec31f529a811bca82dc0a061384edf34646a59cd108b768df95dd582f26843fca7767c77a
|
data/README.md
CHANGED
@@ -104,15 +104,21 @@ end
|
|
104
104
|
|
105
105
|
### Development (manual tests)
|
106
106
|
|
107
|
-
If you don't have any request specs yet
|
107
|
+
If you don't have any request specs yet, you can add the following line to `config/environments/development.rb`.
|
108
108
|
|
109
109
|
```ruby
|
110
110
|
config.middleware.insert(0, Watchdocs::Rails::Middleware)
|
111
111
|
```
|
112
112
|
|
113
|
-
|
113
|
+
To make sure we will receive all recorded request please add this worker command to your `Procfile` or run it manually:
|
114
114
|
|
115
|
-
|
115
|
+
```
|
116
|
+
watchdocs --every 60.seconds
|
117
|
+
```
|
118
|
+
|
119
|
+
Watchdocs will be recording all requests in your development environment during manual tests and export them every `buffer_size` requests and every 60 seconds (you can adjust the frequency to your needs).
|
120
|
+
|
121
|
+
You can of course enable the middleware in any other environment like `dev` or `staging`.
|
116
122
|
|
117
123
|
|
118
124
|
## Versioning
|
data/watchdocs-rails.gemspec
CHANGED
@@ -30,6 +30,6 @@ Gem::Specification.new do |spec|
|
|
30
30
|
spec.add_development_dependency 'rake', '~> 10.0'
|
31
31
|
spec.add_runtime_dependency 'httparty', '~> 0', '>= 0.10'
|
32
32
|
spec.add_runtime_dependency 'configurations', '~> 2.0'
|
33
|
-
spec.add_runtime_dependency 'activesupport', '
|
33
|
+
spec.add_runtime_dependency 'activesupport', '>4', '<6'
|
34
34
|
spec.add_runtime_dependency 'recurrent', '~> 0.4'
|
35
35
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: watchdocs-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- mazikwyry
|
@@ -76,16 +76,22 @@ dependencies:
|
|
76
76
|
name: activesupport
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|
78
78
|
requirements:
|
79
|
-
- - "
|
79
|
+
- - ">"
|
80
80
|
- !ruby/object:Gem::Version
|
81
81
|
version: '4'
|
82
|
+
- - "<"
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: '6'
|
82
85
|
type: :runtime
|
83
86
|
prerelease: false
|
84
87
|
version_requirements: !ruby/object:Gem::Requirement
|
85
88
|
requirements:
|
86
|
-
- - "
|
89
|
+
- - ">"
|
87
90
|
- !ruby/object:Gem::Version
|
88
91
|
version: '4'
|
92
|
+
- - "<"
|
93
|
+
- !ruby/object:Gem::Version
|
94
|
+
version: '6'
|
89
95
|
- !ruby/object:Gem::Dependency
|
90
96
|
name: recurrent
|
91
97
|
requirement: !ruby/object:Gem::Requirement
|
@@ -140,8 +146,6 @@ files:
|
|
140
146
|
- lib/watchdocs/rails/recordings/exporter.rb
|
141
147
|
- lib/watchdocs/rails/recordings/recorder.rb
|
142
148
|
- lib/watchdocs/rails/version.rb
|
143
|
-
- watchdocs-rails-0.1.0.gem
|
144
|
-
- watchdocs-rails-0.1.1.gem
|
145
149
|
- watchdocs-rails.gemspec
|
146
150
|
homepage: http://watchdocs.io
|
147
151
|
licenses:
|
data/watchdocs-rails-0.1.0.gem
DELETED
Binary file
|
data/watchdocs-rails-0.1.1.gem
DELETED
Binary file
|