kalibro_gem 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rspec +2 -0
- data/features/step_definitions/base_tool_steps.rb +5 -5
- data/features/step_definitions/processing_steps.rb +6 -6
- data/kalibro_gem.gemspec +3 -2
- data/lib/kalibro_gem/version.rb +1 -1
- data/spec/entities/base_tool_spec.rb +13 -13
- data/spec/entities/configuration_spec.rb +5 -5
- data/spec/entities/date_metric_result_spec.rb +5 -5
- data/spec/entities/date_module_result_spec.rb +5 -5
- data/spec/entities/metric_configuration_snapshot_spec.rb +10 -10
- data/spec/entities/metric_configuration_spec.rb +14 -14
- data/spec/entities/metric_result_spec.rb +17 -17
- data/spec/entities/metric_spec.rb +3 -3
- data/spec/entities/model_spec.rb +30 -30
- data/spec/entities/module_result_spec.rb +14 -14
- data/spec/entities/process_time_spec.rb +2 -2
- data/spec/entities/processing_spec.rb +23 -23
- data/spec/entities/project_spec.rb +5 -5
- data/spec/entities/range_snapshot_spec.rb +5 -5
- data/spec/entities/range_spec.rb +20 -20
- data/spec/entities/reading_group_spec.rb +5 -5
- data/spec/entities/reading_spec.rb +11 -11
- data/spec/entities/repository_observer_spec.rb +14 -14
- data/spec/entities/repository_spec.rb +12 -12
- data/spec/entities/stack_trace_element_spec.rb +1 -1
- data/spec/entities/throwable_spec.rb +4 -4
- data/spec/helpers/aggregation_options_spec.rb +1 -1
- data/spec/helpers/hash_converters_spec.rb +10 -10
- data/spec/helpers/xml_converters_spec.rb +5 -5
- data/spec/kalibro_entities_spec.rb +10 -11
- data/spec/spec_helper.rb +62 -6
- metadata +21 -6
data/spec/spec_helper.rb
CHANGED
@@ -43,18 +43,74 @@ require 'kalibro_gem'
|
|
43
43
|
require 'factory_girl'
|
44
44
|
FactoryGirl.find_definitions
|
45
45
|
|
46
|
+
# This file was generated by the `rails generate rspec:install` command. Conventionally, all
|
47
|
+
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
48
|
+
# The generated `.rspec` file contains `--require rails_helper` which will cause this
|
49
|
+
# file to always be loaded, without a need to explicitly require it in any files.
|
50
|
+
#
|
51
|
+
# Given that it is always loaded, you are encouraged to keep this file as
|
52
|
+
# light-weight as possible. Requiring heavyweight dependencies from this file
|
53
|
+
# will add to the boot time of your test suite on EVERY test run, even for an
|
54
|
+
# individual file that may not need all of that loaded. Instead, make a
|
55
|
+
# separate helper file that requires this one and then use it only in the specs
|
56
|
+
# that actually need it.
|
57
|
+
#
|
58
|
+
# The `.rspec` file also contains a few flags that are not defaults but that
|
59
|
+
# users commonly want.
|
60
|
+
#
|
61
|
+
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
46
62
|
RSpec.configure do |config|
|
47
|
-
|
63
|
+
# The settings below are suggested to provide a good initial experience
|
64
|
+
# with RSpec, but feel free to customize to your heart's content.
|
48
65
|
|
49
|
-
#
|
50
|
-
|
66
|
+
# These two settings work together to allow you to limit a spec run
|
67
|
+
# to individual examples or groups you care about by tagging them with
|
68
|
+
# `:focus` metadata. When nothing is tagged with `:focus`, all examples
|
69
|
+
# get run.
|
70
|
+
config.filter_run :focus
|
71
|
+
config.run_all_when_everything_filtered = true
|
72
|
+
|
73
|
+
# Many RSpec users commonly either run the entire suite or an individual
|
74
|
+
# file, and it's useful to allow more verbose output when running an
|
75
|
+
# individual spec file.
|
76
|
+
if config.files_to_run.one?
|
77
|
+
# Use the documentation formatter for detailed output,
|
78
|
+
# unless a formatter has already been configured
|
79
|
+
# (e.g. via a command-line flag).
|
80
|
+
config.default_formatter = 'doc'
|
81
|
+
end
|
82
|
+
|
83
|
+
# Print the 10 slowest examples and example groups at the
|
84
|
+
# end of the spec run, to help surface which specs are running
|
85
|
+
# particularly slow.
|
86
|
+
config.profile_examples = 10
|
51
87
|
|
52
88
|
# Run specs in random order to surface order dependencies. If you find an
|
53
89
|
# order dependency and want to debug it, you can fix the order by providing
|
54
90
|
# the seed, which is printed after each run.
|
55
91
|
# --seed 1234
|
56
|
-
config.order =
|
92
|
+
config.order = :random
|
93
|
+
|
94
|
+
# Seed global randomization in this process using the `--seed` CLI option.
|
95
|
+
# Setting this allows you to use `--seed` to deterministically reproduce
|
96
|
+
# test failures related to randomization by passing the same `--seed` value
|
97
|
+
# as the one that triggered the failure.
|
98
|
+
Kernel.srand config.seed
|
99
|
+
|
100
|
+
# rspec-expectations config goes here. You can use an alternate
|
101
|
+
# assertion/expectation library such as wrong or the stdlib/minitest
|
102
|
+
# assertions if you prefer.
|
103
|
+
config.expect_with :rspec do |expectations|
|
104
|
+
# Enable only the newer, non-monkey-patching expect syntax.
|
105
|
+
# For more details, see:
|
106
|
+
# - http://myronmars.to/n/dev-blog/2012/06/rspecs-new-expectation-syntax
|
107
|
+
expectations.syntax = :expect
|
108
|
+
end
|
57
109
|
|
58
|
-
#
|
59
|
-
|
110
|
+
# rspec-mocks config goes here. You can use an alternate test double
|
111
|
+
# library (such as bogus or mocha) by changing the `mock_with` option here.
|
112
|
+
config.mock_with :mocha
|
113
|
+
|
114
|
+
# savon test helpers
|
115
|
+
config.include SavonTestHelper
|
60
116
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kalibro_gem
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Carlos Morais
|
@@ -15,7 +15,7 @@ authors:
|
|
15
15
|
autorequire:
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
|
-
date: 2014-
|
18
|
+
date: 2014-07-11 00:00:00.000000000 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: bundler
|
@@ -51,14 +51,14 @@ dependencies:
|
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '3.0'
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
57
|
version_requirements: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '3.0'
|
62
62
|
- !ruby/object:Gem::Dependency
|
63
63
|
name: cucumber
|
64
64
|
requirement: !ruby/object:Gem::Requirement
|
@@ -135,14 +135,28 @@ dependencies:
|
|
135
135
|
requirements:
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version: 2.
|
138
|
+
version: 2.6.0
|
139
139
|
type: :runtime
|
140
140
|
prerelease: false
|
141
141
|
version_requirements: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
143
|
- - "~>"
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: 2.
|
145
|
+
version: 2.6.0
|
146
|
+
- !ruby/object:Gem::Dependency
|
147
|
+
name: rubyntlm
|
148
|
+
requirement: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - "~>"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: 0.4.0
|
153
|
+
type: :runtime
|
154
|
+
prerelease: false
|
155
|
+
version_requirements: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - "~>"
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: 0.4.0
|
146
160
|
- !ruby/object:Gem::Dependency
|
147
161
|
name: activesupport
|
148
162
|
requirement: !ruby/object:Gem::Requirement
|
@@ -173,6 +187,7 @@ extensions: []
|
|
173
187
|
extra_rdoc_files: []
|
174
188
|
files:
|
175
189
|
- ".gitignore"
|
190
|
+
- ".rspec"
|
176
191
|
- ".ruby-gemset"
|
177
192
|
- ".ruby-version"
|
178
193
|
- ".travis.yml"
|