kalibro_client 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +19 -0
- data/.rspec +2 -0
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/.travis.yml +27 -0
- data/AUTHORS +4 -0
- data/COPYING +674 -0
- data/COPYING.LESSER +165 -0
- data/Gemfile +4 -0
- data/README.md +77 -0
- data/Rakefile +6 -0
- data/cucumber.yml +1 -0
- data/features/kalibro_configuration/all.feature +10 -0
- data/features/kalibro_configuration/creation.feature +9 -0
- data/features/kalibro_configuration/destroy.feature +10 -0
- data/features/kalibro_configuration/metric_configurations.feature +12 -0
- data/features/metric_collector_details/all_names.feature +8 -0
- data/features/metric_collector_details/find_by_name.feature +12 -0
- data/features/metric_configuration/creation.feature +11 -0
- data/features/metric_configuration/destroy.feature +12 -0
- data/features/metric_configuration/find.feature +18 -0
- data/features/metric_configuration/metric_configurations_of.feature +18 -0
- data/features/metric_result/descendant_values.feature +19 -0
- data/features/metric_result/history_of.feature +20 -0
- data/features/metric_result/metric_results_of.feature +20 -0
- data/features/module_result/children.feature +19 -0
- data/features/module_result/find.feature +22 -0
- data/features/module_result/history_of.feature +19 -0
- data/features/processing/first_processing_after.feature +18 -0
- data/features/processing/first_processing_of.feature +18 -0
- data/features/processing/has_processing.feature +18 -0
- data/features/processing/has_processing_after.feature +18 -0
- data/features/processing/has_processing_before.feature +18 -0
- data/features/processing/has_ready_processing.feature +18 -0
- data/features/processing/last_processing_before.feature +18 -0
- data/features/processing/last_processing_of.feature +18 -0
- data/features/processing/last_processing_state_of.feature +18 -0
- data/features/processing/last_ready_processing_of.feature +19 -0
- data/features/processing/processing_of.feature +32 -0
- data/features/processing/processing_with_date_of.feature +32 -0
- data/features/project/all.feature +10 -0
- data/features/project/creation.feature +9 -0
- data/features/project/destroy.feature +10 -0
- data/features/project/exists.feature +9 -0
- data/features/project/find.feature +10 -0
- data/features/range/destroy.feature +14 -0
- data/features/range/exists.feature +13 -0
- data/features/range/find.feature +14 -0
- data/features/range/ranges_of.feature +22 -0
- data/features/range/save.feature +14 -0
- data/features/reading/destroy.feature +13 -0
- data/features/reading/exists.feature +13 -0
- data/features/reading/find.feature +11 -0
- data/features/reading/readings_of.feature +11 -0
- data/features/reading_group/all.feature +10 -0
- data/features/reading_group/creation.feature +9 -0
- data/features/reading_group/destroy.feature +11 -0
- data/features/repository/all.feature +14 -0
- data/features/repository/cancel_processing.feature +14 -0
- data/features/repository/destroy.feature +14 -0
- data/features/repository/exists.feature +14 -0
- data/features/repository/find.feature +14 -0
- data/features/repository/of.feature +15 -0
- data/features/repository/process.feature +16 -0
- data/features/repository/types.feature +8 -0
- data/features/step_definitions/configuration_steps.rb +40 -0
- data/features/step_definitions/metric_collector_details_steps.rb +28 -0
- data/features/step_definitions/metric_configuration_steps.rb +61 -0
- data/features/step_definitions/metric_result_steps.rb +33 -0
- data/features/step_definitions/metric_steps.rb +3 -0
- data/features/step_definitions/module_result_steps.rb +46 -0
- data/features/step_definitions/processing_steps.rb +95 -0
- data/features/step_definitions/project_steps.rb +48 -0
- data/features/step_definitions/range_steps.rb +72 -0
- data/features/step_definitions/reading_group_steps.rb +36 -0
- data/features/step_definitions/reading_steps.rb +47 -0
- data/features/step_definitions/repository_steps.rb +71 -0
- data/features/support/env.rb +25 -0
- data/features/support/kalibro_cucumber_helpers.yml.sample +3 -0
- data/kalibro_client.gemspec +49 -0
- data/lib/kalibro_client.rb +62 -0
- data/lib/kalibro_client/entities.rb +40 -0
- data/lib/kalibro_client/entities/base.rb +196 -0
- data/lib/kalibro_client/entities/configurations/base.rb +13 -0
- data/lib/kalibro_client/entities/configurations/kalibro_configuration.rb +37 -0
- data/lib/kalibro_client/entities/configurations/kalibro_range.rb +77 -0
- data/lib/kalibro_client/entities/configurations/metric_configuration.rb +93 -0
- data/lib/kalibro_client/entities/configurations/range_snapshot.rb +37 -0
- data/lib/kalibro_client/entities/configurations/reading.rb +56 -0
- data/lib/kalibro_client/entities/configurations/reading_group.rb +34 -0
- data/lib/kalibro_client/entities/miscellaneous/base.rb +57 -0
- data/lib/kalibro_client/entities/miscellaneous/compound_metric.rb +21 -0
- data/lib/kalibro_client/entities/miscellaneous/date_metric_result.rb +14 -0
- data/lib/kalibro_client/entities/miscellaneous/date_module_result.rb +18 -0
- data/lib/kalibro_client/entities/miscellaneous/granularity.rb +54 -0
- data/lib/kalibro_client/entities/miscellaneous/metric.rb +19 -0
- data/lib/kalibro_client/entities/miscellaneous/native_metric.rb +24 -0
- data/lib/kalibro_client/entities/processor/base.rb +16 -0
- data/lib/kalibro_client/entities/processor/kalibro_module.rb +27 -0
- data/lib/kalibro_client/entities/processor/metric_collector_details.rb +53 -0
- data/lib/kalibro_client/entities/processor/metric_result.rb +79 -0
- data/lib/kalibro_client/entities/processor/module_result.rb +82 -0
- data/lib/kalibro_client/entities/processor/process_time.rb +31 -0
- data/lib/kalibro_client/entities/processor/processing.rb +109 -0
- data/lib/kalibro_client/entities/processor/project.rb +34 -0
- data/lib/kalibro_client/entities/processor/repository.rb +75 -0
- data/lib/kalibro_client/errors.rb +18 -0
- data/lib/kalibro_client/errors/record_not_found.rb +22 -0
- data/lib/kalibro_client/errors/standard.rb +24 -0
- data/lib/kalibro_client/helpers/aggregation_options.rb +25 -0
- data/lib/kalibro_client/helpers/hash_converters.rb +48 -0
- data/lib/kalibro_client/helpers/request_methods.rb +55 -0
- data/lib/kalibro_client/helpers/xml_converters.rb +20 -0
- data/lib/kalibro_client/kalibro_cucumber_helpers.rb +60 -0
- data/lib/kalibro_client/kalibro_cucumber_helpers/configuration.rb +30 -0
- data/lib/kalibro_client/kalibro_cucumber_helpers/hooks.rb +25 -0
- data/lib/kalibro_client/version.rb +19 -0
- data/lib/rake/test_task.rb +57 -0
- data/spec/entities/base_spec.rb +313 -0
- data/spec/entities/configurations/base_spec.rb +26 -0
- data/spec/entities/configurations/kalibro_configuration_spec.rb +91 -0
- data/spec/entities/configurations/kalibro_range_spec.rb +174 -0
- data/spec/entities/configurations/metric_configuration_spec.rb +230 -0
- data/spec/entities/configurations/range_snapshot_spec.rb +50 -0
- data/spec/entities/configurations/reading_group_spec.rb +60 -0
- data/spec/entities/configurations/reading_spec.rb +87 -0
- data/spec/entities/miscellaneous/base_spec.rb +49 -0
- data/spec/entities/miscellaneous/compound_metric_spec.rb +36 -0
- data/spec/entities/miscellaneous/date_metric_result_spec.rb +4 -0
- data/spec/entities/miscellaneous/date_module_result_spec.rb +0 -0
- data/spec/entities/miscellaneous/granularity_spec.rb +96 -0
- data/spec/entities/miscellaneous/metric_spec.rb +15 -0
- data/spec/entities/miscellaneous/native_metric_spec.rb +37 -0
- data/spec/entities/processor/base_spec.rb +26 -0
- data/spec/entities/processor/metric_collector_details_spec.rb +146 -0
- data/spec/entities/processor/metric_result_spec.rb +209 -0
- data/spec/entities/processor/module_result_spec.rb +178 -0
- data/spec/entities/processor/process_time_spec.rb +33 -0
- data/spec/entities/processor/processing_spec.rb +333 -0
- data/spec/entities/processor/project_spec.rb +68 -0
- data/spec/entities/processor/repository_spec.rb +140 -0
- data/spec/factories/date_metric_results.rb +30 -0
- data/spec/factories/date_module_results.rb +24 -0
- data/spec/factories/granularities.rb +23 -0
- data/spec/factories/kalibro_configurations.rb +34 -0
- data/spec/factories/kalibro_module.rb +28 -0
- data/spec/factories/kalibro_ranges.rb +40 -0
- data/spec/factories/metric_collector_details.rb +30 -0
- data/spec/factories/metric_configurations.rb +31 -0
- data/spec/factories/metric_results.rb +24 -0
- data/spec/factories/metrics.rb +48 -0
- data/spec/factories/models.rb +23 -0
- data/spec/factories/module_results.rb +43 -0
- data/spec/factories/process_times.rb +27 -0
- data/spec/factories/processings.rb +24 -0
- data/spec/factories/projects.rb +35 -0
- data/spec/factories/ranges_snapshot.rb +26 -0
- data/spec/factories/reading_groups.rb +28 -0
- data/spec/factories/readings.rb +30 -0
- data/spec/factories/repositories.rb +39 -0
- data/spec/helpers/aggregation_options_spec.rb +31 -0
- data/spec/helpers/hash_converters_spec.rb +111 -0
- data/spec/helpers/xml_converters_spec.rb +64 -0
- data/spec/kalibro_entities_spec.rb +112 -0
- data/spec/savon/fixtures/config.yml +2 -0
- data/spec/savon/fixtures/invalid_config.yml +2 -0
- data/spec/savon/fixtures/project/does_not_exists.xml +1 -0
- data/spec/savon/savon_test_helper.rb +14 -0
- data/spec/spec_helper.rb +111 -0
- metadata +479 -0
@@ -0,0 +1 @@
|
|
1
|
+
<?xml version="1.0" ?><S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><S:Body><ns2:projectExistsResponse xmlns:ns2="http://service.kalibro.org/"><exists>false</exists></ns2:projectExistsResponse></S:Body></S:Envelope>
|
@@ -0,0 +1,14 @@
|
|
1
|
+
module SavonTestHelper
|
2
|
+
HttpMock = Struct.new(:code, :headers, :body) do
|
3
|
+
def error?
|
4
|
+
false
|
5
|
+
end
|
6
|
+
end
|
7
|
+
|
8
|
+
def mock_savon_response(xml_response, code = 200, headers = {})
|
9
|
+
http = HttpMock.new(code, headers, xml_response)
|
10
|
+
savon_local_options = Savon::LocalOptions.new
|
11
|
+
savon_global_options = Savon::GlobalOptions.new
|
12
|
+
savon_response = Savon::Response.new(http, savon_global_options, savon_local_options)
|
13
|
+
end
|
14
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,111 @@
|
|
1
|
+
# This file is part of KalibroClient
|
2
|
+
# Copyright (C) 2013 it's respectives authors (please see the AUTHORS file)
|
3
|
+
#
|
4
|
+
# This program is free software: you can redistribute it and/or modify
|
5
|
+
# it under the terms of the GNU General Public License as published by
|
6
|
+
# the Free Software Foundation, either version 3 of the License, or
|
7
|
+
# (at your option) any later version.
|
8
|
+
#
|
9
|
+
# This program is distributed in the hope that it will be useful,
|
10
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
11
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
12
|
+
# GNU General Public License for more details.
|
13
|
+
|
14
|
+
# You should have received a copy of the GNU General Public License
|
15
|
+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
16
|
+
|
17
|
+
require 'mocha/api'
|
18
|
+
|
19
|
+
# Test coverage report
|
20
|
+
require 'simplecov'
|
21
|
+
require 'coveralls'
|
22
|
+
|
23
|
+
SimpleCov.start do
|
24
|
+
formatter SimpleCov::Formatter::MultiFormatter[
|
25
|
+
Coveralls::SimpleCov::Formatter,
|
26
|
+
SimpleCov::Formatter::HTMLFormatter
|
27
|
+
]
|
28
|
+
add_group "Entities", "lib/kalibro_client/entities"
|
29
|
+
add_group "Errors", "lib/kalibro_client/errors"
|
30
|
+
add_group "Helpers", "lib/kalibro_client/helpers"
|
31
|
+
add_group "Cucumber Helpers", "lib/kalibro_client/kalibro_cucumber_helpers"
|
32
|
+
|
33
|
+
add_filter "/spec/"
|
34
|
+
add_filter "/features/"
|
35
|
+
|
36
|
+
coverage_dir 'coverage/rspec'
|
37
|
+
end
|
38
|
+
|
39
|
+
require 'kalibro_client'
|
40
|
+
|
41
|
+
require 'factory_girl'
|
42
|
+
FactoryGirl.find_definitions
|
43
|
+
|
44
|
+
# This file was generated by the `rails generate rspec:install` command. Conventionally, all
|
45
|
+
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
46
|
+
# The generated `.rspec` file contains `--require rails_helper` which will cause this
|
47
|
+
# file to always be loaded, without a need to explicitly require it in any files.
|
48
|
+
#
|
49
|
+
# Given that it is always loaded, you are encouraged to keep this file as
|
50
|
+
# light-weight as possible. Requiring heavyweight dependencies from this file
|
51
|
+
# will add to the boot time of your test suite on EVERY test run, even for an
|
52
|
+
# individual file that may not need all of that loaded. Instead, make a
|
53
|
+
# separate helper file that requires this one and then use it only in the specs
|
54
|
+
# that actually need it.
|
55
|
+
#
|
56
|
+
# The `.rspec` file also contains a few flags that are not defaults but that
|
57
|
+
# users commonly want.
|
58
|
+
#
|
59
|
+
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
60
|
+
RSpec.configure do |config|
|
61
|
+
# The settings below are suggested to provide a good initial experience
|
62
|
+
# with RSpec, but feel free to customize to your heart's content.
|
63
|
+
|
64
|
+
# These two settings work together to allow you to limit a spec run
|
65
|
+
# to individual examples or groups you care about by tagging them with
|
66
|
+
# `:focus` metadata. When nothing is tagged with `:focus`, all examples
|
67
|
+
# get run.
|
68
|
+
config.filter_run :focus
|
69
|
+
config.run_all_when_everything_filtered = true
|
70
|
+
|
71
|
+
# Many RSpec users commonly either run the entire suite or an individual
|
72
|
+
# file, and it's useful to allow more verbose output when running an
|
73
|
+
# individual spec file.
|
74
|
+
if config.files_to_run.one?
|
75
|
+
# Use the documentation formatter for detailed output,
|
76
|
+
# unless a formatter has already been configured
|
77
|
+
# (e.g. via a command-line flag).
|
78
|
+
config.default_formatter = 'doc'
|
79
|
+
end
|
80
|
+
|
81
|
+
# Print the 10 slowest examples and example groups at the
|
82
|
+
# end of the spec run, to help surface which specs are running
|
83
|
+
# particularly slow.
|
84
|
+
config.profile_examples = 10
|
85
|
+
|
86
|
+
# Run specs in random order to surface order dependencies. If you find an
|
87
|
+
# order dependency and want to debug it, you can fix the order by providing
|
88
|
+
# the seed, which is printed after each run.
|
89
|
+
# --seed 1234
|
90
|
+
config.order = :random
|
91
|
+
|
92
|
+
# Seed global randomization in this process using the `--seed` CLI option.
|
93
|
+
# Setting this allows you to use `--seed` to deterministically reproduce
|
94
|
+
# test failures related to randomization by passing the same `--seed` value
|
95
|
+
# as the one that triggered the failure.
|
96
|
+
Kernel.srand config.seed
|
97
|
+
|
98
|
+
# rspec-expectations config goes here. You can use an alternate
|
99
|
+
# assertion/expectation library such as wrong or the stdlib/minitest
|
100
|
+
# assertions if you prefer.
|
101
|
+
config.expect_with :rspec do |expectations|
|
102
|
+
# Enable only the newer, non-monkey-patching expect syntax.
|
103
|
+
# For more details, see:
|
104
|
+
# - http://myronmars.to/n/dev-blog/2012/06/rspecs-new-expectation-syntax
|
105
|
+
expectations.syntax = :expect
|
106
|
+
end
|
107
|
+
|
108
|
+
# rspec-mocks config goes here. You can use an alternate test double
|
109
|
+
# library (such as bogus or mocha) by changing the `mock_with` option here.
|
110
|
+
config.mock_with :mocha
|
111
|
+
end
|
metadata
ADDED
@@ -0,0 +1,479 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: kalibro_client
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Diego de Araújo Martinez Camarinha
|
8
|
+
- Daniel Paulino Alves
|
9
|
+
- Rafael Reggiani Manzo
|
10
|
+
- Heitor Reis Ribeiro
|
11
|
+
autorequire:
|
12
|
+
bindir: bin
|
13
|
+
cert_chain: []
|
14
|
+
date: 2015-01-22 00:00:00.000000000 Z
|
15
|
+
dependencies:
|
16
|
+
- !ruby/object:Gem::Dependency
|
17
|
+
name: bundler
|
18
|
+
requirement: !ruby/object:Gem::Requirement
|
19
|
+
requirements:
|
20
|
+
- - "~>"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '1.3'
|
23
|
+
type: :development
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - "~>"
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '1.3'
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: rake
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
requirements:
|
34
|
+
- - ">="
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: '0'
|
37
|
+
type: :development
|
38
|
+
prerelease: false
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
41
|
+
- - ">="
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '0'
|
44
|
+
- !ruby/object:Gem::Dependency
|
45
|
+
name: rspec
|
46
|
+
requirement: !ruby/object:Gem::Requirement
|
47
|
+
requirements:
|
48
|
+
- - "~>"
|
49
|
+
- !ruby/object:Gem::Version
|
50
|
+
version: 3.1.0
|
51
|
+
type: :development
|
52
|
+
prerelease: false
|
53
|
+
version_requirements: !ruby/object:Gem::Requirement
|
54
|
+
requirements:
|
55
|
+
- - "~>"
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
version: 3.1.0
|
58
|
+
- !ruby/object:Gem::Dependency
|
59
|
+
name: cucumber
|
60
|
+
requirement: !ruby/object:Gem::Requirement
|
61
|
+
requirements:
|
62
|
+
- - "~>"
|
63
|
+
- !ruby/object:Gem::Version
|
64
|
+
version: 1.3.14
|
65
|
+
type: :development
|
66
|
+
prerelease: false
|
67
|
+
version_requirements: !ruby/object:Gem::Requirement
|
68
|
+
requirements:
|
69
|
+
- - "~>"
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
version: 1.3.14
|
72
|
+
- !ruby/object:Gem::Dependency
|
73
|
+
name: mocha
|
74
|
+
requirement: !ruby/object:Gem::Requirement
|
75
|
+
requirements:
|
76
|
+
- - "~>"
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: 1.1.0
|
79
|
+
type: :development
|
80
|
+
prerelease: false
|
81
|
+
version_requirements: !ruby/object:Gem::Requirement
|
82
|
+
requirements:
|
83
|
+
- - "~>"
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: 1.1.0
|
86
|
+
- !ruby/object:Gem::Dependency
|
87
|
+
name: simplecov
|
88
|
+
requirement: !ruby/object:Gem::Requirement
|
89
|
+
requirements:
|
90
|
+
- - ">="
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
version: '0'
|
93
|
+
type: :development
|
94
|
+
prerelease: false
|
95
|
+
version_requirements: !ruby/object:Gem::Requirement
|
96
|
+
requirements:
|
97
|
+
- - ">="
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
version: '0'
|
100
|
+
- !ruby/object:Gem::Dependency
|
101
|
+
name: factory_girl
|
102
|
+
requirement: !ruby/object:Gem::Requirement
|
103
|
+
requirements:
|
104
|
+
- - "~>"
|
105
|
+
- !ruby/object:Gem::Version
|
106
|
+
version: 4.4.0
|
107
|
+
type: :development
|
108
|
+
prerelease: false
|
109
|
+
version_requirements: !ruby/object:Gem::Requirement
|
110
|
+
requirements:
|
111
|
+
- - "~>"
|
112
|
+
- !ruby/object:Gem::Version
|
113
|
+
version: 4.4.0
|
114
|
+
- !ruby/object:Gem::Dependency
|
115
|
+
name: coveralls
|
116
|
+
requirement: !ruby/object:Gem::Requirement
|
117
|
+
requirements:
|
118
|
+
- - ">="
|
119
|
+
- !ruby/object:Gem::Version
|
120
|
+
version: '0'
|
121
|
+
type: :development
|
122
|
+
prerelease: false
|
123
|
+
version_requirements: !ruby/object:Gem::Requirement
|
124
|
+
requirements:
|
125
|
+
- - ">="
|
126
|
+
- !ruby/object:Gem::Version
|
127
|
+
version: '0'
|
128
|
+
- !ruby/object:Gem::Dependency
|
129
|
+
name: activesupport
|
130
|
+
requirement: !ruby/object:Gem::Requirement
|
131
|
+
requirements:
|
132
|
+
- - ">="
|
133
|
+
- !ruby/object:Gem::Version
|
134
|
+
version: 2.2.1
|
135
|
+
type: :runtime
|
136
|
+
prerelease: false
|
137
|
+
version_requirements: !ruby/object:Gem::Requirement
|
138
|
+
requirements:
|
139
|
+
- - ">="
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: 2.2.1
|
142
|
+
- !ruby/object:Gem::Dependency
|
143
|
+
name: faraday_middleware
|
144
|
+
requirement: !ruby/object:Gem::Requirement
|
145
|
+
requirements:
|
146
|
+
- - "~>"
|
147
|
+
- !ruby/object:Gem::Version
|
148
|
+
version: 0.9.0
|
149
|
+
type: :runtime
|
150
|
+
prerelease: false
|
151
|
+
version_requirements: !ruby/object:Gem::Requirement
|
152
|
+
requirements:
|
153
|
+
- - "~>"
|
154
|
+
- !ruby/object:Gem::Version
|
155
|
+
version: 0.9.0
|
156
|
+
description: KalibroClient is a Ruby gem intended to be an interface for Ruby applications
|
157
|
+
who want to use the open source code analysis webservice Kalibro.
|
158
|
+
email:
|
159
|
+
- diegamc90@gmail.com
|
160
|
+
- danpaulalves@gmail.com
|
161
|
+
- rr.manzo@gmail.com
|
162
|
+
- marcheing@gmail.com
|
163
|
+
executables: []
|
164
|
+
extensions: []
|
165
|
+
extra_rdoc_files: []
|
166
|
+
files:
|
167
|
+
- ".gitignore"
|
168
|
+
- ".rspec"
|
169
|
+
- ".ruby-gemset"
|
170
|
+
- ".ruby-version"
|
171
|
+
- ".travis.yml"
|
172
|
+
- AUTHORS
|
173
|
+
- COPYING
|
174
|
+
- COPYING.LESSER
|
175
|
+
- Gemfile
|
176
|
+
- README.md
|
177
|
+
- Rakefile
|
178
|
+
- cucumber.yml
|
179
|
+
- features/kalibro_configuration/all.feature
|
180
|
+
- features/kalibro_configuration/creation.feature
|
181
|
+
- features/kalibro_configuration/destroy.feature
|
182
|
+
- features/kalibro_configuration/metric_configurations.feature
|
183
|
+
- features/metric_collector_details/all_names.feature
|
184
|
+
- features/metric_collector_details/find_by_name.feature
|
185
|
+
- features/metric_configuration/creation.feature
|
186
|
+
- features/metric_configuration/destroy.feature
|
187
|
+
- features/metric_configuration/find.feature
|
188
|
+
- features/metric_configuration/metric_configurations_of.feature
|
189
|
+
- features/metric_result/descendant_values.feature
|
190
|
+
- features/metric_result/history_of.feature
|
191
|
+
- features/metric_result/metric_results_of.feature
|
192
|
+
- features/module_result/children.feature
|
193
|
+
- features/module_result/find.feature
|
194
|
+
- features/module_result/history_of.feature
|
195
|
+
- features/processing/first_processing_after.feature
|
196
|
+
- features/processing/first_processing_of.feature
|
197
|
+
- features/processing/has_processing.feature
|
198
|
+
- features/processing/has_processing_after.feature
|
199
|
+
- features/processing/has_processing_before.feature
|
200
|
+
- features/processing/has_ready_processing.feature
|
201
|
+
- features/processing/last_processing_before.feature
|
202
|
+
- features/processing/last_processing_of.feature
|
203
|
+
- features/processing/last_processing_state_of.feature
|
204
|
+
- features/processing/last_ready_processing_of.feature
|
205
|
+
- features/processing/processing_of.feature
|
206
|
+
- features/processing/processing_with_date_of.feature
|
207
|
+
- features/project/all.feature
|
208
|
+
- features/project/creation.feature
|
209
|
+
- features/project/destroy.feature
|
210
|
+
- features/project/exists.feature
|
211
|
+
- features/project/find.feature
|
212
|
+
- features/range/destroy.feature
|
213
|
+
- features/range/exists.feature
|
214
|
+
- features/range/find.feature
|
215
|
+
- features/range/ranges_of.feature
|
216
|
+
- features/range/save.feature
|
217
|
+
- features/reading/destroy.feature
|
218
|
+
- features/reading/exists.feature
|
219
|
+
- features/reading/find.feature
|
220
|
+
- features/reading/readings_of.feature
|
221
|
+
- features/reading_group/all.feature
|
222
|
+
- features/reading_group/creation.feature
|
223
|
+
- features/reading_group/destroy.feature
|
224
|
+
- features/repository/all.feature
|
225
|
+
- features/repository/cancel_processing.feature
|
226
|
+
- features/repository/destroy.feature
|
227
|
+
- features/repository/exists.feature
|
228
|
+
- features/repository/find.feature
|
229
|
+
- features/repository/of.feature
|
230
|
+
- features/repository/process.feature
|
231
|
+
- features/repository/types.feature
|
232
|
+
- features/step_definitions/configuration_steps.rb
|
233
|
+
- features/step_definitions/metric_collector_details_steps.rb
|
234
|
+
- features/step_definitions/metric_configuration_steps.rb
|
235
|
+
- features/step_definitions/metric_result_steps.rb
|
236
|
+
- features/step_definitions/metric_steps.rb
|
237
|
+
- features/step_definitions/module_result_steps.rb
|
238
|
+
- features/step_definitions/processing_steps.rb
|
239
|
+
- features/step_definitions/project_steps.rb
|
240
|
+
- features/step_definitions/range_steps.rb
|
241
|
+
- features/step_definitions/reading_group_steps.rb
|
242
|
+
- features/step_definitions/reading_steps.rb
|
243
|
+
- features/step_definitions/repository_steps.rb
|
244
|
+
- features/support/env.rb
|
245
|
+
- features/support/kalibro_cucumber_helpers.yml.sample
|
246
|
+
- kalibro_client.gemspec
|
247
|
+
- lib/kalibro_client.rb
|
248
|
+
- lib/kalibro_client/entities.rb
|
249
|
+
- lib/kalibro_client/entities/base.rb
|
250
|
+
- lib/kalibro_client/entities/configurations/base.rb
|
251
|
+
- lib/kalibro_client/entities/configurations/kalibro_configuration.rb
|
252
|
+
- lib/kalibro_client/entities/configurations/kalibro_range.rb
|
253
|
+
- lib/kalibro_client/entities/configurations/metric_configuration.rb
|
254
|
+
- lib/kalibro_client/entities/configurations/range_snapshot.rb
|
255
|
+
- lib/kalibro_client/entities/configurations/reading.rb
|
256
|
+
- lib/kalibro_client/entities/configurations/reading_group.rb
|
257
|
+
- lib/kalibro_client/entities/miscellaneous/base.rb
|
258
|
+
- lib/kalibro_client/entities/miscellaneous/compound_metric.rb
|
259
|
+
- lib/kalibro_client/entities/miscellaneous/date_metric_result.rb
|
260
|
+
- lib/kalibro_client/entities/miscellaneous/date_module_result.rb
|
261
|
+
- lib/kalibro_client/entities/miscellaneous/granularity.rb
|
262
|
+
- lib/kalibro_client/entities/miscellaneous/metric.rb
|
263
|
+
- lib/kalibro_client/entities/miscellaneous/native_metric.rb
|
264
|
+
- lib/kalibro_client/entities/processor/base.rb
|
265
|
+
- lib/kalibro_client/entities/processor/kalibro_module.rb
|
266
|
+
- lib/kalibro_client/entities/processor/metric_collector_details.rb
|
267
|
+
- lib/kalibro_client/entities/processor/metric_result.rb
|
268
|
+
- lib/kalibro_client/entities/processor/module_result.rb
|
269
|
+
- lib/kalibro_client/entities/processor/process_time.rb
|
270
|
+
- lib/kalibro_client/entities/processor/processing.rb
|
271
|
+
- lib/kalibro_client/entities/processor/project.rb
|
272
|
+
- lib/kalibro_client/entities/processor/repository.rb
|
273
|
+
- lib/kalibro_client/errors.rb
|
274
|
+
- lib/kalibro_client/errors/record_not_found.rb
|
275
|
+
- lib/kalibro_client/errors/standard.rb
|
276
|
+
- lib/kalibro_client/helpers/aggregation_options.rb
|
277
|
+
- lib/kalibro_client/helpers/hash_converters.rb
|
278
|
+
- lib/kalibro_client/helpers/request_methods.rb
|
279
|
+
- lib/kalibro_client/helpers/xml_converters.rb
|
280
|
+
- lib/kalibro_client/kalibro_cucumber_helpers.rb
|
281
|
+
- lib/kalibro_client/kalibro_cucumber_helpers/configuration.rb
|
282
|
+
- lib/kalibro_client/kalibro_cucumber_helpers/hooks.rb
|
283
|
+
- lib/kalibro_client/version.rb
|
284
|
+
- lib/rake/test_task.rb
|
285
|
+
- spec/entities/base_spec.rb
|
286
|
+
- spec/entities/configurations/base_spec.rb
|
287
|
+
- spec/entities/configurations/kalibro_configuration_spec.rb
|
288
|
+
- spec/entities/configurations/kalibro_range_spec.rb
|
289
|
+
- spec/entities/configurations/metric_configuration_spec.rb
|
290
|
+
- spec/entities/configurations/range_snapshot_spec.rb
|
291
|
+
- spec/entities/configurations/reading_group_spec.rb
|
292
|
+
- spec/entities/configurations/reading_spec.rb
|
293
|
+
- spec/entities/miscellaneous/base_spec.rb
|
294
|
+
- spec/entities/miscellaneous/compound_metric_spec.rb
|
295
|
+
- spec/entities/miscellaneous/date_metric_result_spec.rb
|
296
|
+
- spec/entities/miscellaneous/date_module_result_spec.rb
|
297
|
+
- spec/entities/miscellaneous/granularity_spec.rb
|
298
|
+
- spec/entities/miscellaneous/metric_spec.rb
|
299
|
+
- spec/entities/miscellaneous/native_metric_spec.rb
|
300
|
+
- spec/entities/processor/base_spec.rb
|
301
|
+
- spec/entities/processor/metric_collector_details_spec.rb
|
302
|
+
- spec/entities/processor/metric_result_spec.rb
|
303
|
+
- spec/entities/processor/module_result_spec.rb
|
304
|
+
- spec/entities/processor/process_time_spec.rb
|
305
|
+
- spec/entities/processor/processing_spec.rb
|
306
|
+
- spec/entities/processor/project_spec.rb
|
307
|
+
- spec/entities/processor/repository_spec.rb
|
308
|
+
- spec/factories/date_metric_results.rb
|
309
|
+
- spec/factories/date_module_results.rb
|
310
|
+
- spec/factories/granularities.rb
|
311
|
+
- spec/factories/kalibro_configurations.rb
|
312
|
+
- spec/factories/kalibro_module.rb
|
313
|
+
- spec/factories/kalibro_ranges.rb
|
314
|
+
- spec/factories/metric_collector_details.rb
|
315
|
+
- spec/factories/metric_configurations.rb
|
316
|
+
- spec/factories/metric_results.rb
|
317
|
+
- spec/factories/metrics.rb
|
318
|
+
- spec/factories/models.rb
|
319
|
+
- spec/factories/module_results.rb
|
320
|
+
- spec/factories/process_times.rb
|
321
|
+
- spec/factories/processings.rb
|
322
|
+
- spec/factories/projects.rb
|
323
|
+
- spec/factories/ranges_snapshot.rb
|
324
|
+
- spec/factories/reading_groups.rb
|
325
|
+
- spec/factories/readings.rb
|
326
|
+
- spec/factories/repositories.rb
|
327
|
+
- spec/helpers/aggregation_options_spec.rb
|
328
|
+
- spec/helpers/hash_converters_spec.rb
|
329
|
+
- spec/helpers/xml_converters_spec.rb
|
330
|
+
- spec/kalibro_entities_spec.rb
|
331
|
+
- spec/savon/fixtures/config.yml
|
332
|
+
- spec/savon/fixtures/invalid_config.yml
|
333
|
+
- spec/savon/fixtures/project/does_not_exists.xml
|
334
|
+
- spec/savon/savon_test_helper.rb
|
335
|
+
- spec/spec_helper.rb
|
336
|
+
homepage: https://github.com/mezuro/kalibro_client
|
337
|
+
licenses:
|
338
|
+
- LGPLv3
|
339
|
+
metadata: {}
|
340
|
+
post_install_message:
|
341
|
+
rdoc_options: []
|
342
|
+
require_paths:
|
343
|
+
- lib
|
344
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
345
|
+
requirements:
|
346
|
+
- - ">="
|
347
|
+
- !ruby/object:Gem::Version
|
348
|
+
version: '0'
|
349
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
350
|
+
requirements:
|
351
|
+
- - ">="
|
352
|
+
- !ruby/object:Gem::Version
|
353
|
+
version: '0'
|
354
|
+
requirements: []
|
355
|
+
rubyforge_project:
|
356
|
+
rubygems_version: 2.4.5
|
357
|
+
signing_key:
|
358
|
+
specification_version: 4
|
359
|
+
summary: KalibroClient is a communication interface with the KalibroProcessor and
|
360
|
+
KalibroConfigurations services.
|
361
|
+
test_files:
|
362
|
+
- features/kalibro_configuration/all.feature
|
363
|
+
- features/kalibro_configuration/creation.feature
|
364
|
+
- features/kalibro_configuration/destroy.feature
|
365
|
+
- features/kalibro_configuration/metric_configurations.feature
|
366
|
+
- features/metric_collector_details/all_names.feature
|
367
|
+
- features/metric_collector_details/find_by_name.feature
|
368
|
+
- features/metric_configuration/creation.feature
|
369
|
+
- features/metric_configuration/destroy.feature
|
370
|
+
- features/metric_configuration/find.feature
|
371
|
+
- features/metric_configuration/metric_configurations_of.feature
|
372
|
+
- features/metric_result/descendant_values.feature
|
373
|
+
- features/metric_result/history_of.feature
|
374
|
+
- features/metric_result/metric_results_of.feature
|
375
|
+
- features/module_result/children.feature
|
376
|
+
- features/module_result/find.feature
|
377
|
+
- features/module_result/history_of.feature
|
378
|
+
- features/processing/first_processing_after.feature
|
379
|
+
- features/processing/first_processing_of.feature
|
380
|
+
- features/processing/has_processing.feature
|
381
|
+
- features/processing/has_processing_after.feature
|
382
|
+
- features/processing/has_processing_before.feature
|
383
|
+
- features/processing/has_ready_processing.feature
|
384
|
+
- features/processing/last_processing_before.feature
|
385
|
+
- features/processing/last_processing_of.feature
|
386
|
+
- features/processing/last_processing_state_of.feature
|
387
|
+
- features/processing/last_ready_processing_of.feature
|
388
|
+
- features/processing/processing_of.feature
|
389
|
+
- features/processing/processing_with_date_of.feature
|
390
|
+
- features/project/all.feature
|
391
|
+
- features/project/creation.feature
|
392
|
+
- features/project/destroy.feature
|
393
|
+
- features/project/exists.feature
|
394
|
+
- features/project/find.feature
|
395
|
+
- features/range/destroy.feature
|
396
|
+
- features/range/exists.feature
|
397
|
+
- features/range/find.feature
|
398
|
+
- features/range/ranges_of.feature
|
399
|
+
- features/range/save.feature
|
400
|
+
- features/reading/destroy.feature
|
401
|
+
- features/reading/exists.feature
|
402
|
+
- features/reading/find.feature
|
403
|
+
- features/reading/readings_of.feature
|
404
|
+
- features/reading_group/all.feature
|
405
|
+
- features/reading_group/creation.feature
|
406
|
+
- features/reading_group/destroy.feature
|
407
|
+
- features/repository/all.feature
|
408
|
+
- features/repository/cancel_processing.feature
|
409
|
+
- features/repository/destroy.feature
|
410
|
+
- features/repository/exists.feature
|
411
|
+
- features/repository/find.feature
|
412
|
+
- features/repository/of.feature
|
413
|
+
- features/repository/process.feature
|
414
|
+
- features/repository/types.feature
|
415
|
+
- features/step_definitions/configuration_steps.rb
|
416
|
+
- features/step_definitions/metric_collector_details_steps.rb
|
417
|
+
- features/step_definitions/metric_configuration_steps.rb
|
418
|
+
- features/step_definitions/metric_result_steps.rb
|
419
|
+
- features/step_definitions/metric_steps.rb
|
420
|
+
- features/step_definitions/module_result_steps.rb
|
421
|
+
- features/step_definitions/processing_steps.rb
|
422
|
+
- features/step_definitions/project_steps.rb
|
423
|
+
- features/step_definitions/range_steps.rb
|
424
|
+
- features/step_definitions/reading_group_steps.rb
|
425
|
+
- features/step_definitions/reading_steps.rb
|
426
|
+
- features/step_definitions/repository_steps.rb
|
427
|
+
- features/support/env.rb
|
428
|
+
- features/support/kalibro_cucumber_helpers.yml.sample
|
429
|
+
- spec/entities/base_spec.rb
|
430
|
+
- spec/entities/configurations/base_spec.rb
|
431
|
+
- spec/entities/configurations/kalibro_configuration_spec.rb
|
432
|
+
- spec/entities/configurations/kalibro_range_spec.rb
|
433
|
+
- spec/entities/configurations/metric_configuration_spec.rb
|
434
|
+
- spec/entities/configurations/range_snapshot_spec.rb
|
435
|
+
- spec/entities/configurations/reading_group_spec.rb
|
436
|
+
- spec/entities/configurations/reading_spec.rb
|
437
|
+
- spec/entities/miscellaneous/base_spec.rb
|
438
|
+
- spec/entities/miscellaneous/compound_metric_spec.rb
|
439
|
+
- spec/entities/miscellaneous/date_metric_result_spec.rb
|
440
|
+
- spec/entities/miscellaneous/date_module_result_spec.rb
|
441
|
+
- spec/entities/miscellaneous/granularity_spec.rb
|
442
|
+
- spec/entities/miscellaneous/metric_spec.rb
|
443
|
+
- spec/entities/miscellaneous/native_metric_spec.rb
|
444
|
+
- spec/entities/processor/base_spec.rb
|
445
|
+
- spec/entities/processor/metric_collector_details_spec.rb
|
446
|
+
- spec/entities/processor/metric_result_spec.rb
|
447
|
+
- spec/entities/processor/module_result_spec.rb
|
448
|
+
- spec/entities/processor/process_time_spec.rb
|
449
|
+
- spec/entities/processor/processing_spec.rb
|
450
|
+
- spec/entities/processor/project_spec.rb
|
451
|
+
- spec/entities/processor/repository_spec.rb
|
452
|
+
- spec/factories/date_metric_results.rb
|
453
|
+
- spec/factories/date_module_results.rb
|
454
|
+
- spec/factories/granularities.rb
|
455
|
+
- spec/factories/kalibro_configurations.rb
|
456
|
+
- spec/factories/kalibro_module.rb
|
457
|
+
- spec/factories/kalibro_ranges.rb
|
458
|
+
- spec/factories/metric_collector_details.rb
|
459
|
+
- spec/factories/metric_configurations.rb
|
460
|
+
- spec/factories/metric_results.rb
|
461
|
+
- spec/factories/metrics.rb
|
462
|
+
- spec/factories/models.rb
|
463
|
+
- spec/factories/module_results.rb
|
464
|
+
- spec/factories/process_times.rb
|
465
|
+
- spec/factories/processings.rb
|
466
|
+
- spec/factories/projects.rb
|
467
|
+
- spec/factories/ranges_snapshot.rb
|
468
|
+
- spec/factories/reading_groups.rb
|
469
|
+
- spec/factories/readings.rb
|
470
|
+
- spec/factories/repositories.rb
|
471
|
+
- spec/helpers/aggregation_options_spec.rb
|
472
|
+
- spec/helpers/hash_converters_spec.rb
|
473
|
+
- spec/helpers/xml_converters_spec.rb
|
474
|
+
- spec/kalibro_entities_spec.rb
|
475
|
+
- spec/savon/fixtures/config.yml
|
476
|
+
- spec/savon/fixtures/invalid_config.yml
|
477
|
+
- spec/savon/fixtures/project/does_not_exists.xml
|
478
|
+
- spec/savon/savon_test_helper.rb
|
479
|
+
- spec/spec_helper.rb
|