snoop 0.9.1 → 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/Rakefile +10 -2
- data/lib/snoop/http_notifier.rb +1 -0
- data/lib/snoop/notifier.rb +1 -0
- data/lib/snoop/version.rb +1 -1
- data/snoop.gemspec +1 -0
- data/spec/support/http_server.rb +1 -1
- metadata +16 -3
- data/Gemfile.lock +0 -67
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ee7ce5010a3a03c404383d67a5f0327fcab94e23
|
4
|
+
data.tar.gz: acf2732c1029a170581059c5793eff48cbd2ba57
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2cba57180c302078268db4f1899edf765d3eb5a6a809f7a164c4c15503094ff2dba9615305e7b0eccb54296ac770422e3f7aa5dcbd2a8d12e7946725bf3df18f
|
7
|
+
data.tar.gz: b80eb2703dcba6615c82d8837e48b5a558c6bdc9ce18d3248352900241613135df3c51dfc6b5854f528049075526f43e73ce792071ddbaa6e016348db8e6461e
|
data/README.md
CHANGED
@@ -174,7 +174,7 @@ $ gem install snoop
|
|
174
174
|
|
175
175
|
1. Fork it
|
176
176
|
2. Create your feature branch (`git checkout -b my-new-feature`)
|
177
|
-
3. Commit your changes (`git commit -am 'Add some feature'`)
|
177
|
+
3. Commit your changes, with tests (`git commit -am 'Add some feature'`)
|
178
178
|
4. Run the tests (`bundle exec rake spec`)
|
179
179
|
5. Push to the branch (`git push origin my-new-feature`)
|
180
180
|
6. Create new Pull Request
|
data/Rakefile
CHANGED
@@ -1,8 +1,16 @@
|
|
1
1
|
require 'bundler/gem_tasks'
|
2
2
|
require 'rspec/core/rake_task'
|
3
|
+
require 'cane/rake_task'
|
3
4
|
|
4
|
-
|
5
|
-
|
5
|
+
desc 'Run all tests'
|
6
|
+
RSpec::Core::RakeTask.new(:spec) do |task|
|
7
|
+
task.rspec_opts = '--color --order random'
|
8
|
+
end
|
9
|
+
|
10
|
+
desc 'Check code quality'
|
11
|
+
Cane::RakeTask.new(:quality) do |task|
|
12
|
+
task.abc_max = 9
|
6
13
|
end
|
7
14
|
|
8
15
|
task default: :spec
|
16
|
+
task default: :quality
|
data/lib/snoop/http_notifier.rb
CHANGED
data/lib/snoop/notifier.rb
CHANGED
data/lib/snoop/version.rb
CHANGED
data/snoop.gemspec
CHANGED
@@ -21,6 +21,7 @@ Gem::Specification.new do |spec|
|
|
21
21
|
spec.add_development_dependency 'bundler', '~> 1.3'
|
22
22
|
spec.add_development_dependency 'rake'
|
23
23
|
spec.add_development_dependency 'rspec'
|
24
|
+
spec.add_development_dependency 'cane'
|
24
25
|
spec.add_development_dependency 'coveralls'
|
25
26
|
spec.add_development_dependency 'thin'
|
26
27
|
spec.add_development_dependency 'sinatra'
|
data/spec/support/http_server.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: snoop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Hunt
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-04-
|
11
|
+
date: 2013-04-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -52,6 +52,20 @@ dependencies:
|
|
52
52
|
- - '>='
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: cane
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: coveralls
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -132,7 +146,6 @@ files:
|
|
132
146
|
- .gitignore
|
133
147
|
- .travis.yml
|
134
148
|
- Gemfile
|
135
|
-
- Gemfile.lock
|
136
149
|
- LICENSE.txt
|
137
150
|
- README.md
|
138
151
|
- Rakefile
|
data/Gemfile.lock
DELETED
@@ -1,67 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
snoop (0.9.1)
|
5
|
-
httparty
|
6
|
-
nokogiri
|
7
|
-
|
8
|
-
GEM
|
9
|
-
remote: https://rubygems.org/
|
10
|
-
specs:
|
11
|
-
colorize (0.5.8)
|
12
|
-
coveralls (0.6.5)
|
13
|
-
colorize
|
14
|
-
multi_json (~> 1.3)
|
15
|
-
rest-client
|
16
|
-
simplecov (>= 0.7)
|
17
|
-
thor
|
18
|
-
daemons (1.1.9)
|
19
|
-
diff-lcs (1.2.2)
|
20
|
-
eventmachine (1.0.3)
|
21
|
-
httparty (0.10.2)
|
22
|
-
multi_json (~> 1.0)
|
23
|
-
multi_xml (>= 0.5.2)
|
24
|
-
mime-types (1.22)
|
25
|
-
multi_json (1.7.2)
|
26
|
-
multi_xml (0.5.3)
|
27
|
-
nokogiri (1.5.9)
|
28
|
-
rack (1.5.2)
|
29
|
-
rack-protection (1.5.0)
|
30
|
-
rack
|
31
|
-
rake (10.0.4)
|
32
|
-
rest-client (1.6.7)
|
33
|
-
mime-types (>= 1.16)
|
34
|
-
rspec (2.13.0)
|
35
|
-
rspec-core (~> 2.13.0)
|
36
|
-
rspec-expectations (~> 2.13.0)
|
37
|
-
rspec-mocks (~> 2.13.0)
|
38
|
-
rspec-core (2.13.1)
|
39
|
-
rspec-expectations (2.13.0)
|
40
|
-
diff-lcs (>= 1.1.3, < 2.0)
|
41
|
-
rspec-mocks (2.13.1)
|
42
|
-
simplecov (0.7.1)
|
43
|
-
multi_json (~> 1.0)
|
44
|
-
simplecov-html (~> 0.7.1)
|
45
|
-
simplecov-html (0.7.1)
|
46
|
-
sinatra (1.4.2)
|
47
|
-
rack (~> 1.5, >= 1.5.2)
|
48
|
-
rack-protection (~> 1.4)
|
49
|
-
tilt (~> 1.3, >= 1.3.4)
|
50
|
-
thin (1.5.1)
|
51
|
-
daemons (>= 1.0.9)
|
52
|
-
eventmachine (>= 0.12.6)
|
53
|
-
rack (>= 1.0.0)
|
54
|
-
thor (0.18.1)
|
55
|
-
tilt (1.3.6)
|
56
|
-
|
57
|
-
PLATFORMS
|
58
|
-
ruby
|
59
|
-
|
60
|
-
DEPENDENCIES
|
61
|
-
bundler (~> 1.3)
|
62
|
-
coveralls
|
63
|
-
rake
|
64
|
-
rspec
|
65
|
-
sinatra
|
66
|
-
snoop!
|
67
|
-
thin
|