you_track 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 8cdefbb4147fc7cb54d35c9b16e3153efc697e64
4
+ data.tar.gz: 1bffc0d9b250598b516496df7854046e76f09f39
5
+ SHA512:
6
+ metadata.gz: d5846ffe59330b6b1aa90c3a7048f94218203efb4e57d3dae7c06c4cd96434daa9463d3b2df6a541dad6ad5fecd8326956ed16e775fe0506927364440eb160bb
7
+ data.tar.gz: 3c93e712555a4057c7c95785641b86f959a7624983a18390b8634b6ed38cdd85d159722782acd21803d05ab96cfc35b252bc8ffc3f651a73edb3aa06b24e0280
data/.gitignore ADDED
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
data/.travis.yml ADDED
@@ -0,0 +1,3 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.1.5
@@ -0,0 +1,13 @@
1
+ # Contributor Code of Conduct
2
+
3
+ As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
4
+
5
+ We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, age, or religion.
6
+
7
+ Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
8
+
9
+ Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
10
+
11
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
12
+
13
+ This Code of Conduct is adapted from the [Contributor Covenant](http:contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
data/Gemfile ADDED
@@ -0,0 +1,11 @@
1
+ source "https://rubygems.org"
2
+
3
+ gemspec
4
+
5
+ gem "awesome_print"
6
+ gem "pry-nav"
7
+
8
+ group :test do
9
+ gem "rspec", "~> 3.2"
10
+ gem "faker"
11
+ end
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 Josh Lane
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,39 @@
1
+ # YouTrack
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/you_track`. 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 'you_track'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install you_track
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 `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` to 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
+ 1. Fork it ( https://github.com/[my-github-username]/you_track/fork )
36
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
37
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
38
+ 4. Push to the branch (`git push origin my-new-feature`)
39
+ 5. Create a new Pull Request
data/Rakefile ADDED
@@ -0,0 +1,2 @@
1
+ require "bundler/gem_tasks"
2
+
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "you_track"
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,7 @@
1
+ #!/bin/bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+
5
+ bundle install
6
+
7
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,42 @@
1
+ class YouTrack::Client::CreateIssue < YouTrack::Client::Request
2
+ def real(params)
3
+ service.request(
4
+ :path => "/issue",
5
+ :method => :put,
6
+ :params => params,
7
+ :parser => YouTrack::Parser::IssueParser,
8
+ )
9
+ end
10
+
11
+ def mock(_params)
12
+ params = Cistern::Hash.stringify_keys(_params)
13
+
14
+ issue = Cistern::Hash.slice(params, "project", "description", "summary")
15
+
16
+ project = issue["projectShortName"] = issue.delete("project")
17
+
18
+ identity = service.data[:issues].size + 1
19
+
20
+
21
+ issue.merge!(
22
+ "id" => "#{project}-#{identity}",
23
+ "tag" => "",
24
+ "numberInProject" => identity,
25
+ "created" => Time.now.to_i * 1000,
26
+ "updated" => Time.now.to_i * 1000,
27
+ "updaterName" => service.username,
28
+ "updaterFullName" => service.username.capitalize,
29
+ "reporterName" => service.username,
30
+ "reporterFullName" => service.username.capitalize,
31
+ "commentsCount" => "0",
32
+ "votes" => "0",
33
+ "custom_fields" => [], # @fixme need these
34
+ "attachments" => [],
35
+ )
36
+
37
+ service.response(
38
+ :body => issue,
39
+ :status => 201,
40
+ )
41
+ end
42
+ end
@@ -0,0 +1,14 @@
1
+ class YouTrack::Client::GetIssue < YouTrack::Client::Request
2
+ def real(issue_id)
3
+ service.request(
4
+ :path => "/issue/#{issue_id}",
5
+ :parser => YouTrack::Parser::IssueParser,
6
+ )
7
+ end
8
+
9
+ def mock(issue_id)
10
+ service.response(
11
+ :body => find(:issues, issue_id)
12
+ )
13
+ end
14
+ end
@@ -0,0 +1,42 @@
1
+ class YouTrack::Client::Issue < YouTrack::Client::Model
2
+ identity :id
3
+
4
+ attribute :attachments, type: :array
5
+ attribute :comment_count, alias: "commentsCount", type: :integer
6
+ attribute :comments, type: :array
7
+ attribute :created_at, alias: "created", parser: ms_time
8
+ attribute :custom_fields, type: :array
9
+ attribute :description
10
+ attribute :project, alias: "projectShortName"
11
+ attribute :project_index, alias: "numberInProject", type: :integer
12
+ attribute :reporter, alias: "reporterFullName"
13
+ attribute :reporter_username, alias: "reporterName"
14
+ attribute :summary
15
+ attribute :tags, alias: "tag", type: :array
16
+ attribute :updated_at, alias: "updated", parser: ms_time
17
+ attribute :updater, alias: "updaterFullName"
18
+ attribute :updater_username, alias: "updaterName"
19
+ attribute :votes, type: :integer
20
+
21
+ attr_accessor :permitted_group
22
+
23
+ # CREATE https://confluence.jetbrains.com/display/YTD6/Create+New+Issue
24
+ # UPDATE https://confluence.jetbrains.com/display/YTD6/Update+an+Issue
25
+ def save
26
+ if new_record?
27
+ requires :project, :summary
28
+
29
+ merge_attributes(
30
+ service.create_issue(
31
+ "project" => self.project,
32
+ "summary" => self.summary,
33
+ "description" => self.description,
34
+ "attachments" => self.attachments,
35
+ "permittedGroups" => self.permitted_group,
36
+ ).body
37
+ )
38
+ else
39
+ raise NotImplementedError
40
+ end
41
+ end
42
+ end
@@ -0,0 +1,10 @@
1
+ class YouTrack::Client::Issues < YouTrack::Client::Collection
2
+
3
+ model YouTrack::Client::Issue
4
+
5
+ def get(identity)
6
+ service.issues.new(
7
+ service.get_issue(identity).body
8
+ )
9
+ end
10
+ end
@@ -0,0 +1,9 @@
1
+ class YouTrack::Client::Login < YouTrack::Client::Request
2
+ def real(username, password)
3
+ service.request(
4
+ :method => :post,
5
+ :params => {login: username, password: password},
6
+ :path => "/user/login",
7
+ )
8
+ end
9
+ end
@@ -0,0 +1,72 @@
1
+ class YouTrack::Client::Mock
2
+ attr_reader :url, :username
3
+
4
+ def self.data
5
+ @data ||= Hash.new { |h,k|
6
+ h[k] = {
7
+ :issues => {},
8
+ }
9
+ }
10
+ end
11
+
12
+ def self.reset!
13
+ data.clear
14
+ end
15
+
16
+ def data
17
+ self.class.data[@url]
18
+ end
19
+
20
+ attr_accessor :last_request
21
+
22
+ def url_for(path, options={})
23
+ URI.parse(
24
+ File.join(self.url, "/rest", path.to_s)
25
+ ).tap do |uri|
26
+ if query = options[:query]
27
+ uri.query = Faraday::NestedParamsEncoder.encode(query)
28
+ end
29
+ end.to_s
30
+ end
31
+
32
+ def initialize(options={})
33
+ @url = options[:url]
34
+ @username = options[:username]
35
+ end
36
+
37
+ def response(options={})
38
+ body = options[:response_body] || options[:body]
39
+ method = options[:method] || :get
40
+ params = options[:params]
41
+ self.last_request = options[:request_body]
42
+ status = options[:status] || 200
43
+
44
+ path = options[:path]
45
+ url = options[:url] || url_for(path, query: params)
46
+
47
+ request_headers = {"Accept" => "application/xml"}
48
+ response_headers = {"Content-Type" => "application/xml"}
49
+
50
+ # request phase
51
+ # * :method - :get, :post, ...
52
+ # * :url - URI for the current request; also contains GET parameters
53
+ # * :body - POST parameters for :post/:put requests
54
+ # * :request_headers
55
+
56
+ # response phase
57
+ # * :status - HTTP response status code, such as 200
58
+ # * :body - the response body
59
+ # * :response_headers
60
+ env = Faraday::Env.from(
61
+ :method => method,
62
+ :url => URI.parse(url),
63
+ :body => body,
64
+ :request_headers => request_headers,
65
+ :response_headers => response_headers,
66
+ :status => status,
67
+ )
68
+
69
+ Faraday::Response::RaiseError.new.on_complete(env) ||
70
+ Faraday::Response.new(env)
71
+ end
72
+ end
@@ -0,0 +1,11 @@
1
+ class YouTrack::Client::Model
2
+ def self.ms_time
3
+ @_ms_time ||= lambda { |v, _|
4
+ begin
5
+ Time.at(*Integer(v).divmod(1000))
6
+ rescue ArgumentError
7
+ v
8
+ end
9
+ }
10
+ end
11
+ end
@@ -0,0 +1,84 @@
1
+ class YouTrack::Client::Real
2
+ attr_reader :url, :connection, :adapter, :username, :authenticated
3
+
4
+ def initialize(options={})
5
+ @url = URI.parse(options[:url])
6
+ adapter = options[:adapter] || Faraday.default_adapter
7
+ logger = options[:logger] || Logger.new(nil)
8
+ custom_builder = options[:builder] || lambda { |*| }
9
+
10
+ @username, @password = options.values_at(:username, :password)
11
+ @authenticated, @authenticating = false, false
12
+
13
+ @authenticate_mutex = Mutex.new
14
+
15
+ connection_options = options[:connection_options] || {}
16
+
17
+ @connection = Faraday.new({url: @url}.merge(connection_options)) do |builder|
18
+ # response
19
+ builder.response :xml, content_type: /\bxml$/
20
+
21
+ # request
22
+ builder.request :retry,
23
+ :max => 5,
24
+ :interval => 1,
25
+ :interval_randomness => 0.1,
26
+ :backoff_factor => 2
27
+
28
+ builder.use :cookie_jar
29
+ builder.request :multipart
30
+
31
+ builder.use Faraday::Response::RaiseError
32
+ builder.response :logger, logger
33
+
34
+ custom_builder.call(builder)
35
+
36
+ builder.adapter(*adapter)
37
+ end
38
+ end
39
+
40
+ def request(options={})
41
+ # @note first request gets the cookie
42
+ if !@authenticated && !@authenticating
43
+
44
+ @authenticate_mutex.synchronize {
45
+ next if @authenticated
46
+ @authenticating = true
47
+
48
+ begin
49
+ login(@username, @password)
50
+ ensure
51
+ @authenticating = false
52
+ end
53
+
54
+ @authenticated = true
55
+ }
56
+ end
57
+
58
+ method = options[:method] || :get
59
+ url = URI.parse(options[:url] || File.join(self.url.to_s, "/rest", options.fetch(:path)))
60
+ params = options[:params] || {}
61
+ body = options[:body]
62
+ headers = options[:headers] || {}
63
+ parser = options[:parser]
64
+
65
+ headers["Content-Type"] ||= if body.nil?
66
+ if !params.empty?
67
+ "application/x-www-form-urlencoded"
68
+ else # Rails infers a Content-Type and we must set it here for the canonical string to match
69
+ "text/plain"
70
+ end
71
+ end
72
+
73
+ response = @connection.send(method) do |req|
74
+ req.url(url.to_s)
75
+ req.headers.merge!(headers)
76
+ req.params.merge!(params)
77
+ req.body = body
78
+ end
79
+
80
+ response.env.body = parser.new(response.body).parse if parser
81
+
82
+ response
83
+ end
84
+ end
@@ -0,0 +1,6 @@
1
+ class YouTrack::Client::Request
2
+ def find(collection, id, options={})
3
+ service.data.fetch(collection)[id] ||
4
+ service.response(status: 404, body: {"error" => "#{collection.to_s.gsub(/s\Z/, "").capitalize} not found."})
5
+ end
6
+ end
@@ -0,0 +1,17 @@
1
+ class YouTrack::Client < Cistern::Service
2
+ requires :url, :username, :password
3
+ recognizes :logger, :adapter, :builder, :connection_options
4
+ end
5
+
6
+ require_relative "client/real"
7
+ require_relative "client/mock"
8
+
9
+ require_relative "client/model"
10
+ require_relative "client/request"
11
+
12
+ require_relative "client/login"
13
+ require_relative "client/get_issue"
14
+ require_relative "client/create_issue"
15
+
16
+ require_relative "client/issue"
17
+ require_relative "client/issues"
@@ -0,0 +1,37 @@
1
+ class YouTrack::Parser::IssueParser
2
+ attr_reader :raw
3
+
4
+ def initialize(raw)
5
+ @raw = raw
6
+ end
7
+
8
+ def parse_fields(fields)
9
+ fields.inject({}) { |r, f|
10
+ r.merge(f["name"] => f["value"])
11
+ }
12
+ end
13
+
14
+ def parse_attachments(attachments)
15
+ attachments.inject([]) { |r, a|
16
+ value = a["value"]
17
+ r << {"id" => value["id"], "url" => value["url"], "content" => value["__content__"]}
18
+ }
19
+ end
20
+
21
+ def parse
22
+ results = raw["issue"].dup
23
+
24
+ fields = results.delete("field")
25
+ standard_fields = fields.select { |k| k["xsi:type"] == "SingleField" }
26
+ fields = fields - standard_fields
27
+ attachments = fields.select { |k| k["xsi:type"] == "AttachmentField" }
28
+ custom_fields = fields - attachments
29
+
30
+ results.merge!(parse_fields(standard_fields))
31
+ results["custom_fields"] = parse_fields(custom_fields)
32
+ results["attachments"] = parse_attachments(attachments)
33
+ results["comments"] = results.delete("comment")
34
+
35
+ results
36
+ end
37
+ end
@@ -0,0 +1,4 @@
1
+ module YouTrack::Parser
2
+ end
3
+
4
+ require_relative "parser/issue_parser"
@@ -0,0 +1,3 @@
1
+ module YouTrack
2
+ VERSION = "0.1.0"
3
+ end
data/lib/you_track.rb ADDED
@@ -0,0 +1,15 @@
1
+ require "you_track/version"
2
+
3
+ require "logger"
4
+
5
+ require "cistern"
6
+ require "faraday"
7
+ require "faraday-cookie_jar"
8
+ require "faraday_middleware"
9
+ require "multi_xml"
10
+
11
+ module YouTrack; end
12
+
13
+ require_relative "you_track/client"
14
+
15
+ require_relative "you_track/parser"
data/you_track.gemspec ADDED
@@ -0,0 +1,30 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'you_track/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "you_track"
8
+ spec.version = YouTrack::VERSION
9
+ spec.authors = ["Josh Lane"]
10
+ spec.email = ["me@joshualane.com"]
11
+
12
+ spec.summary = %q{YouTrack 6.x API Client}
13
+ spec.description = %q{}
14
+ spec.homepage = "https://github.com/lanej/you_track.git"
15
+ spec.license = "MIT"
16
+
17
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
+ spec.bindir = "bin"
19
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
20
+ spec.require_paths = ["lib"]
21
+
22
+ spec.add_dependency "cistern", "~> 2.0"
23
+ spec.add_dependency "faraday-cookie_jar", "~> 0.0"
24
+ spec.add_dependency "faraday_middleware"
25
+ spec.add_dependency "faraday", "~> 0.9"
26
+ spec.add_dependency "multi_xml", "~> 0.5"
27
+
28
+ spec.add_development_dependency "bundler", "~> 1.8"
29
+ spec.add_development_dependency "rake", "~> 10.0"
30
+ end
metadata ADDED
@@ -0,0 +1,170 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: you_track
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Josh Lane
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-03-13 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: cistern
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '2.0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '2.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: faraday-cookie_jar
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '0.0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '0.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: faraday_middleware
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: faraday
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '0.9'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '0.9'
69
+ - !ruby/object:Gem::Dependency
70
+ name: multi_xml
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '0.5'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '0.5'
83
+ - !ruby/object:Gem::Dependency
84
+ name: bundler
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '1.8'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '1.8'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rake
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '10.0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '10.0'
111
+ description: ''
112
+ email:
113
+ - me@joshualane.com
114
+ executables:
115
+ - console
116
+ - setup
117
+ extensions: []
118
+ extra_rdoc_files: []
119
+ files:
120
+ - ".gitignore"
121
+ - ".rspec"
122
+ - ".travis.yml"
123
+ - CODE_OF_CONDUCT.md
124
+ - Gemfile
125
+ - LICENSE.txt
126
+ - README.md
127
+ - Rakefile
128
+ - bin/console
129
+ - bin/setup
130
+ - lib/you_track.rb
131
+ - lib/you_track/client.rb
132
+ - lib/you_track/client/create_issue.rb
133
+ - lib/you_track/client/get_issue.rb
134
+ - lib/you_track/client/issue.rb
135
+ - lib/you_track/client/issues.rb
136
+ - lib/you_track/client/login.rb
137
+ - lib/you_track/client/mock.rb
138
+ - lib/you_track/client/model.rb
139
+ - lib/you_track/client/real.rb
140
+ - lib/you_track/client/request.rb
141
+ - lib/you_track/parser.rb
142
+ - lib/you_track/parser/issue_parser.rb
143
+ - lib/you_track/version.rb
144
+ - you_track.gemspec
145
+ homepage: https://github.com/lanej/you_track.git
146
+ licenses:
147
+ - MIT
148
+ metadata: {}
149
+ post_install_message:
150
+ rdoc_options: []
151
+ require_paths:
152
+ - lib
153
+ required_ruby_version: !ruby/object:Gem::Requirement
154
+ requirements:
155
+ - - ">="
156
+ - !ruby/object:Gem::Version
157
+ version: '0'
158
+ required_rubygems_version: !ruby/object:Gem::Requirement
159
+ requirements:
160
+ - - ">="
161
+ - !ruby/object:Gem::Version
162
+ version: '0'
163
+ requirements: []
164
+ rubyforge_project:
165
+ rubygems_version: 2.2.2
166
+ signing_key:
167
+ specification_version: 4
168
+ summary: YouTrack 6.x API Client
169
+ test_files: []
170
+ has_rdoc: