streaker 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +15 -0
- data/.rspec +2 -0
- data/.rubocop.yml +12 -0
- data/.travis.yml +5 -0
- data/CHANGELOG.md +7 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +6 -0
- data/LICENSE.md +21 -0
- data/README.md +129 -0
- data/Rakefile +12 -0
- data/bin/console +14 -0
- data/bin/setup +6 -0
- data/lib/streaker/box.rb +94 -0
- data/lib/streaker/box_not_found_error.rb +3 -0
- data/lib/streaker/configuration.rb +42 -0
- data/lib/streaker/version.rb +3 -0
- data/lib/streaker.rb +6 -0
- data/streaker.gemspec +43 -0
- metadata +182 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 4bc2a4a60a0faa7cc2b4a9d4c9dd926a5bbed55f
|
4
|
+
data.tar.gz: 666da415df2bf8e6111dad1af75cc1a78239d477
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 384896b543a2460b39c15fadef23d5144bc29c5a3c57e15cb60710296f5235c96bc6395fb91c1ac093e4144a93500fd016d05ea3574542b16023e949decbf0e6
|
7
|
+
data.tar.gz: 8dd14b39543a428545249b893d268aef075937ac6ffd84486f685fce60d2473d72f1fd24e50eaccf28f4c92fedda9cf9e04a1cbdde8c6d126ced205f6d8abd4c
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.rubocop.yml
ADDED
data/.travis.yml
ADDED
data/CHANGELOG.md
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 sunny@sunfox.org. 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/LICENSE.md
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2017 KissKissBankBank
|
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 all
|
13
|
+
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 THE
|
21
|
+
SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,129 @@
|
|
1
|
+
# Streaker [![CircleCI](https://circleci.com/gh/KissKissBankBank/streaker.svg?style=svg)](https://circleci.com/gh/KissKissBankBank/streaker)
|
2
|
+
|
3
|
+
Ruby gem to access Streak's API.
|
4
|
+
|
5
|
+
![Streaker on Ninja Warrior](https://media.giphy.com/media/LMfZEPTKKRgJy/giphy.gif)
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
Add this line to your application's Gemfile:
|
10
|
+
|
11
|
+
```rb
|
12
|
+
gem 'streaker'
|
13
|
+
```
|
14
|
+
|
15
|
+
And then execute:
|
16
|
+
|
17
|
+
```sh
|
18
|
+
$ bundle
|
19
|
+
```
|
20
|
+
|
21
|
+
Or install it yourself as:
|
22
|
+
|
23
|
+
```sh
|
24
|
+
$ gem install streaker
|
25
|
+
```
|
26
|
+
|
27
|
+
## Usage
|
28
|
+
|
29
|
+
Create a box:
|
30
|
+
|
31
|
+
```rb
|
32
|
+
box = Streaker::Box.create(
|
33
|
+
name: 'Some box name',
|
34
|
+
stage: :my_stage,
|
35
|
+
my_field: 'Some field value',
|
36
|
+
…
|
37
|
+
)
|
38
|
+
box.key # => your new box's key
|
39
|
+
```
|
40
|
+
|
41
|
+
Update a box:
|
42
|
+
|
43
|
+
```rb
|
44
|
+
box = Streaker::Box.new('a_box_key')
|
45
|
+
box.update(
|
46
|
+
my_field: 'A new field value',
|
47
|
+
…
|
48
|
+
)
|
49
|
+
```
|
50
|
+
|
51
|
+
## Configuration
|
52
|
+
|
53
|
+
Configure Streaker:
|
54
|
+
|
55
|
+
```rb
|
56
|
+
Streaker.configure do |config|
|
57
|
+
# To find your API key, check out http://www.streak.com/api/#apikey
|
58
|
+
config.api_key = 'YOUR_API_KEY_HERE'
|
59
|
+
|
60
|
+
# Provide an identifier for the pipeline(s) you want to access.
|
61
|
+
# You can find the pipeline keys keys by configuring your api key, then typing
|
62
|
+
# inside a console:
|
63
|
+
# > Streak::Pipeline.all.map { |p| [p.key, p.name] }.to_h
|
64
|
+
config.pipeline_keys = {
|
65
|
+
default: 'YOUR_PIPELINE_KEY_HERE',
|
66
|
+
}
|
67
|
+
|
68
|
+
# Provide an identifier for each "Stage" your boxes can go through.
|
69
|
+
# You can find the stage keys by configuring a pipeline key, then typing
|
70
|
+
# inside a console:
|
71
|
+
#
|
72
|
+
# > pipeline_key = Streaker.configuration.pipeline_keys.values.first
|
73
|
+
# > stages = Streak::Stage.all(pipeline_key)
|
74
|
+
# > stages = stages.instance_variable_get('@values')
|
75
|
+
# > values = stages.map { |value| value.instance_variable_get('@values') }
|
76
|
+
# > values.map { |value| [value[:key].to_i, value[:name]] }.to_h
|
77
|
+
config.stage_keys = {
|
78
|
+
my_stage: 1042,
|
79
|
+
}
|
80
|
+
|
81
|
+
# Provide an identifier for each custom field your boxes can have.
|
82
|
+
# You can find all the field keys by configuring a pipeline key, then typing
|
83
|
+
# inside a console:
|
84
|
+
#
|
85
|
+
# $ bin/console
|
86
|
+
# > pipeline_key = Streaker.configuration.pipeline_keys.values.first
|
87
|
+
# > box = Streak::Box.all(pipeline_key).first ; nil
|
88
|
+
# > Streak::FieldValue.all(box.key)
|
89
|
+
config.field_keys = {
|
90
|
+
my_field: 1043,
|
91
|
+
}
|
92
|
+
end
|
93
|
+
```
|
94
|
+
|
95
|
+
## Development
|
96
|
+
|
97
|
+
After checking out the repo, run `bin/setup` to install dependencies.
|
98
|
+
|
99
|
+
Then, create a `credentials.rb` file with:
|
100
|
+
|
101
|
+
```rb
|
102
|
+
Streaker.configure do |config|
|
103
|
+
# To find your API key, check out http://www.streak.com/api/#apikey
|
104
|
+
config.api_key = 'YOUR_API_KEY_HERE'
|
105
|
+
end
|
106
|
+
```
|
107
|
+
|
108
|
+
Then, run `rake spec` to run the tests. You can also run `bin/console` for an
|
109
|
+
interactive prompt that will allow you to experiment.
|
110
|
+
|
111
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To
|
112
|
+
release a new version, update the version number in `version.rb`, and then run
|
113
|
+
`bundle exec rake release`, which will create a git tag for the version, push
|
114
|
+
git commits and tags, and push the `.gem` file to
|
115
|
+
[rubygems.org](https://rubygems.org).
|
116
|
+
|
117
|
+
## Contributing
|
118
|
+
|
119
|
+
Bug reports and pull requests are welcome on GitHub at
|
120
|
+
https://github.com/KissKissBankBank/streaker. This project is intended to be a
|
121
|
+
safe, welcoming space for collaboration, and contributors are expected to
|
122
|
+
adhere to the [Contributor Covenant](http://contributor-covenant.org) code
|
123
|
+
of conduct.
|
124
|
+
|
125
|
+
## Code of Conduct
|
126
|
+
|
127
|
+
Everyone interacting in the Streaker project’s codebases, issue trackers,
|
128
|
+
chat rooms and mailing lists is expected to follow the
|
129
|
+
[code of conduct](https://github.com/[USERNAME]/streaker/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 'streaker'
|
5
|
+
|
6
|
+
# Load custom credentials
|
7
|
+
|
8
|
+
credentials_file = "#{__dir__}/../credentials.rb"
|
9
|
+
load credentials_file if File.exist?(credentials_file)
|
10
|
+
|
11
|
+
# Setup console
|
12
|
+
|
13
|
+
require 'pry'
|
14
|
+
Pry.start
|
data/bin/setup
ADDED
data/lib/streaker/box.rb
ADDED
@@ -0,0 +1,94 @@
|
|
1
|
+
module Streaker
|
2
|
+
# Represents a Streak Box through the API.
|
3
|
+
class Box
|
4
|
+
class Error < RuntimeError
|
5
|
+
end
|
6
|
+
|
7
|
+
attr_reader :key
|
8
|
+
|
9
|
+
def initialize(key)
|
10
|
+
@key = key
|
11
|
+
end
|
12
|
+
|
13
|
+
# Update data for a box:
|
14
|
+
# box = Box.new('someboxkey')
|
15
|
+
# box.update(
|
16
|
+
# name: 'Some box name',
|
17
|
+
# stage: :some_stage,
|
18
|
+
# some_field_key: 'Some field value',
|
19
|
+
# …
|
20
|
+
# )
|
21
|
+
#
|
22
|
+
# You can also give a `stage: :stage` or
|
23
|
+
def update(attributes)
|
24
|
+
verify_if_box_exists
|
25
|
+
|
26
|
+
attributes.each do |attr, value|
|
27
|
+
update_attribute(attr, value)
|
28
|
+
end
|
29
|
+
|
30
|
+
true
|
31
|
+
end
|
32
|
+
|
33
|
+
# Create a Streak box:
|
34
|
+
# box = Box.create(
|
35
|
+
# pipeline: :some_pipeline_name,
|
36
|
+
# name: 'Some box name',
|
37
|
+
# stage: :some_stage,
|
38
|
+
# some_field_key: 'Some field value',
|
39
|
+
# …
|
40
|
+
# )
|
41
|
+
def self.create(name:, pipeline: :default, **attributes)
|
42
|
+
api_result = Streak::Box.create(pipeline_key(pipeline), name: name)
|
43
|
+
box = new(api_result.key)
|
44
|
+
box.update(attributes)
|
45
|
+
box
|
46
|
+
end
|
47
|
+
|
48
|
+
def self.pipeline_key(pipeline)
|
49
|
+
Streaker.configuration.pipeline_keys.fetch(pipeline)
|
50
|
+
rescue KeyError
|
51
|
+
raise Error,
|
52
|
+
"No such pipeline #{pipeline.inspect} in the configuration"
|
53
|
+
end
|
54
|
+
|
55
|
+
private_class_method :pipeline_key
|
56
|
+
|
57
|
+
private
|
58
|
+
|
59
|
+
def verify_if_box_exists
|
60
|
+
Streak::Box.find(key)
|
61
|
+
rescue Streak::InvalidRequestError => e
|
62
|
+
if /Entity not found with key/ =~ e.message
|
63
|
+
raise Streaker::BoxNotFoundError, "Entity not found with key #{key}"
|
64
|
+
else
|
65
|
+
raise e
|
66
|
+
end
|
67
|
+
end
|
68
|
+
|
69
|
+
def stage_key(stage)
|
70
|
+
Streaker.configuration.stage_keys.fetch(stage)
|
71
|
+
rescue KeyError
|
72
|
+
raise Error,
|
73
|
+
"No such stage #{stage.inspect} in the configuration"
|
74
|
+
end
|
75
|
+
|
76
|
+
def field_key(field)
|
77
|
+
Streaker.configuration.field_keys.fetch(field)
|
78
|
+
rescue KeyError
|
79
|
+
raise Error,
|
80
|
+
"No such field #{field.inspect} in the configuration"
|
81
|
+
end
|
82
|
+
|
83
|
+
def update_attribute(attr, value)
|
84
|
+
case attr
|
85
|
+
when :stage
|
86
|
+
Streak::Box.update(key, stageKey: stage_key(value))
|
87
|
+
when :name
|
88
|
+
Streak::Box.update(key, name: value)
|
89
|
+
else
|
90
|
+
Streak::FieldValue.update(key, field_key(attr), value: value)
|
91
|
+
end
|
92
|
+
end
|
93
|
+
end
|
94
|
+
end
|
@@ -0,0 +1,42 @@
|
|
1
|
+
# Configuration variables and defaults.
|
2
|
+
module Streaker
|
3
|
+
# The configuration singleton.
|
4
|
+
class Configuration
|
5
|
+
attr_reader :api_key
|
6
|
+
attr_accessor :pipeline_keys,
|
7
|
+
:stage_keys,
|
8
|
+
:field_keys
|
9
|
+
|
10
|
+
def initialize
|
11
|
+
@api_key = ''
|
12
|
+
@pipeline_keys = {}
|
13
|
+
@stage_keys = {}
|
14
|
+
@field_keys = {}
|
15
|
+
end
|
16
|
+
|
17
|
+
def api_key=(value)
|
18
|
+
@api_key = value
|
19
|
+
|
20
|
+
Streak.api_key = value
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
# Configuration setup
|
25
|
+
class << self
|
26
|
+
attr_writer :configuration
|
27
|
+
|
28
|
+
def configuration
|
29
|
+
@configuration ||= Configuration.new
|
30
|
+
end
|
31
|
+
|
32
|
+
def configure
|
33
|
+
yield(configuration)
|
34
|
+
|
35
|
+
if !configuration.api_key || configuration.api_key == ''
|
36
|
+
raise(ArgumentError, '`api_key` must be set in the configuration')
|
37
|
+
end
|
38
|
+
|
39
|
+
configuration
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
data/lib/streaker.rb
ADDED
data/streaker.gemspec
ADDED
@@ -0,0 +1,43 @@
|
|
1
|
+
lib = File.expand_path('../lib', __FILE__)
|
2
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
|
+
require 'streaker/version'
|
4
|
+
|
5
|
+
# rubocop:disable Metrics/BlockLength
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = 'streaker'
|
8
|
+
spec.version = Streaker::VERSION
|
9
|
+
spec.authors = ['Sunny Ripert', 'William Pollet']
|
10
|
+
spec.email = %w[
|
11
|
+
sunny.ripert@kisskissbankbank.com
|
12
|
+
william.pollet@KissKissBankBank.com
|
13
|
+
]
|
14
|
+
|
15
|
+
spec.summary = 'Access the Streak API'
|
16
|
+
spec.description = 'Access the Streak API thanks to the streak-ruby gem'
|
17
|
+
spec.homepage = 'https://github.com/KissKissBankBank/streaker'
|
18
|
+
|
19
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
20
|
+
f.match(%r{^(spec|fixtures)/})
|
21
|
+
end
|
22
|
+
spec.require_paths = ['lib']
|
23
|
+
|
24
|
+
# API Bindings to Streak
|
25
|
+
spec.add_dependency 'streak-ruby', '>= 0.0.2', '< 1'
|
26
|
+
|
27
|
+
# Record HTTP Interactions
|
28
|
+
spec.add_development_dependency 'vcr', '~> 3.0'
|
29
|
+
|
30
|
+
# Mock HTTP requests
|
31
|
+
spec.add_development_dependency 'webmock', '~> 3.1'
|
32
|
+
|
33
|
+
# A different console for debugging
|
34
|
+
spec.add_development_dependency 'pry', '~> 0.11'
|
35
|
+
|
36
|
+
spec.add_development_dependency 'bundler', '>= 1.14'
|
37
|
+
spec.add_development_dependency 'rake', '~> 10.0'
|
38
|
+
spec.add_development_dependency 'rspec', '~> 3.0'
|
39
|
+
|
40
|
+
# Ruby linter
|
41
|
+
spec.add_development_dependency 'rubocop', '~> 0.51.0'
|
42
|
+
end
|
43
|
+
# rubocop:enable Metrics/BlockLength
|
metadata
ADDED
@@ -0,0 +1,182 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: streaker
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Sunny Ripert
|
8
|
+
- William Pollet
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2017-12-11 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: streak-ruby
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - ">="
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: 0.0.2
|
21
|
+
- - "<"
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: '1'
|
24
|
+
type: :runtime
|
25
|
+
prerelease: false
|
26
|
+
version_requirements: !ruby/object:Gem::Requirement
|
27
|
+
requirements:
|
28
|
+
- - ">="
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
version: 0.0.2
|
31
|
+
- - "<"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1'
|
34
|
+
- !ruby/object:Gem::Dependency
|
35
|
+
name: vcr
|
36
|
+
requirement: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '3.0'
|
41
|
+
type: :development
|
42
|
+
prerelease: false
|
43
|
+
version_requirements: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '3.0'
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
name: webmock
|
50
|
+
requirement: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '3.1'
|
55
|
+
type: :development
|
56
|
+
prerelease: false
|
57
|
+
version_requirements: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '3.1'
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: pry
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0.11'
|
69
|
+
type: :development
|
70
|
+
prerelease: false
|
71
|
+
version_requirements: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0.11'
|
76
|
+
- !ruby/object:Gem::Dependency
|
77
|
+
name: bundler
|
78
|
+
requirement: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '1.14'
|
83
|
+
type: :development
|
84
|
+
prerelease: false
|
85
|
+
version_requirements: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '1.14'
|
90
|
+
- !ruby/object:Gem::Dependency
|
91
|
+
name: rake
|
92
|
+
requirement: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '10.0'
|
97
|
+
type: :development
|
98
|
+
prerelease: false
|
99
|
+
version_requirements: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '10.0'
|
104
|
+
- !ruby/object:Gem::Dependency
|
105
|
+
name: rspec
|
106
|
+
requirement: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '3.0'
|
111
|
+
type: :development
|
112
|
+
prerelease: false
|
113
|
+
version_requirements: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '3.0'
|
118
|
+
- !ruby/object:Gem::Dependency
|
119
|
+
name: rubocop
|
120
|
+
requirement: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: 0.51.0
|
125
|
+
type: :development
|
126
|
+
prerelease: false
|
127
|
+
version_requirements: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: 0.51.0
|
132
|
+
description: Access the Streak API thanks to the streak-ruby gem
|
133
|
+
email:
|
134
|
+
- sunny.ripert@kisskissbankbank.com
|
135
|
+
- william.pollet@KissKissBankBank.com
|
136
|
+
executables: []
|
137
|
+
extensions: []
|
138
|
+
extra_rdoc_files: []
|
139
|
+
files:
|
140
|
+
- ".gitignore"
|
141
|
+
- ".rspec"
|
142
|
+
- ".rubocop.yml"
|
143
|
+
- ".travis.yml"
|
144
|
+
- CHANGELOG.md
|
145
|
+
- CODE_OF_CONDUCT.md
|
146
|
+
- Gemfile
|
147
|
+
- LICENSE.md
|
148
|
+
- README.md
|
149
|
+
- Rakefile
|
150
|
+
- bin/console
|
151
|
+
- bin/setup
|
152
|
+
- lib/streaker.rb
|
153
|
+
- lib/streaker/box.rb
|
154
|
+
- lib/streaker/box_not_found_error.rb
|
155
|
+
- lib/streaker/configuration.rb
|
156
|
+
- lib/streaker/version.rb
|
157
|
+
- streaker.gemspec
|
158
|
+
homepage: https://github.com/KissKissBankBank/streaker
|
159
|
+
licenses: []
|
160
|
+
metadata: {}
|
161
|
+
post_install_message:
|
162
|
+
rdoc_options: []
|
163
|
+
require_paths:
|
164
|
+
- lib
|
165
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
166
|
+
requirements:
|
167
|
+
- - ">="
|
168
|
+
- !ruby/object:Gem::Version
|
169
|
+
version: '0'
|
170
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
171
|
+
requirements:
|
172
|
+
- - ">="
|
173
|
+
- !ruby/object:Gem::Version
|
174
|
+
version: '0'
|
175
|
+
requirements: []
|
176
|
+
rubyforge_project:
|
177
|
+
rubygems_version: 2.5.2
|
178
|
+
signing_key:
|
179
|
+
specification_version: 4
|
180
|
+
summary: Access the Streak API
|
181
|
+
test_files: []
|
182
|
+
has_rdoc:
|