sniff 0.8.4 → 0.8.5
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.
- data/lib/sniff.rb +7 -0
- data/lib/sniff/database.rb +2 -1
- data/lib/sniff/leap_ext.rb +41 -0
- data/lib/sniff/rake_tasks.rb +13 -1
- data/lib/sniff/version.rb +1 -1
- data/lib/sniff/watcher.rb +66 -0
- data/lib/test_support/cucumber/step_definitions/leap_steps.rb +4 -0
- data/spec/fixtures/dirigible/{lib/test_support → features/support}/db/fixtures/automobile_fuel_types.csv +0 -0
- data/spec/fixtures/dirigible/{lib/test_support → features/support}/db/fixtures/automobile_make_fleet_years.csv +0 -0
- data/spec/fixtures/dirigible/{lib/test_support → features/support}/db/fixtures/automobile_make_years.csv +0 -0
- data/spec/fixtures/dirigible/{lib/test_support → features/support}/db/fixtures/automobile_makes.csv +0 -0
- data/spec/fixtures/dirigible/{lib/test_support → features/support}/db/fixtures/automobile_model_years.csv +0 -0
- data/spec/fixtures/dirigible/{lib/test_support → features/support}/db/fixtures/automobile_models.csv +0 -0
- data/spec/fixtures/dirigible/{lib/test_support → features/support}/db/fixtures/automobile_size_classes.csv +0 -0
- data/spec/fixtures/dirigible/{lib/test_support → features/support}/db/fixtures/automobile_variants.csv +0 -0
- data/spec/fixtures/dirigible/{lib/test_support → features/support}/dirigible_record.rb +0 -0
- data/spec/fixtures/dirigible/lib/dirigible.rb +2 -31
- data/spec/fixtures/dirigible/lib/dirigible/carbon_model.rb +0 -2
- data/spec/lib/sniff/database_spec.rb +1 -1
- data/spec/lib/sniff/rake_tasks_spec.rb +11 -20
- data/spec/lib/sniff_spec.rb +12 -0
- metadata +71 -55
data/lib/sniff.rb
CHANGED
@@ -1,14 +1,21 @@
|
|
1
1
|
require 'data_miner'
|
2
2
|
require 'create_table'
|
3
|
+
require 'sniff/leap_ext'
|
3
4
|
require 'logger'
|
4
5
|
|
5
6
|
module Sniff
|
6
7
|
extend self
|
7
8
|
|
9
|
+
# Sniff's root directory (the gem's location on the filesystem)
|
8
10
|
def root
|
9
11
|
File.join(File.dirname(__FILE__), '..')
|
10
12
|
end
|
11
13
|
|
14
|
+
# Get a path relative to sniff's root
|
15
|
+
def path(*rest)
|
16
|
+
File.join(root, *rest)
|
17
|
+
end
|
18
|
+
|
12
19
|
def logger
|
13
20
|
@logger ||= Logger.new nil
|
14
21
|
end
|
data/lib/sniff/database.rb
CHANGED
@@ -19,7 +19,8 @@ module Sniff
|
|
19
19
|
environments << init_environment(local_root, options)
|
20
20
|
|
21
21
|
unless local_root == Sniff.root
|
22
|
-
|
22
|
+
fixtures_path = File.join(Sniff.root, 'lib', 'test_support', 'db', 'fixtures')
|
23
|
+
environments << init_environment(Sniff.root, :fixtures_path => fixtures_path)
|
23
24
|
end
|
24
25
|
|
25
26
|
environments.each { |e| e.populate_fixtures }
|
@@ -0,0 +1,41 @@
|
|
1
|
+
module Leap
|
2
|
+
module Trace
|
3
|
+
def trace
|
4
|
+
@deliberations.inject({}) do |delibs, (goal, deliberation)|
|
5
|
+
delibs[goal] = deliberation.reports.inject([]) do |reports, report|
|
6
|
+
item = {
|
7
|
+
:committee => report.committee.name,
|
8
|
+
:quorum => report.quorum.name,
|
9
|
+
:result => deliberation[report.committee.name].to_s,
|
10
|
+
}
|
11
|
+
|
12
|
+
item[:params] = report.quorum.characteristics.inject({}) do |hsh, name|
|
13
|
+
hsh[name] = deliberation[name].to_s
|
14
|
+
hsh
|
15
|
+
end
|
16
|
+
|
17
|
+
reports << item
|
18
|
+
end
|
19
|
+
delibs
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
def trace_report
|
24
|
+
trace.each do |goal, steps|
|
25
|
+
puts goal
|
26
|
+
if steps
|
27
|
+
steps.each do |step|
|
28
|
+
puts " #{step[:committee]} #{step[:quorum]}"
|
29
|
+
unless step[:params].empty?
|
30
|
+
puts " Params: "
|
31
|
+
step[:params].inspect.split("\n").each { |p| puts " #{p}" }
|
32
|
+
end
|
33
|
+
puts " Result: #{step[:result].inspect}\n"
|
34
|
+
end
|
35
|
+
else
|
36
|
+
puts " Not computed"
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
data/lib/sniff/rake_tasks.rb
CHANGED
@@ -11,7 +11,7 @@ module Sniff
|
|
11
11
|
new(&blk).define_tasks
|
12
12
|
end
|
13
13
|
|
14
|
-
attr_accessor :earth_domains, :cucumber, :rspec, :coverage, :rocco, :bueller
|
14
|
+
attr_accessor :earth_domains, :cucumber, :rspec, :coverage, :rocco, :bueller, :watchr
|
15
15
|
|
16
16
|
def initialize
|
17
17
|
self.earth_domains = :all
|
@@ -20,6 +20,7 @@ module Sniff
|
|
20
20
|
self.coverage = true
|
21
21
|
self.rocco = true
|
22
22
|
self.bueller = true
|
23
|
+
self.watchr = true
|
23
24
|
yield self if block_given?
|
24
25
|
end
|
25
26
|
|
@@ -211,6 +212,17 @@ module Sniff
|
|
211
212
|
require 'bueller'
|
212
213
|
Bueller::Tasks.new
|
213
214
|
end
|
215
|
+
|
216
|
+
if watchr
|
217
|
+
namespace :watch do
|
218
|
+
task :tests do
|
219
|
+
require 'watchr'
|
220
|
+
path = File.expand_path(Sniff.path(%w{lib sniff watcher.rb}))
|
221
|
+
script = Watchr::Script.new Pathname(path)
|
222
|
+
Watchr::Controller.new(script, Watchr.handler.new).run
|
223
|
+
end
|
224
|
+
end
|
225
|
+
end
|
214
226
|
end
|
215
227
|
end
|
216
228
|
end
|
data/lib/sniff/version.rb
CHANGED
@@ -0,0 +1,66 @@
|
|
1
|
+
if __FILE__ == $0
|
2
|
+
puts "Run with: watchr #{__FILE__}. \n\nRequired gems: watchr rev"
|
3
|
+
exit 1
|
4
|
+
end
|
5
|
+
|
6
|
+
# --------------------------------------------------
|
7
|
+
# Convenience Methods
|
8
|
+
# --------------------------------------------------
|
9
|
+
def run(cmd)
|
10
|
+
system 'clear'
|
11
|
+
puts(cmd)
|
12
|
+
system cmd
|
13
|
+
end
|
14
|
+
|
15
|
+
def run_all_tests
|
16
|
+
run_all_specs if File.exist? 'spec'
|
17
|
+
run_all_cukes if File.exist? 'features'
|
18
|
+
end
|
19
|
+
|
20
|
+
def run_all_specs
|
21
|
+
unless Dir['spec/**/*_spec.rb'].empty?
|
22
|
+
run "bundle exec rspec spec"
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
def run_single_spec *spec
|
27
|
+
unless Dir['spec/**/*_spec.rb'].empty?
|
28
|
+
spec = spec.join(' ')
|
29
|
+
run "bundle exec rspec #{spec}"
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
def run_all_cukes
|
34
|
+
unless Dir['features/*.feature'].empty?
|
35
|
+
run "bundle exec cucumber features"
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
def run_single_cuke scenario_path
|
40
|
+
run "bundle exec cucumber #{scenario_path}"
|
41
|
+
end
|
42
|
+
|
43
|
+
# --------------------------------------------------
|
44
|
+
# Watchr Rules
|
45
|
+
# --------------------------------------------------
|
46
|
+
watch( '^spec/spec_helper\.rb' ) { run_all_specs }
|
47
|
+
watch( '^spec/.*_spec\.rb' ) { |m| run_single_spec(m[0]) }
|
48
|
+
watch( '^app/(.*)\.rb' ) { |m| run_single_spec("spec/%s_spec.rb" % m[1]) }
|
49
|
+
watch( '^lib/(.*)\.rb' ) do |m|
|
50
|
+
run_single_spec("spec/lib/%s_spec.rb" % m[1] )
|
51
|
+
run_all_cukes
|
52
|
+
end
|
53
|
+
watch( '^features/.*\.feature' ) { |m| run_single_cuke(m[0]) }
|
54
|
+
|
55
|
+
|
56
|
+
# --------------------------------------------------
|
57
|
+
# Signal Handling
|
58
|
+
# --------------------------------------------------
|
59
|
+
# Ctrl-\
|
60
|
+
Signal.trap('QUIT') do
|
61
|
+
puts " --- Running all tests ---\n\n"
|
62
|
+
run_all_tests
|
63
|
+
end
|
64
|
+
|
65
|
+
# Ctrl-C
|
66
|
+
Signal.trap('INT') { abort("\n") }
|
File without changes
|
File without changes
|
File without changes
|
data/spec/fixtures/dirigible/{lib/test_support → features/support}/db/fixtures/automobile_makes.csv
RENAMED
File without changes
|
File without changes
|
data/spec/fixtures/dirigible/{lib/test_support → features/support}/db/fixtures/automobile_models.csv
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -1,37 +1,8 @@
|
|
1
|
-
require "dirigible/fallback"
|
2
|
-
require 'charisma'
|
3
|
-
require 'cohort_scope'
|
4
|
-
require 'data_miner'
|
5
|
-
require 'dirigible/carbon_model'
|
6
|
-
require 'dirigible/characterization'
|
7
|
-
require 'dirigible/data'
|
8
|
-
require 'dirigible/relationships'
|
9
|
-
require 'dirigible/summarization'
|
10
1
|
require 'emitter'
|
11
|
-
require 'falls_back_on'
|
12
|
-
require 'leap'
|
13
|
-
require 'summary_judgement'
|
14
2
|
|
15
3
|
module BrighterPlanet
|
16
4
|
module Dirigible
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
base.extend Leap::Subject
|
21
|
-
base.send :include, CarbonModel
|
22
|
-
|
23
|
-
base.send :include, Charisma
|
24
|
-
base.send :include, Characterization
|
25
|
-
# add_implicit_characteristics
|
26
|
-
|
27
|
-
base.send :include, Data
|
28
|
-
|
29
|
-
base.extend SummaryJudgement
|
30
|
-
base.send :include, Summarization
|
31
|
-
|
32
|
-
base.send :include, Fallback
|
33
|
-
|
34
|
-
base.send :include, Relationships
|
35
|
-
end
|
5
|
+
extend BrighterPlanet::Emitter
|
6
|
+
scope 'The Dirigible is way underrated'
|
36
7
|
end
|
37
8
|
end
|
@@ -23,7 +23,7 @@ describe Sniff::Database do
|
|
23
23
|
end
|
24
24
|
it 'should load a schema for the emitter record' do
|
25
25
|
Sniff.init(dirigible_path, :apply_schemas => true)
|
26
|
-
require File.join(dirigible_path, '
|
26
|
+
require File.join(dirigible_path, 'features', 'support', 'dirigible_record')
|
27
27
|
DirigibleRecord.table_exists?.should be_true
|
28
28
|
end
|
29
29
|
end
|
@@ -23,36 +23,27 @@ Sniff::RakeTasks.define_tasks
|
|
23
23
|
end
|
24
24
|
|
25
25
|
describe '#define' do
|
26
|
-
describe 'docs task' do
|
27
|
-
it 'should generate docs' do
|
28
|
-
Sandbox.play do |path|
|
29
|
-
flight_path = File.join(path, 'flight')
|
30
|
-
git "clone git://github.com/brighterplanet/flight.git #{flight_path}"
|
31
|
-
File.open(File.join(flight_path, 'Rakefile'), 'w') do |f|
|
32
|
-
f.puts rakefile
|
33
|
-
end
|
34
|
-
|
35
|
-
`cd #{flight_path} && rake docs`
|
36
|
-
Dir.entries(File.join(flight_path, 'docs')).
|
37
|
-
count.should > 2
|
38
|
-
end
|
39
|
-
end
|
40
|
-
end
|
41
|
-
|
42
26
|
describe 'pages task' do
|
43
27
|
it 'should commit any changed doc files' do
|
44
28
|
Sandbox.play do |path|
|
45
29
|
flight_path = File.join(path, 'flight')
|
30
|
+
|
46
31
|
git "clone git://github.com/brighterplanet/flight.git #{flight_path}"
|
32
|
+
|
47
33
|
File.open(File.join(flight_path, 'Rakefile'), 'w') do |f|
|
48
34
|
f.puts rakefile
|
49
35
|
end
|
50
36
|
|
51
|
-
|
52
|
-
|
37
|
+
Dir.chdir flight_path do
|
38
|
+
`git commit -am "new rakefile"`
|
39
|
+
`git checkout -b gh-pages --track origin/gh-pages`
|
40
|
+
`echo "<html>" > foobar.html`
|
41
|
+
`git commit -am "dummy update"`
|
42
|
+
`git checkout master && NO_PUSH=true rake pages`
|
43
|
+
`git checkout gh-pages`
|
53
44
|
|
54
|
-
|
55
|
-
|
45
|
+
`git log -n 1`.should =~ /rebuild pages/i
|
46
|
+
end
|
56
47
|
end
|
57
48
|
end
|
58
49
|
end
|
@@ -0,0 +1,12 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe Sniff do
|
4
|
+
describe '.path' do
|
5
|
+
it 'returns a path relative to sniff root' do
|
6
|
+
Sniff.stub!(:root).and_return File.join('/path','to','my','gems','sniff')
|
7
|
+
Sniff.path('lib','sniff','stuff.rb').split(/[\/\\]/).
|
8
|
+
should == ['', 'path','to','my','gems','sniff','lib','sniff','stuff.rb']
|
9
|
+
end
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sniff
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-07-
|
12
|
+
date: 2011-07-14 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
16
|
-
requirement: &
|
16
|
+
requirement: &2153483640 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '3'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *2153483640
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: aaronh-chronic
|
27
|
-
requirement: &
|
27
|
+
requirement: &2153483180 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: 0.3.9
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *2153483180
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: bueller
|
38
|
-
requirement: &
|
38
|
+
requirement: &2153482720 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: 0.0.5
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *2153482720
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: create_table
|
49
|
-
requirement: &
|
49
|
+
requirement: &2153482340 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ! '>='
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: '0'
|
55
55
|
type: :runtime
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *2153482340
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: cucumber
|
60
|
-
requirement: &
|
60
|
+
requirement: &2153481880 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ! '>='
|
@@ -65,10 +65,10 @@ dependencies:
|
|
65
65
|
version: '0'
|
66
66
|
type: :runtime
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *2153481880
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: earth
|
71
|
-
requirement: &
|
71
|
+
requirement: &2153481380 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
74
|
- - ! '>='
|
@@ -76,10 +76,10 @@ dependencies:
|
|
76
76
|
version: 0.4.5
|
77
77
|
type: :runtime
|
78
78
|
prerelease: false
|
79
|
-
version_requirements: *
|
79
|
+
version_requirements: *2153481380
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
81
|
name: rake
|
82
|
-
requirement: &
|
82
|
+
requirement: &2153480880 !ruby/object:Gem::Requirement
|
83
83
|
none: false
|
84
84
|
requirements:
|
85
85
|
- - ! '>='
|
@@ -87,10 +87,10 @@ dependencies:
|
|
87
87
|
version: 0.9.0
|
88
88
|
type: :runtime
|
89
89
|
prerelease: false
|
90
|
-
version_requirements: *
|
90
|
+
version_requirements: *2153480880
|
91
91
|
- !ruby/object:Gem::Dependency
|
92
92
|
name: rcov
|
93
|
-
requirement: &
|
93
|
+
requirement: &2153480480 !ruby/object:Gem::Requirement
|
94
94
|
none: false
|
95
95
|
requirements:
|
96
96
|
- - ! '>='
|
@@ -98,10 +98,10 @@ dependencies:
|
|
98
98
|
version: '0'
|
99
99
|
type: :runtime
|
100
100
|
prerelease: false
|
101
|
-
version_requirements: *
|
101
|
+
version_requirements: *2153480480
|
102
102
|
- !ruby/object:Gem::Dependency
|
103
103
|
name: rdoc
|
104
|
-
requirement: &
|
104
|
+
requirement: &2153480020 !ruby/object:Gem::Requirement
|
105
105
|
none: false
|
106
106
|
requirements:
|
107
107
|
- - ! '>='
|
@@ -109,10 +109,10 @@ dependencies:
|
|
109
109
|
version: '0'
|
110
110
|
type: :runtime
|
111
111
|
prerelease: false
|
112
|
-
version_requirements: *
|
112
|
+
version_requirements: *2153480020
|
113
113
|
- !ruby/object:Gem::Dependency
|
114
114
|
name: dkastner-rocco
|
115
|
-
requirement: &
|
115
|
+
requirement: &2153479600 !ruby/object:Gem::Requirement
|
116
116
|
none: false
|
117
117
|
requirements:
|
118
118
|
- - ! '>='
|
@@ -120,10 +120,10 @@ dependencies:
|
|
120
120
|
version: '0'
|
121
121
|
type: :runtime
|
122
122
|
prerelease: false
|
123
|
-
version_requirements: *
|
123
|
+
version_requirements: *2153479600
|
124
124
|
- !ruby/object:Gem::Dependency
|
125
125
|
name: rspec
|
126
|
-
requirement: &
|
126
|
+
requirement: &2153479100 !ruby/object:Gem::Requirement
|
127
127
|
none: false
|
128
128
|
requirements:
|
129
129
|
- - ~>
|
@@ -131,10 +131,10 @@ dependencies:
|
|
131
131
|
version: '2'
|
132
132
|
type: :runtime
|
133
133
|
prerelease: false
|
134
|
-
version_requirements: *
|
134
|
+
version_requirements: *2153479100
|
135
135
|
- !ruby/object:Gem::Dependency
|
136
136
|
name: simplecov
|
137
|
-
requirement: &
|
137
|
+
requirement: &2153478680 !ruby/object:Gem::Requirement
|
138
138
|
none: false
|
139
139
|
requirements:
|
140
140
|
- - ! '>='
|
@@ -142,10 +142,10 @@ dependencies:
|
|
142
142
|
version: '0'
|
143
143
|
type: :runtime
|
144
144
|
prerelease: false
|
145
|
-
version_requirements: *
|
145
|
+
version_requirements: *2153478680
|
146
146
|
- !ruby/object:Gem::Dependency
|
147
147
|
name: sqlite3-ruby
|
148
|
-
requirement: &
|
148
|
+
requirement: &2153478140 !ruby/object:Gem::Requirement
|
149
149
|
none: false
|
150
150
|
requirements:
|
151
151
|
- - ! '>='
|
@@ -153,10 +153,10 @@ dependencies:
|
|
153
153
|
version: 1.3.0
|
154
154
|
type: :runtime
|
155
155
|
prerelease: false
|
156
|
-
version_requirements: *
|
156
|
+
version_requirements: *2153478140
|
157
157
|
- !ruby/object:Gem::Dependency
|
158
158
|
name: timecop
|
159
|
-
requirement: &
|
159
|
+
requirement: &2153477720 !ruby/object:Gem::Requirement
|
160
160
|
none: false
|
161
161
|
requirements:
|
162
162
|
- - ! '>='
|
@@ -164,10 +164,10 @@ dependencies:
|
|
164
164
|
version: '0'
|
165
165
|
type: :runtime
|
166
166
|
prerelease: false
|
167
|
-
version_requirements: *
|
167
|
+
version_requirements: *2153477720
|
168
168
|
- !ruby/object:Gem::Dependency
|
169
169
|
name: timeframe
|
170
|
-
requirement: &
|
170
|
+
requirement: &2153477180 !ruby/object:Gem::Requirement
|
171
171
|
none: false
|
172
172
|
requirements:
|
173
173
|
- - ! '>='
|
@@ -175,10 +175,21 @@ dependencies:
|
|
175
175
|
version: 0.0.8
|
176
176
|
type: :runtime
|
177
177
|
prerelease: false
|
178
|
-
version_requirements: *
|
178
|
+
version_requirements: *2153477180
|
179
|
+
- !ruby/object:Gem::Dependency
|
180
|
+
name: watchr
|
181
|
+
requirement: &2153476760 !ruby/object:Gem::Requirement
|
182
|
+
none: false
|
183
|
+
requirements:
|
184
|
+
- - ! '>='
|
185
|
+
- !ruby/object:Gem::Version
|
186
|
+
version: '0'
|
187
|
+
type: :runtime
|
188
|
+
prerelease: false
|
189
|
+
version_requirements: *2153476760
|
179
190
|
- !ruby/object:Gem::Dependency
|
180
191
|
name: sandbox
|
181
|
-
requirement: &
|
192
|
+
requirement: &2153476280 !ruby/object:Gem::Requirement
|
182
193
|
none: false
|
183
194
|
requirements:
|
184
195
|
- - ! '>='
|
@@ -186,10 +197,10 @@ dependencies:
|
|
186
197
|
version: '0'
|
187
198
|
type: :development
|
188
199
|
prerelease: false
|
189
|
-
version_requirements: *
|
200
|
+
version_requirements: *2153476280
|
190
201
|
- !ruby/object:Gem::Dependency
|
191
202
|
name: emitter
|
192
|
-
requirement: &
|
203
|
+
requirement: &2153475780 !ruby/object:Gem::Requirement
|
193
204
|
none: false
|
194
205
|
requirements:
|
195
206
|
- - ! '>='
|
@@ -197,7 +208,7 @@ dependencies:
|
|
197
208
|
version: 0.5.0
|
198
209
|
type: :development
|
199
210
|
prerelease: false
|
200
|
-
version_requirements: *
|
211
|
+
version_requirements: *2153475780
|
201
212
|
description: Provides development and test environment for emitter gems
|
202
213
|
email: derek.kastner@brighterplanet.com
|
203
214
|
executables: []
|
@@ -207,11 +218,14 @@ extra_rdoc_files:
|
|
207
218
|
files:
|
208
219
|
- lib/sniff/database.rb
|
209
220
|
- lib/sniff/emitter.rb
|
221
|
+
- lib/sniff/leap_ext.rb
|
210
222
|
- lib/sniff/rake_tasks.rb
|
211
223
|
- lib/sniff/version.rb
|
224
|
+
- lib/sniff/watcher.rb
|
212
225
|
- lib/sniff.rb
|
213
226
|
- lib/test_support/cucumber/step_definitions/carbon_steps.rb
|
214
227
|
- lib/test_support/cucumber/step_definitions/committee_steps.rb
|
228
|
+
- lib/test_support/cucumber/step_definitions/leap_steps.rb
|
215
229
|
- lib/test_support/cucumber/step_definitions/temporal_steps.rb
|
216
230
|
- lib/test_support/cucumber/support/values.rb
|
217
231
|
- lib/test_support/db/fixtures/census_divisions.csv
|
@@ -228,6 +242,15 @@ files:
|
|
228
242
|
- README.markdown
|
229
243
|
- spec/db/emitter_data.sqlite3
|
230
244
|
- spec/db/schema_output
|
245
|
+
- spec/fixtures/dirigible/features/support/db/fixtures/automobile_fuel_types.csv
|
246
|
+
- spec/fixtures/dirigible/features/support/db/fixtures/automobile_make_fleet_years.csv
|
247
|
+
- spec/fixtures/dirigible/features/support/db/fixtures/automobile_make_years.csv
|
248
|
+
- spec/fixtures/dirigible/features/support/db/fixtures/automobile_makes.csv
|
249
|
+
- spec/fixtures/dirigible/features/support/db/fixtures/automobile_model_years.csv
|
250
|
+
- spec/fixtures/dirigible/features/support/db/fixtures/automobile_models.csv
|
251
|
+
- spec/fixtures/dirigible/features/support/db/fixtures/automobile_size_classes.csv
|
252
|
+
- spec/fixtures/dirigible/features/support/db/fixtures/automobile_variants.csv
|
253
|
+
- spec/fixtures/dirigible/features/support/dirigible_record.rb
|
231
254
|
- spec/fixtures/dirigible/lib/dirigible/carbon_model.rb
|
232
255
|
- spec/fixtures/dirigible/lib/dirigible/characterization.rb
|
233
256
|
- spec/fixtures/dirigible/lib/dirigible/data.rb
|
@@ -235,17 +258,9 @@ files:
|
|
235
258
|
- spec/fixtures/dirigible/lib/dirigible/relationships.rb
|
236
259
|
- spec/fixtures/dirigible/lib/dirigible/summarization.rb
|
237
260
|
- spec/fixtures/dirigible/lib/dirigible.rb
|
238
|
-
- spec/fixtures/dirigible/lib/test_support/db/fixtures/automobile_fuel_types.csv
|
239
|
-
- spec/fixtures/dirigible/lib/test_support/db/fixtures/automobile_make_fleet_years.csv
|
240
|
-
- spec/fixtures/dirigible/lib/test_support/db/fixtures/automobile_make_years.csv
|
241
|
-
- spec/fixtures/dirigible/lib/test_support/db/fixtures/automobile_makes.csv
|
242
|
-
- spec/fixtures/dirigible/lib/test_support/db/fixtures/automobile_model_years.csv
|
243
|
-
- spec/fixtures/dirigible/lib/test_support/db/fixtures/automobile_models.csv
|
244
|
-
- spec/fixtures/dirigible/lib/test_support/db/fixtures/automobile_size_classes.csv
|
245
|
-
- spec/fixtures/dirigible/lib/test_support/db/fixtures/automobile_variants.csv
|
246
|
-
- spec/fixtures/dirigible/lib/test_support/dirigible_record.rb
|
247
261
|
- spec/lib/sniff/database_spec.rb
|
248
262
|
- spec/lib/sniff/rake_tasks_spec.rb
|
263
|
+
- spec/lib/sniff_spec.rb
|
249
264
|
- spec/lib/test_support/cucumber/support/values_spec.rb
|
250
265
|
- spec/spec_helper.rb
|
251
266
|
homepage: https://github.com/brighterplanet/sniff
|
@@ -263,7 +278,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
263
278
|
version: '0'
|
264
279
|
segments:
|
265
280
|
- 0
|
266
|
-
hash:
|
281
|
+
hash: 2730720841396380049
|
267
282
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
268
283
|
none: false
|
269
284
|
requirements:
|
@@ -279,6 +294,15 @@ summary: Test support for Brighter Planet carbon gems
|
|
279
294
|
test_files:
|
280
295
|
- spec/db/emitter_data.sqlite3
|
281
296
|
- spec/db/schema_output
|
297
|
+
- spec/fixtures/dirigible/features/support/db/fixtures/automobile_fuel_types.csv
|
298
|
+
- spec/fixtures/dirigible/features/support/db/fixtures/automobile_make_fleet_years.csv
|
299
|
+
- spec/fixtures/dirigible/features/support/db/fixtures/automobile_make_years.csv
|
300
|
+
- spec/fixtures/dirigible/features/support/db/fixtures/automobile_makes.csv
|
301
|
+
- spec/fixtures/dirigible/features/support/db/fixtures/automobile_model_years.csv
|
302
|
+
- spec/fixtures/dirigible/features/support/db/fixtures/automobile_models.csv
|
303
|
+
- spec/fixtures/dirigible/features/support/db/fixtures/automobile_size_classes.csv
|
304
|
+
- spec/fixtures/dirigible/features/support/db/fixtures/automobile_variants.csv
|
305
|
+
- spec/fixtures/dirigible/features/support/dirigible_record.rb
|
282
306
|
- spec/fixtures/dirigible/lib/dirigible/carbon_model.rb
|
283
307
|
- spec/fixtures/dirigible/lib/dirigible/characterization.rb
|
284
308
|
- spec/fixtures/dirigible/lib/dirigible/data.rb
|
@@ -286,16 +310,8 @@ test_files:
|
|
286
310
|
- spec/fixtures/dirigible/lib/dirigible/relationships.rb
|
287
311
|
- spec/fixtures/dirigible/lib/dirigible/summarization.rb
|
288
312
|
- spec/fixtures/dirigible/lib/dirigible.rb
|
289
|
-
- spec/fixtures/dirigible/lib/test_support/db/fixtures/automobile_fuel_types.csv
|
290
|
-
- spec/fixtures/dirigible/lib/test_support/db/fixtures/automobile_make_fleet_years.csv
|
291
|
-
- spec/fixtures/dirigible/lib/test_support/db/fixtures/automobile_make_years.csv
|
292
|
-
- spec/fixtures/dirigible/lib/test_support/db/fixtures/automobile_makes.csv
|
293
|
-
- spec/fixtures/dirigible/lib/test_support/db/fixtures/automobile_model_years.csv
|
294
|
-
- spec/fixtures/dirigible/lib/test_support/db/fixtures/automobile_models.csv
|
295
|
-
- spec/fixtures/dirigible/lib/test_support/db/fixtures/automobile_size_classes.csv
|
296
|
-
- spec/fixtures/dirigible/lib/test_support/db/fixtures/automobile_variants.csv
|
297
|
-
- spec/fixtures/dirigible/lib/test_support/dirigible_record.rb
|
298
313
|
- spec/lib/sniff/database_spec.rb
|
299
314
|
- spec/lib/sniff/rake_tasks_spec.rb
|
315
|
+
- spec/lib/sniff_spec.rb
|
300
316
|
- spec/lib/test_support/cucumber/support/values_spec.rb
|
301
317
|
- spec/spec_helper.rb
|