inventos_streak 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +10 -0
- data/.rspec +2 -0
- data/.travis.yml +5 -0
- data/CODE_OF_CONDUCT.md +49 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +21 -0
- data/README.md +41 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/inventos_streak.gemspec +41 -0
- data/lib/inventos_streak.rb +56 -0
- data/lib/inventos_streak/base.rb +134 -0
- data/lib/inventos_streak/box.rb +11 -0
- data/lib/inventos_streak/configuration.rb +16 -0
- data/lib/inventos_streak/field.rb +25 -0
- data/lib/inventos_streak/pipeline.rb +13 -0
- data/lib/inventos_streak/stage.rb +11 -0
- data/lib/inventos_streak/version.rb +3 -0
- metadata +189 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: f5e14bbe9f1ad667327784dec8bd42b545932a00
|
4
|
+
data.tar.gz: 3e7a7da9ac496d5f58004cff94c0420938caabad
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 8729eec68824e505ee2409539990e1668654a927627db05b239285baf52f2bf0034936d813386ab396ea7dd95157d1f6041e481a611a4bb5c76b8368fb2c7772
|
7
|
+
data.tar.gz: a6b28eca06abf3f7d5be5263a6a0b261c900be656c86f8cd89957ea047e0516252cc3447bc340961639c083830beac7609c2a983a020194edc03b5332dcdc303
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.travis.yml
ADDED
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,49 @@
|
|
1
|
+
# Contributor Code of Conduct
|
2
|
+
|
3
|
+
As contributors and maintainers of this project, and in the interest of
|
4
|
+
fostering an open and welcoming community, we pledge to respect all people who
|
5
|
+
contribute through reporting issues, posting feature requests, updating
|
6
|
+
documentation, submitting pull requests or patches, and other activities.
|
7
|
+
|
8
|
+
We are committed to making participation in this project a harassment-free
|
9
|
+
experience for everyone, regardless of level of experience, gender, gender
|
10
|
+
identity and expression, sexual orientation, disability, personal appearance,
|
11
|
+
body size, race, ethnicity, age, religion, or nationality.
|
12
|
+
|
13
|
+
Examples of unacceptable behavior by participants include:
|
14
|
+
|
15
|
+
* The use of sexualized language or imagery
|
16
|
+
* Personal attacks
|
17
|
+
* Trolling or insulting/derogatory comments
|
18
|
+
* Public or private harassment
|
19
|
+
* Publishing other's private information, such as physical or electronic
|
20
|
+
addresses, without explicit permission
|
21
|
+
* Other unethical or unprofessional conduct
|
22
|
+
|
23
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
24
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
25
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
26
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
27
|
+
threatening, offensive, or harmful.
|
28
|
+
|
29
|
+
By adopting this Code of Conduct, project maintainers commit themselves to
|
30
|
+
fairly and consistently applying these principles to every aspect of managing
|
31
|
+
this project. Project maintainers who do not follow or enforce the Code of
|
32
|
+
Conduct may be permanently removed from the project team.
|
33
|
+
|
34
|
+
This code of conduct applies both within project spaces and in public spaces
|
35
|
+
when an individual is representing the project or its community.
|
36
|
+
|
37
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
38
|
+
reported by contacting a project maintainer at ari.shh@gmail.com. All
|
39
|
+
complaints will be reviewed and investigated and will result in a response that
|
40
|
+
is deemed necessary and appropriate to the circumstances. Maintainers are
|
41
|
+
obligated to maintain confidentiality with regard to the reporter of an
|
42
|
+
incident.
|
43
|
+
|
44
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
45
|
+
version 1.3.0, available at
|
46
|
+
[http://contributor-covenant.org/version/1/3/0/][version]
|
47
|
+
|
48
|
+
[homepage]: http://contributor-covenant.org
|
49
|
+
[version]: http://contributor-covenant.org/version/1/3/0/
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2017 Ariel Schvartz
|
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,41 @@
|
|
1
|
+
# InventosStreak
|
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/inventos_streak`. 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 'inventos_streak'
|
13
|
+
```
|
14
|
+
|
15
|
+
And then execute:
|
16
|
+
|
17
|
+
$ bundle
|
18
|
+
|
19
|
+
Or install it yourself as:
|
20
|
+
|
21
|
+
$ gem install inventos_streak
|
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]/inventos_streak. 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
|
+
|
38
|
+
## License
|
39
|
+
|
40
|
+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
41
|
+
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "inventos_streak"
|
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
|
data/bin/setup
ADDED
@@ -0,0 +1,41 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'inventos_streak/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "inventos_streak"
|
8
|
+
spec.version = InventosStreak::VERSION
|
9
|
+
spec.authors = ["Ariel Schvartz"]
|
10
|
+
spec.email = ["ari.shh@gmail.com"]
|
11
|
+
|
12
|
+
spec.summary = "Gem for using the Streak API"
|
13
|
+
spec.description = "Make calls to Streak API"
|
14
|
+
spec.homepage = "https://bitbucket.org/inventos/inventos_streak"
|
15
|
+
spec.license = "MIT"
|
16
|
+
|
17
|
+
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
18
|
+
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
19
|
+
# if spec.respond_to?(:metadata)
|
20
|
+
# spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
|
21
|
+
# else
|
22
|
+
# raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
|
23
|
+
# end
|
24
|
+
|
25
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
26
|
+
spec.bindir = "exe"
|
27
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
28
|
+
spec.require_paths = ["lib"]
|
29
|
+
|
30
|
+
spec.add_dependency "rails", "> 3.0.0"
|
31
|
+
spec.add_development_dependency "bundler", "~> 1.12"
|
32
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
33
|
+
spec.add_development_dependency "pry"
|
34
|
+
|
35
|
+
spec.add_development_dependency "rspec", "~> 3.0"
|
36
|
+
spec.add_development_dependency "shoulda-matchers", "~> 3.1"
|
37
|
+
spec.add_development_dependency "factory_girl"
|
38
|
+
|
39
|
+
spec.add_dependency "httparty"
|
40
|
+
spec.add_dependency "dotenv"
|
41
|
+
end
|
@@ -0,0 +1,56 @@
|
|
1
|
+
require 'dotenv'
|
2
|
+
require 'httparty'
|
3
|
+
require 'pry'
|
4
|
+
require 'rails'
|
5
|
+
|
6
|
+
Dotenv.load
|
7
|
+
|
8
|
+
require "inventos_streak/version"
|
9
|
+
require "inventos_streak/configuration"
|
10
|
+
require "inventos_streak/base"
|
11
|
+
require "inventos_streak/pipeline"
|
12
|
+
require "inventos_streak/box"
|
13
|
+
require "inventos_streak/stage"
|
14
|
+
require "inventos_streak/field"
|
15
|
+
|
16
|
+
module InventosStreak
|
17
|
+
class << self
|
18
|
+
attr_writer :configuration
|
19
|
+
|
20
|
+
[:get, :delete].each do |attr|
|
21
|
+
define_method attr do |path|
|
22
|
+
url = "#{base_url}/#{path}"
|
23
|
+
puts "#{attr} #{url}"
|
24
|
+
HTTParty.send attr, url, basic_auth: configuration.basic_auth, verify: false
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
[:post, :put].each do |attr|
|
29
|
+
define_method attr do |path, body|
|
30
|
+
url = "#{base_url}/#{path}"
|
31
|
+
puts "#{attr} #{url}"
|
32
|
+
HTTParty.send attr, url, basic_auth: configuration.basic_auth, body: body
|
33
|
+
end
|
34
|
+
|
35
|
+
define_method "#{attr}_json" do |path, body|
|
36
|
+
HTTParty.send attr, "#{base_url}/#{path}", basic_auth: configuration.basic_auth, body: body.to_json, headers: { 'Content-Type' => 'application/json' }
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
def self.configuration
|
42
|
+
@configuration ||= Configuration.new
|
43
|
+
end
|
44
|
+
|
45
|
+
def self.reset
|
46
|
+
@configuration = Configuration.new
|
47
|
+
end
|
48
|
+
|
49
|
+
def self.configure
|
50
|
+
yield(configuration)
|
51
|
+
end
|
52
|
+
|
53
|
+
def self.base_url
|
54
|
+
configuration.streak_base_url
|
55
|
+
end
|
56
|
+
end
|
@@ -0,0 +1,134 @@
|
|
1
|
+
class InventosStreak::Base
|
2
|
+
class << self
|
3
|
+
def all
|
4
|
+
InventosStreak.get(path)
|
5
|
+
end
|
6
|
+
|
7
|
+
def find key, options = {}
|
8
|
+
options.merge!(key: key)
|
9
|
+
m = self.new options
|
10
|
+
InventosStreak.get(m.final_path).map do |k, v|
|
11
|
+
m.instance_variable_set("@#{k}", v)
|
12
|
+
end
|
13
|
+
m
|
14
|
+
end
|
15
|
+
|
16
|
+
def belongs_to relation
|
17
|
+
parents.push relation
|
18
|
+
end
|
19
|
+
|
20
|
+
def has_many relation
|
21
|
+
children.push relation
|
22
|
+
end
|
23
|
+
|
24
|
+
def parents
|
25
|
+
@parents ||= []
|
26
|
+
end
|
27
|
+
|
28
|
+
def children
|
29
|
+
@children ||= []
|
30
|
+
end
|
31
|
+
|
32
|
+
def parent
|
33
|
+
@parents.first
|
34
|
+
end
|
35
|
+
|
36
|
+
end
|
37
|
+
|
38
|
+
def final_path
|
39
|
+
url = []
|
40
|
+
|
41
|
+
m = self
|
42
|
+
while m != nil
|
43
|
+
unless m.key == '' or m.key.nil?
|
44
|
+
url.unshift m.key
|
45
|
+
end
|
46
|
+
url.unshift m.class.path
|
47
|
+
m = m.class.parent.nil? ? nil : m.send(m.class.parent)
|
48
|
+
end
|
49
|
+
|
50
|
+
url.join("/")
|
51
|
+
end
|
52
|
+
|
53
|
+
def save
|
54
|
+
if self.key == '' or self.key.nil?
|
55
|
+
self.set_variables InventosStreak.put(self.final_path, self.attributes)
|
56
|
+
else
|
57
|
+
self.set_variables InventosStreak.post(self.final_path, self.attributes)
|
58
|
+
end
|
59
|
+
end
|
60
|
+
|
61
|
+
def destroy
|
62
|
+
if self.key == '' or self.key.nil?
|
63
|
+
raise ArgumentError.new("Cannot destroy a #{self.class.to_s} without a key")
|
64
|
+
else
|
65
|
+
InventosStreak.delete(self.final_path)
|
66
|
+
self.key = nil
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
def initialize args = {}
|
71
|
+
set_parents
|
72
|
+
set_children
|
73
|
+
|
74
|
+
args.each do |k, v|
|
75
|
+
if self.respond_to? k
|
76
|
+
self.send("#{k}=", v)
|
77
|
+
else
|
78
|
+
raise ArgumentError.new("#{k} is not allowed.")
|
79
|
+
end
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
def set_variables hash
|
84
|
+
hash.each do |k, v|
|
85
|
+
self.instance_variable_set("@#{k}", v)
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
89
|
+
def attributes
|
90
|
+
h = {}
|
91
|
+
self.instance_variables.each do |iv|
|
92
|
+
val = self.instance_variable_get(iv)
|
93
|
+
|
94
|
+
if val.class.to_s.include? 'InventosStreak::'
|
95
|
+
h[iv.to_s.gsub('@', '').to_sym] = val.attributes
|
96
|
+
else
|
97
|
+
h[iv.to_s.gsub('@', '').to_sym] = val
|
98
|
+
end
|
99
|
+
end
|
100
|
+
h
|
101
|
+
end
|
102
|
+
|
103
|
+
private
|
104
|
+
|
105
|
+
def set_parents
|
106
|
+
self.class.parents.each do |parent|
|
107
|
+
singleton_class.class_eval do
|
108
|
+
attr_reader parent
|
109
|
+
define_method "#{parent}=" do |m|
|
110
|
+
if m.class.to_s.downcase == "inventosstreak::#{parent.to_s}"
|
111
|
+
instance_variable_set("@#{parent}", m)
|
112
|
+
else
|
113
|
+
raise ArgumentError.new("The model is not of the correct class.")
|
114
|
+
end
|
115
|
+
end
|
116
|
+
end
|
117
|
+
end
|
118
|
+
end
|
119
|
+
|
120
|
+
def set_children
|
121
|
+
self.class.children.each do |child|
|
122
|
+
singleton_class.class_eval do
|
123
|
+
define_method "#{child}" do
|
124
|
+
c = "InventosStreak::#{child.to_s.camelize.singularize}".constantize
|
125
|
+
m = c.new
|
126
|
+
m.send("#{self.class.to_s.split("::").last.underscore}=", self)
|
127
|
+
|
128
|
+
puts m.final_path
|
129
|
+
InventosStreak.get(m.final_path)
|
130
|
+
end
|
131
|
+
end
|
132
|
+
end
|
133
|
+
end
|
134
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
class InventosStreak::Configuration
|
2
|
+
attr_accessor :streak_api_key, :streak_base_url
|
3
|
+
attr_writer :basic_auth
|
4
|
+
|
5
|
+
def initialize
|
6
|
+
@streak_api_key ||= ENV['STREAK_API_KEY']
|
7
|
+
@streak_base_url ||= ENV['STREAK_BASE_URL']
|
8
|
+
end
|
9
|
+
|
10
|
+
def basic_auth
|
11
|
+
@basic_auth ||= {
|
12
|
+
username: @streak_api_key,
|
13
|
+
password: nil
|
14
|
+
}
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
class InventosStreak::Field < InventosStreak::Base
|
2
|
+
attr_accessor :name, :type, :key
|
3
|
+
|
4
|
+
belongs_to :pipeline
|
5
|
+
|
6
|
+
def add_tags *tags
|
7
|
+
if self.type == "TAG"
|
8
|
+
InventosStreak.post_json self.final_path, {
|
9
|
+
tagSettings: {
|
10
|
+
tags: tags.map do |tag|
|
11
|
+
{ tag: tag, added: true }
|
12
|
+
end
|
13
|
+
}
|
14
|
+
}
|
15
|
+
else
|
16
|
+
raise ArgumentError.new("Cannot add tags to a field not of type 'TAG'")
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
private
|
21
|
+
|
22
|
+
def self.path
|
23
|
+
"fields"
|
24
|
+
end
|
25
|
+
end
|
metadata
ADDED
@@ -0,0 +1,189 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: inventos_streak
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Ariel Schvartz
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2017-03-13 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rails
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 3.0.0
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 3.0.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bundler
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.12'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.12'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '10.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '10.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
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rspec
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '3.0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '3.0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: shoulda-matchers
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '3.1'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '3.1'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: factory_girl
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: httparty
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: dotenv
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :runtime
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
description: Make calls to Streak API
|
140
|
+
email:
|
141
|
+
- ari.shh@gmail.com
|
142
|
+
executables: []
|
143
|
+
extensions: []
|
144
|
+
extra_rdoc_files: []
|
145
|
+
files:
|
146
|
+
- ".gitignore"
|
147
|
+
- ".rspec"
|
148
|
+
- ".travis.yml"
|
149
|
+
- CODE_OF_CONDUCT.md
|
150
|
+
- Gemfile
|
151
|
+
- LICENSE.txt
|
152
|
+
- README.md
|
153
|
+
- Rakefile
|
154
|
+
- bin/console
|
155
|
+
- bin/setup
|
156
|
+
- inventos_streak.gemspec
|
157
|
+
- lib/inventos_streak.rb
|
158
|
+
- lib/inventos_streak/base.rb
|
159
|
+
- lib/inventos_streak/box.rb
|
160
|
+
- lib/inventos_streak/configuration.rb
|
161
|
+
- lib/inventos_streak/field.rb
|
162
|
+
- lib/inventos_streak/pipeline.rb
|
163
|
+
- lib/inventos_streak/stage.rb
|
164
|
+
- lib/inventos_streak/version.rb
|
165
|
+
homepage: https://bitbucket.org/inventos/inventos_streak
|
166
|
+
licenses:
|
167
|
+
- MIT
|
168
|
+
metadata: {}
|
169
|
+
post_install_message:
|
170
|
+
rdoc_options: []
|
171
|
+
require_paths:
|
172
|
+
- lib
|
173
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
174
|
+
requirements:
|
175
|
+
- - ">="
|
176
|
+
- !ruby/object:Gem::Version
|
177
|
+
version: '0'
|
178
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
179
|
+
requirements:
|
180
|
+
- - ">="
|
181
|
+
- !ruby/object:Gem::Version
|
182
|
+
version: '0'
|
183
|
+
requirements: []
|
184
|
+
rubyforge_project:
|
185
|
+
rubygems_version: 2.4.8
|
186
|
+
signing_key:
|
187
|
+
specification_version: 4
|
188
|
+
summary: Gem for using the Streak API
|
189
|
+
test_files: []
|