watchdocs-rails 0.4.5 → 0.4.6

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: aea1771d37233523fe93ded7c3fa5f4023e3675f
4
- data.tar.gz: 0b166d282b28d1432533fd34096db14c9a572860
3
+ metadata.gz: 6dcf0c065bed8e1747b77e24d2c46070478ed6eb
4
+ data.tar.gz: 2c67516e0a5d5f5c9c4dd91cdbcbd53936bed3a2
5
5
  SHA512:
6
- metadata.gz: 76eb49a676d7e16ea8134cc87fbbbc01dadabe03683241832758366911b4aec97f12bf180be862e08176dc23cd7ffc25ab3df4a7465201db6783a91909da3b2e
7
- data.tar.gz: 86757c8aa5da5ca577836cf99a9dbb9615362967ee4bc2f56bad49be0770a3d699bdc3e744f404d938a44f1021b6da229c529f4c92da428455d62476072c18a3
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. You can add the following line to `config/environments/development.rb`.
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
- If your app doesn't make a lot of JSON requests please set `buffer_size` to lower number (f.e. 10, it's 50 by default). Watchdocs will be recording all requests in your development environment during manual tests.
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
- You can of course enable the middleware in any other environment like dev or staging
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
@@ -1,5 +1,5 @@
1
1
  module Watchdocs
2
2
  module Rails
3
- VERSION = '0.4.5'
3
+ VERSION = '0.4.6'
4
4
  end
5
5
  end
@@ -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', '~> 4'
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.5
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:
Binary file
Binary file