rutrack 0.0.11.1 → 0.0.12

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3b0ed1e3d05a9ba00d50cb1e56adc509f805750b
4
- data.tar.gz: 7b325149a69f6e48150accc076f90b388f4ca918
3
+ metadata.gz: 0b800a028e24e9b0b60f2ebc74f27697c241405f
4
+ data.tar.gz: 75c294c90010af9c736623390ac3b6f3fe7e7f1f
5
5
  SHA512:
6
- metadata.gz: 3f5de0c8c780a5b202421e450ca8260b1f1881fa84b72b7fe411be33e6d15b705654fee80f25d5baf2809251863b6d9b6c3bcc3db6b0f349d52852a67cd1cc47
7
- data.tar.gz: 6d478f473f77d029f2baee22a3234874d75ed8c7ed63e7f02f32282ab552d01ef800d2e5b6e2268fdd67efebd7e9af7fbcb239cce20528488f76c12b432a797e
6
+ metadata.gz: 72dac55cefd6835b0586752af669cbc00df22a9a5abc2446beb79e25b17ba93efa0e3d7c427b3dfb80e6f6878701c064dc2ed6dd2d43aabddf7c0495466e756e
7
+ data.tar.gz: 2af0dd7a4c942b86a5d14c5e7f0be673ddd32a4bf11173f09d479d76adfea1b7bf49bb1e8fbec3e32b3316f6abadd9a8cc088413dc67a3b28b12829fdc0c624a
data/README.md CHANGED
@@ -1,35 +1,31 @@
1
- # Youtrack
1
+ # Rutrack
2
2
 
3
- youTrack REST API Client
4
-
5
- [![Build Status](https://travis-ci.org/jwaterfaucett/youtrack.png)](https://travis-ci.org/jwaterfaucett/youtrack)
6
- [![Gem Version](https://badge.fury.io/rb/youtrack.png)](http://badge.fury.io/rb/youtrack)
3
+ YouTrack REST API Client written in Ruby
7
4
 
5
+ [![Gem Version](https://badge.fury.io/rb/rutrack.svg)](http://badge.fury.io/rb/rutrack)
8
6
 
9
7
  ## New in this release
10
8
 
11
- ###### *(v. v0.0.11.1 - 13/12/16)*
12
-
13
- Max issues option & Filter support
9
+ ##### Max issues option & Filter support
14
10
 
15
11
  - Pass **max issues** & **filter** in `get_issues_for` request
16
12
 
17
13
  Example:
18
14
 
19
15
  ```ruby
20
-
21
16
  filter = "Username: -{No username}" # youtrack-style filter
22
17
  max = 5000 # max issues to grab
23
18
  client.projects.get_issues_for(project_name, max, filter)
24
19
  ```
25
20
 
21
+ > Note: Default max value for issues to load via API - 500. You can go to Settings page in Admin menu > "Max Issues to Export" and change that value.
26
22
 
27
23
 
28
24
  ## Installation
29
25
 
30
26
  Add this line to your application's Gemfile:
31
27
 
32
- gem 'youtrack', :git => "git://github.com/jesusinyourtown1/youtrack.git", :branch => "dev-new"
28
+ gem 'youtrack', :git => "git://github.com/jesusinyourtown1/youtrack.git", :branch => "new-dev"
33
29
 
34
30
  And then execute:
35
31
 
@@ -14,9 +14,11 @@ module Youtrack
14
14
  # then in the response you will get all issues matching request but without first twelve issues found .
15
15
  # max Integer Maximum number of issues to be imported. If not provided, 10 issues will be imported, by default.
16
16
  # updatedAfter Long Filter issues by the date of the most recent update. Only issues imported after the specified date will be gotten.
17
+
18
+ # Default value for issues to load via API - 500. Check your Settings page in Admin menu - "Max Issues to Export" parameter should be set to issues count that you actually need.
19
+
17
20
  def get_issues_for(project_id, max,filter,options={})
18
21
  max = 10 unless max
19
-
20
22
  get("issue/byproject/#{project_id}?max=#{max}&filter=#{filter}")
21
23
  response.parsed_response
22
24
  end
@@ -1,4 +1,3 @@
1
1
  module Youtrack
2
- #VERSION = "0.0.11"
3
- VERSION = "0.0.11.1"
2
+ VERSION = "0.0.12"
4
3
  end
@@ -8,11 +8,11 @@ Gem::Specification.new do |spec|
8
8
  # META
9
9
  spec.name = "rutrack"
10
10
  spec.version = Youtrack::VERSION
11
- spec.authors = ["John Faucett"]
12
- spec.email = ["jwaterfaucett@gmail.com"]
13
- spec.description = %q{JetBrains youTrack Rest API Client in Ruby}
11
+ spec.authors = ["John Faucett - original gem (youtrack)"]
12
+ spec.email = ["jesusinyourtown@gmail.com"]
13
+ spec.description = %q{JetBrains youTrack Rest API Client in Ruby. Forked from youtrack gem (by John Faucett)}
14
14
  spec.summary = %q{A Ruby REST API Client for JetBrains youTrack software}
15
- spec.homepage = "http://jwaterfaucett.github.io/youtrack/"
15
+ spec.homepage = "https://github.com/jesusinyourtown1/youtrack"
16
16
  spec.license = "MIT"
17
17
 
18
18
  # FILES
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rutrack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11.1
4
+ version: 0.0.12
5
5
  platform: ruby
6
6
  authors:
7
- - John Faucett
7
+ - John Faucett - original gem (youtrack)
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-13 00:00:00.000000000 Z
11
+ date: 2016-12-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -122,9 +122,10 @@ dependencies:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
124
  version: 2.8.0
125
- description: JetBrains youTrack Rest API Client in Ruby
125
+ description: JetBrains youTrack Rest API Client in Ruby. Forked from youtrack gem
126
+ (by John Faucett)
126
127
  email:
127
- - jwaterfaucett@gmail.com
128
+ - jesusinyourtown@gmail.com
128
129
  executables: []
129
130
  extensions: []
130
131
  extra_rdoc_files: []
@@ -161,7 +162,7 @@ files:
161
162
  - spec/youtrack/client_spec.rb
162
163
  - spec/youtrack/resources/user_spec.rb
163
164
  - youtrack.gemspec
164
- homepage: http://jwaterfaucett.github.io/youtrack/
165
+ homepage: https://github.com/jesusinyourtown1/youtrack
165
166
  licenses:
166
167
  - MIT
167
168
  metadata: {}