youtrack_client 1.0.0 → 1.0.1

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
  SHA256:
3
- metadata.gz: bf83ce5a8edbb921abd47bbeed0298949224101d6ad492b0d8016c5298e6fb9e
4
- data.tar.gz: 479af90f64ccb10ebd5ac1cb7931b12c2704dbf9ac75e1437f2d61fcd4a17bc2
3
+ metadata.gz: 74741c04db2a1656efa256296418ba6be348a79a5b6145db8860379a7d5d059b
4
+ data.tar.gz: ed0953bacdc84d0f60afab6ce87fdc90f2f2a2cb850f97c1da2bc94c5b45c817
5
5
  SHA512:
6
- metadata.gz: 429008de43454915497287709edc27ee985d4f232afa6de71f907069859e518ab7c87a94af4d3a67d6ada2f922cf77a552e2340ddafba7bd2f85314f29b4b332
7
- data.tar.gz: '08a34367fa8ef12fbd5a87272e5d6fa86134a832ad6a8ac4a985e1436cc5b8363e3cb01357e3dc139706d5ded1707e617631f1332d233a87dec10a88a3ad478f'
6
+ metadata.gz: acb2d3808823ae8b07d425dea68d6665acd376bf0275473d2ddd57d8a69e07d6c453d9a595244183d3a1e304b644e25d26afd698ad434b7ea292f098c96a9463
7
+ data.tar.gz: eb23a531eed4a872030756f4fd36c735f3d4ea4540935d9f4a31baaff6ed31208baff9c4d68859bbe09fb603f7af246b611906db403bfa199e7daa2776da7637
data/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. Dates are displayed in UTC.
4
4
 
5
+ #### v1.0.1
6
+
7
+ - fix issue with zeitwerk/gem loading
8
+
5
9
  #### v1.0.0
6
10
 
7
11
  - initial release
data/README.md CHANGED
@@ -4,11 +4,18 @@
4
4
 
5
5
  Ruby client for the [Youtrack REST API](https://www.jetbrains.com/help/youtrack/standalone/youtrack-rest-api-reference.html)
6
6
 
7
+ [![🛡 Specs](https://github.com/shanehofstetter/youtrack-rest-client-ruby/actions/workflows/specs.yml/badge.svg)](https://github.com/shanehofstetter/youtrack-rest-client-ruby/actions/workflows/specs.yml)
8
+ [![Gem Version](https://badge.fury.io/rb/youtrack_client.svg)](https://badge.fury.io/rb/youtrack_client)
9
+
7
10
  ## Usage
8
11
 
9
12
  ## Installation
10
13
 
11
- TBD
14
+ Using bundler:
15
+
16
+ ```bash
17
+ bundle add youtrack_client
18
+ ```
12
19
 
13
20
  ### Authentication
14
21
 
@@ -87,7 +94,7 @@ youtrack.issues.create({
87
94
  # you can also pass a model instance
88
95
  youtrack.issues.create(Youtrack::Models::Issue.new(summary: "demo issue",
89
96
  description: "demo issue description",
90
- project: client.projects.by_id("0-0")))
97
+ project: youtrack.projects.by_id("0-0")))
91
98
 
92
99
 
93
100
  ```
@@ -96,7 +103,7 @@ youtrack.issues.create(Youtrack::Models::Issue.new(summary: "demo issue",
96
103
 
97
104
  ```ruby
98
105
  # execute command for issue(s)
99
- youtrack.issues.command("State Open", client.issues.search("DEMO-12"))
106
+ youtrack.issues.command("State Open", youtrack.issues.search("DEMO-12"))
100
107
  # pass the ids directly
101
108
  youtrack.issues.command("State Open", %w[T1-1 T1-2 T1-3])
102
109
  ```
@@ -1,3 +1,3 @@
1
1
  module Youtrack
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
data/lib/youtrack.rb CHANGED
@@ -1,5 +1,6 @@
1
1
  require "zeitwerk"
2
2
  loader = Zeitwerk::Loader.for_gem
3
+ loader.ignore("#{__dir__}/youtrack_client.rb")
3
4
  loader.setup
4
5
 
5
6
  module Youtrack
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: youtrack_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shane Hofstetter
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-28 00:00:00.000000000 Z
11
+ date: 2023-01-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client