elir_json 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +11 -0
- data/.rspec +4 -0
- data/.travis.yml +5 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +41 -0
- data/LICENSE.txt +21 -0
- data/README.md +43 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/elir_json.gemspec +28 -0
- data/lib/elir_json.rb +6 -0
- data/lib/elir_json/version.rb +3 -0
- data/lib/elir_json_formatter.rb +57 -0
- data/test +90 -0
- metadata +116 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 873cff5cc46abad0e0bd37ffce75c101de599a22
|
4
|
+
data.tar.gz: c8bb766cfbd2fb01636e7584fa05b28d68c6cdaa
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 8ce014f3e6cf5ddb4fae2c6875c4bd46b1b039386b2e3cbcf5bf76ad98bffebc213b8f4730537d04347ef3670e590e8b3fef48860e2f475bdfa08c9f355c5caa
|
7
|
+
data.tar.gz: 485ef11a153c2fbb2ac8effb609a1ab810ea96d12926e104a59c0f28a2d1382eab1f3fa267a50d1ff077b900470b79b1ce774e9cbc8b48f23d8f7b6463fa8994
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.travis.yml
ADDED
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
2
|
+
|
3
|
+
## Our Pledge
|
4
|
+
|
5
|
+
In the interest of fostering an open and welcoming environment, we as
|
6
|
+
contributors and maintainers pledge to making participation in our project and
|
7
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
+
size, disability, ethnicity, gender identity and expression, level of experience,
|
9
|
+
nationality, personal appearance, race, religion, or sexual identity and
|
10
|
+
orientation.
|
11
|
+
|
12
|
+
## Our Standards
|
13
|
+
|
14
|
+
Examples of behavior that contributes to creating a positive environment
|
15
|
+
include:
|
16
|
+
|
17
|
+
* Using welcoming and inclusive language
|
18
|
+
* Being respectful of differing viewpoints and experiences
|
19
|
+
* Gracefully accepting constructive criticism
|
20
|
+
* Focusing on what is best for the community
|
21
|
+
* Showing empathy towards other community members
|
22
|
+
|
23
|
+
Examples of unacceptable behavior by participants include:
|
24
|
+
|
25
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26
|
+
advances
|
27
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
|
+
* Public or private harassment
|
29
|
+
* Publishing others' private information, such as a physical or electronic
|
30
|
+
address, without explicit permission
|
31
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
32
|
+
professional setting
|
33
|
+
|
34
|
+
## Our Responsibilities
|
35
|
+
|
36
|
+
Project maintainers are responsible for clarifying the standards of acceptable
|
37
|
+
behavior and are expected to take appropriate and fair corrective action in
|
38
|
+
response to any instances of unacceptable behavior.
|
39
|
+
|
40
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
41
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
42
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
43
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
44
|
+
threatening, offensive, or harmful.
|
45
|
+
|
46
|
+
## Scope
|
47
|
+
|
48
|
+
This Code of Conduct applies both within project spaces and in public spaces
|
49
|
+
when an individual is representing the project or its community. Examples of
|
50
|
+
representing a project or community include using an official project e-mail
|
51
|
+
address, posting via an official social media account, or acting as an appointed
|
52
|
+
representative at an online or offline event. Representation of a project may be
|
53
|
+
further defined and clarified by project maintainers.
|
54
|
+
|
55
|
+
## Enforcement
|
56
|
+
|
57
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
+
reported by contacting the project team at TODO: Write your email address. All
|
59
|
+
complaints will be reviewed and investigated and will result in a response that
|
60
|
+
is deemed necessary and appropriate to the circumstances. The project team is
|
61
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62
|
+
Further details of specific enforcement policies may be posted separately.
|
63
|
+
|
64
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
65
|
+
faith may face temporary or permanent repercussions as determined by other
|
66
|
+
members of the project's leadership.
|
67
|
+
|
68
|
+
## Attribution
|
69
|
+
|
70
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
71
|
+
available at [http://contributor-covenant.org/version/1/4][version]
|
72
|
+
|
73
|
+
[homepage]: http://contributor-covenant.org
|
74
|
+
[version]: http://contributor-covenant.org/version/1/4/
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,41 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
elir_json (0.1.0)
|
5
|
+
|
6
|
+
GEM
|
7
|
+
remote: https://rubygems.org/
|
8
|
+
specs:
|
9
|
+
coderay (1.1.2)
|
10
|
+
diff-lcs (1.3)
|
11
|
+
method_source (0.9.0)
|
12
|
+
pry (0.11.1)
|
13
|
+
coderay (~> 1.1.0)
|
14
|
+
method_source (~> 0.9.0)
|
15
|
+
rake (10.5.0)
|
16
|
+
rspec (3.6.0)
|
17
|
+
rspec-core (~> 3.6.0)
|
18
|
+
rspec-expectations (~> 3.6.0)
|
19
|
+
rspec-mocks (~> 3.6.0)
|
20
|
+
rspec-core (3.6.0)
|
21
|
+
rspec-support (~> 3.6.0)
|
22
|
+
rspec-expectations (3.6.0)
|
23
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
24
|
+
rspec-support (~> 3.6.0)
|
25
|
+
rspec-mocks (3.6.0)
|
26
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
27
|
+
rspec-support (~> 3.6.0)
|
28
|
+
rspec-support (3.6.0)
|
29
|
+
|
30
|
+
PLATFORMS
|
31
|
+
ruby
|
32
|
+
|
33
|
+
DEPENDENCIES
|
34
|
+
bundler (~> 1.16.a)
|
35
|
+
elir_json!
|
36
|
+
pry
|
37
|
+
rake (~> 10.0)
|
38
|
+
rspec (~> 3.0)
|
39
|
+
|
40
|
+
BUNDLED WITH
|
41
|
+
1.16.0.pre.2
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2017 TODO: Write your name
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,43 @@
|
|
1
|
+
# ElirJson
|
2
|
+
|
3
|
+
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/elir_json`. To experiment with that code, run `bin/console` for an interactive prompt.
|
4
|
+
|
5
|
+
TODO: Delete this and the text above, and describe your gem
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
Add this line to your application's Gemfile:
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
gem 'elir_json'
|
13
|
+
```
|
14
|
+
|
15
|
+
And then execute:
|
16
|
+
|
17
|
+
$ bundle
|
18
|
+
|
19
|
+
Or install it yourself as:
|
20
|
+
|
21
|
+
$ gem install elir_json
|
22
|
+
|
23
|
+
## Usage
|
24
|
+
|
25
|
+
TODO: Write usage instructions here
|
26
|
+
|
27
|
+
## Development
|
28
|
+
|
29
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
30
|
+
|
31
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
32
|
+
|
33
|
+
## Contributing
|
34
|
+
|
35
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/elir_json. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
36
|
+
|
37
|
+
## License
|
38
|
+
|
39
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
40
|
+
|
41
|
+
## Code of Conduct
|
42
|
+
|
43
|
+
Everyone interacting in the ElirJson project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/elir_json/blob/master/CODE_OF_CONDUCT.md).
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require 'bundler/setup'
|
4
|
+
require 'elir_json'
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require 'irb'
|
14
|
+
IRB.start(__FILE__)
|
data/bin/setup
ADDED
data/elir_json.gemspec
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'elir_json/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = 'elir_json'
|
8
|
+
spec.version = ElirJson::VERSION
|
9
|
+
spec.authors = ['frbk']
|
10
|
+
spec.email = ['']
|
11
|
+
|
12
|
+
spec.summary = 'JSON formatter for elir.'
|
13
|
+
spec.description = 'JSON formatter for elir.'
|
14
|
+
spec.homepage = ''
|
15
|
+
spec.license = 'MIT'
|
16
|
+
|
17
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
18
|
+
f.match(%r{^(test|spec|features)/})
|
19
|
+
end
|
20
|
+
spec.bindir = 'exe'
|
21
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
22
|
+
spec.require_paths = ['lib']
|
23
|
+
|
24
|
+
spec.add_development_dependency 'bundler', '~> 1.16.a'
|
25
|
+
spec.add_development_dependency 'rake', '~> 10.0'
|
26
|
+
spec.add_development_dependency 'rspec', '~> 3.0'
|
27
|
+
spec.add_development_dependency 'pry'
|
28
|
+
end
|
data/lib/elir_json.rb
ADDED
@@ -0,0 +1,57 @@
|
|
1
|
+
require 'rspec/core/formatters/base_formatter'
|
2
|
+
require 'json'
|
3
|
+
|
4
|
+
class ElirJsonFormatter < RSpec::Core::Formatters::BaseFormatter
|
5
|
+
RSpec::Core::Formatters.register self, :example_passed, :example_pending, :example_failed, :close
|
6
|
+
|
7
|
+
attr_reader :output_hash
|
8
|
+
|
9
|
+
def initialize(output)
|
10
|
+
super
|
11
|
+
@output_hash = {}
|
12
|
+
@env_final = {}
|
13
|
+
end
|
14
|
+
|
15
|
+
def example_passed(passed)
|
16
|
+
process_example(passed.example)
|
17
|
+
end
|
18
|
+
|
19
|
+
def example_pending(pending)
|
20
|
+
process_example(pending.example)
|
21
|
+
end
|
22
|
+
|
23
|
+
def example_failed(failure)
|
24
|
+
process_example(failure.example)
|
25
|
+
end
|
26
|
+
|
27
|
+
private
|
28
|
+
|
29
|
+
def process_example(example)
|
30
|
+
@output_hash = format_example(example)
|
31
|
+
output.write @output_hash.to_json
|
32
|
+
@output_hash = {}
|
33
|
+
@env_final = {}
|
34
|
+
end
|
35
|
+
|
36
|
+
def format_example(example)
|
37
|
+
{
|
38
|
+
id: example.id,
|
39
|
+
description: example.description,
|
40
|
+
full_description: example.full_description,
|
41
|
+
status: example.execution_result.status.to_s,
|
42
|
+
file_path: example.metadata[:file_path],
|
43
|
+
line_number: example.metadata[:line_number],
|
44
|
+
run_time: example.execution_result.run_time,
|
45
|
+
pending_message: example.execution_result.pending_message,
|
46
|
+
env: format_envs(ENV['labels'])
|
47
|
+
}
|
48
|
+
end
|
49
|
+
|
50
|
+
def format_envs(envs)
|
51
|
+
return unless ENV['labels']
|
52
|
+
envs.to_s.split(/\W+/).each do |k,v|
|
53
|
+
@env_final[k.downcase.to_sym] = ENV[k]
|
54
|
+
end
|
55
|
+
@env_final
|
56
|
+
end
|
57
|
+
end
|
data/test
ADDED
@@ -0,0 +1,90 @@
|
|
1
|
+
{
|
2
|
+
"version": "3.6.0",
|
3
|
+
"examples": [
|
4
|
+
{
|
5
|
+
"id": "./spec/elir_json_spec.rb[1:1]",
|
6
|
+
"description": "has a version number",
|
7
|
+
"full_description": "ElirJson has a version number",
|
8
|
+
"status": "passed",
|
9
|
+
"file_path": "./spec/elir_json_spec.rb",
|
10
|
+
"line_number": 2,
|
11
|
+
"run_time": 0.000413725,
|
12
|
+
"pending_message": null
|
13
|
+
},
|
14
|
+
{
|
15
|
+
"id": "./spec/elir_json_spec.rb[1:2]",
|
16
|
+
"description": "does something useful",
|
17
|
+
"full_description": "ElirJson does something useful",
|
18
|
+
"status": "failed",
|
19
|
+
"file_path": "./spec/elir_json_spec.rb",
|
20
|
+
"line_number": 6,
|
21
|
+
"run_time": 0.00860687,
|
22
|
+
"pending_message": null,
|
23
|
+
"exception": {
|
24
|
+
"class": "RSpec::Expectations::ExpectationNotMetError",
|
25
|
+
"message": "\nexpected: true\n got: false\n\n(compared using ==)\n",
|
26
|
+
"backtrace": [
|
27
|
+
"/home/fedor/.gem/ruby/2.4.1/gems/rspec-support-3.6.0/lib/rspec/support.rb:87:in `block in <module:Support>'",
|
28
|
+
"/home/fedor/.gem/ruby/2.4.1/gems/rspec-support-3.6.0/lib/rspec/support.rb:96:in `notify_failure'",
|
29
|
+
"/home/fedor/.gem/ruby/2.4.1/gems/rspec-expectations-3.6.0/lib/rspec/expectations/fail_with.rb:35:in `fail_with'",
|
30
|
+
"/home/fedor/.gem/ruby/2.4.1/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:38:in `handle_failure'",
|
31
|
+
"/home/fedor/.gem/ruby/2.4.1/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'",
|
32
|
+
"/home/fedor/.gem/ruby/2.4.1/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'",
|
33
|
+
"/home/fedor/.gem/ruby/2.4.1/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'",
|
34
|
+
"/home/fedor/.gem/ruby/2.4.1/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'",
|
35
|
+
"/home/fedor/Github/elir_json/spec/elir_json_spec.rb:7:in `block (2 levels) in <top (required)>'",
|
36
|
+
"/home/fedor/.gem/ruby/2.4.1/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'",
|
37
|
+
"/home/fedor/.gem/ruby/2.4.1/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'",
|
38
|
+
"/home/fedor/.gem/ruby/2.4.1/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'",
|
39
|
+
"/home/fedor/.gem/ruby/2.4.1/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'",
|
40
|
+
"/home/fedor/.gem/ruby/2.4.1/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'",
|
41
|
+
"/home/fedor/.gem/ruby/2.4.1/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:602:in `run_around_example_hooks_for'",
|
42
|
+
"/home/fedor/.gem/ruby/2.4.1/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'",
|
43
|
+
"/home/fedor/.gem/ruby/2.4.1/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'",
|
44
|
+
"/home/fedor/.gem/ruby/2.4.1/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'",
|
45
|
+
"/home/fedor/.gem/ruby/2.4.1/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'",
|
46
|
+
"/home/fedor/.gem/ruby/2.4.1/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'",
|
47
|
+
"/home/fedor/.gem/ruby/2.4.1/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'",
|
48
|
+
"/home/fedor/.gem/ruby/2.4.1/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'",
|
49
|
+
"/home/fedor/.gem/ruby/2.4.1/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'",
|
50
|
+
"/home/fedor/.gem/ruby/2.4.1/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'",
|
51
|
+
"/home/fedor/.gem/ruby/2.4.1/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'",
|
52
|
+
"/home/fedor/.gem/ruby/2.4.1/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'",
|
53
|
+
"/home/fedor/.gem/ruby/2.4.1/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'",
|
54
|
+
"/home/fedor/.gem/ruby/2.4.1/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'",
|
55
|
+
"/home/fedor/.gem/ruby/2.4.1/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'",
|
56
|
+
"/home/fedor/.gem/ruby/2.4.1/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'",
|
57
|
+
"/home/fedor/.gem/ruby/2.4.1/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'",
|
58
|
+
"/home/fedor/.gem/ruby/2.4.1/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'",
|
59
|
+
"/home/fedor/.gem/ruby/2.4.1/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'",
|
60
|
+
"/home/fedor/.gem/ruby/2.4.1/gems/rspec-core-3.6.0/exe/rspec:4:in `<top (required)>'",
|
61
|
+
"/home/fedor/.gem/ruby/2.4.1/bin/rspec:23:in `load'",
|
62
|
+
"/home/fedor/.gem/ruby/2.4.1/bin/rspec:23:in `<top (required)>'",
|
63
|
+
"/home/fedor/.gem/ruby/2.4.1/gems/bundler-1.16.0.pre.2/lib/bundler/cli/exec.rb:75:in `load'",
|
64
|
+
"/home/fedor/.gem/ruby/2.4.1/gems/bundler-1.16.0.pre.2/lib/bundler/cli/exec.rb:75:in `kernel_load'",
|
65
|
+
"/home/fedor/.gem/ruby/2.4.1/gems/bundler-1.16.0.pre.2/lib/bundler/cli/exec.rb:28:in `run'",
|
66
|
+
"/home/fedor/.gem/ruby/2.4.1/gems/bundler-1.16.0.pre.2/lib/bundler/cli.rb:424:in `exec'",
|
67
|
+
"/home/fedor/.gem/ruby/2.4.1/gems/bundler-1.16.0.pre.2/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'",
|
68
|
+
"/home/fedor/.gem/ruby/2.4.1/gems/bundler-1.16.0.pre.2/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'",
|
69
|
+
"/home/fedor/.gem/ruby/2.4.1/gems/bundler-1.16.0.pre.2/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'",
|
70
|
+
"/home/fedor/.gem/ruby/2.4.1/gems/bundler-1.16.0.pre.2/lib/bundler/cli.rb:27:in `dispatch'",
|
71
|
+
"/home/fedor/.gem/ruby/2.4.1/gems/bundler-1.16.0.pre.2/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'",
|
72
|
+
"/home/fedor/.gem/ruby/2.4.1/gems/bundler-1.16.0.pre.2/lib/bundler/cli.rb:18:in `start'",
|
73
|
+
"/home/fedor/.gem/ruby/2.4.1/gems/bundler-1.16.0.pre.2/exe/bundle:30:in `block in <top (required)>'",
|
74
|
+
"/home/fedor/.gem/ruby/2.4.1/gems/bundler-1.16.0.pre.2/lib/bundler/friendly_errors.rb:122:in `with_friendly_errors'",
|
75
|
+
"/home/fedor/.gem/ruby/2.4.1/gems/bundler-1.16.0.pre.2/exe/bundle:22:in `<top (required)>'",
|
76
|
+
"/home/fedor/.gem/ruby/2.4.1/bin/bundle:23:in `load'",
|
77
|
+
"/home/fedor/.gem/ruby/2.4.1/bin/bundle:23:in `<main>'"
|
78
|
+
]
|
79
|
+
}
|
80
|
+
}
|
81
|
+
],
|
82
|
+
"summary": {
|
83
|
+
"duration": 0.010628779,
|
84
|
+
"example_count": 2,
|
85
|
+
"failure_count": 1,
|
86
|
+
"pending_count": 0,
|
87
|
+
"errors_outside_of_examples_count": 0
|
88
|
+
},
|
89
|
+
"summary_line": "2 examples, 1 failure"
|
90
|
+
}
|
metadata
ADDED
@@ -0,0 +1,116 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: elir_json
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- frbk
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2017-10-05 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 1.16.a
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 1.16.a
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '3.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '3.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: pry
|
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'
|
69
|
+
description: JSON formatter for elir.
|
70
|
+
email:
|
71
|
+
- ''
|
72
|
+
executables: []
|
73
|
+
extensions: []
|
74
|
+
extra_rdoc_files: []
|
75
|
+
files:
|
76
|
+
- ".gitignore"
|
77
|
+
- ".rspec"
|
78
|
+
- ".travis.yml"
|
79
|
+
- CODE_OF_CONDUCT.md
|
80
|
+
- Gemfile
|
81
|
+
- Gemfile.lock
|
82
|
+
- LICENSE.txt
|
83
|
+
- README.md
|
84
|
+
- Rakefile
|
85
|
+
- bin/console
|
86
|
+
- bin/setup
|
87
|
+
- elir_json.gemspec
|
88
|
+
- lib/elir_json.rb
|
89
|
+
- lib/elir_json/version.rb
|
90
|
+
- lib/elir_json_formatter.rb
|
91
|
+
- test
|
92
|
+
homepage: ''
|
93
|
+
licenses:
|
94
|
+
- MIT
|
95
|
+
metadata: {}
|
96
|
+
post_install_message:
|
97
|
+
rdoc_options: []
|
98
|
+
require_paths:
|
99
|
+
- lib
|
100
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
101
|
+
requirements:
|
102
|
+
- - ">="
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: '0'
|
105
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - ">="
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
110
|
+
requirements: []
|
111
|
+
rubyforge_project:
|
112
|
+
rubygems_version: 2.5.2
|
113
|
+
signing_key:
|
114
|
+
specification_version: 4
|
115
|
+
summary: JSON formatter for elir.
|
116
|
+
test_files: []
|