clubhouse_ruby 0.5.0 → 0.6.0

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: 57c8c64743800f7664c5357fa7e83e0ff6a448e110543f718f5bd2519a145233
4
- data.tar.gz: 7e6d7ce64063587ac62b4d2cc42abe09385c01777ce57671ed0cf544bbbf90e9
3
+ metadata.gz: 47be1ffd7ff64cba4d8908f2a3c78ee50125370af6e475ca1a8484d3cb5590ca
4
+ data.tar.gz: ecd31bd3b712def6979b3569a65d918546f2d126b5a049b5b5f11ae63f172624
5
5
  SHA512:
6
- metadata.gz: c4a172e9c655da2e4b0f5ec494419a72844677fab6d5d3c04b278af2c444aa1c7fc7989fed5576006bd7b9b5c41ffc272ecd511277e6fd822888301f5b5fc0b9
7
- data.tar.gz: 821e42e8fa896f6f918d4a4bfd5a741f9a68fd2bc0225148bd0b05f474cae4fefd33908e026da95414d5038466c3076b9175b6bcf3e9152771c3db60917240f2
6
+ metadata.gz: 6807fcd8cdf7d8b90cc7c4dfeb1826f4609da01d799fcf2cc1c3f9a8dfdc35bdbed292026387a817080f3837a6cebe1cc27a0b6282cea0362e3666c10917cda5
7
+ data.tar.gz: 1955dcf9c719dc021a5c2d264ca923e07e93530572a8d72a92bf1be9522f7597f6c3517a4386329c36e01d6a43f53462aa74c189001902495fc05a02fb04594b
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # ClubhouseRuby
2
2
 
3
3
  ClubhouseRuby is a lightweight Ruby wrapper of the
4
- [Clubhouse REST API](https://clubhouse.io/api/rest/v2/).
4
+ [Clubhouse REST API](https://clubhouse.io/api/rest/v3/).
5
5
 
6
6
  [Clubhouse](https://clubhouse.io) is a radical project management tool
7
7
  particularly well suited to software development. If you're not familiar with
@@ -41,7 +41,7 @@ operates as an effective turing machine when lubricated with oil.
41
41
  ## Usage
42
42
 
43
43
  This gem is a lightweight API wrapper. That means you'll need to refer to the
44
- [API documentation](https://clubhouse.io/api/rest/v2/) to figure out what resources
44
+ [API documentation](https://clubhouse.io/api/rest/v3/) to figure out what resources
45
45
  and actions exist.
46
46
 
47
47
  On the plus side, once you know what you want to do, using this gem should be
@@ -155,7 +155,7 @@ clubhouse.search_stories(page_size: 25, query: 'state:500000016')
155
155
  # code: "200",
156
156
  # status: "OK",
157
157
  # content: {
158
- # "next" => "/api/v2/search/stories?query=state%3A500000016&page_size=25&next=a8acc6577548df7a213272f7f9f617bcb1f8a831~24",
158
+ # "next" => "/api/v3/search/stories?query=state%3A500000016&page_size=25&next=a8acc6577548df7a213272f7f9f617bcb1f8a831~24",
159
159
  # "data" => [
160
160
  # {
161
161
  # "entity_type" => "story",
@@ -257,8 +257,12 @@ clubhouse.projects.stories.list
257
257
  ## Version
258
258
 
259
259
  The current version of the clubhouse_ruby gem supports the current version of
260
- the API, version 2. If you want something that definitely works with v1, use
261
- version 0.2.0 of clubhouse_ruby.
260
+ the API, version 3.
261
+
262
+ If you want something that definitely works with:
263
+
264
+ * v1, use version 0.2.0 of clubhouse_ruby
265
+ * v2, use version 0.3.0 of clubhouse_ruby
262
266
 
263
267
  ## Development
264
268
 
@@ -18,10 +18,10 @@ Gem::Specification.new do |spec|
18
18
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_development_dependency "bundler", "~> 1.12"
21
+ spec.add_development_dependency "bundler", "~> 2.1"
22
22
  spec.add_development_dependency "rake", "~> 10.0"
23
23
  spec.add_development_dependency "rspec", "~> 3.0"
24
24
  spec.add_development_dependency "dotenv", "~> 2.1"
25
- spec.add_development_dependency "webmock", "~> 2.1"
25
+ spec.add_development_dependency "webmock", "~> 3.7"
26
26
  spec.add_development_dependency "vcr", "~> 3.0"
27
27
  end
@@ -2,7 +2,7 @@ require 'json'
2
2
  require 'csv'
3
3
 
4
4
  module ClubhouseRuby
5
- API_URL = "https://api.clubhouse.io/api/v2/".freeze
5
+ API_URL = "https://api.clubhouse.io/api/v3/".freeze
6
6
 
7
7
  # Response formats the clubhouse api knows about
8
8
  FORMATS = {
@@ -1,3 +1,3 @@
1
1
  module ClubhouseRuby
2
- VERSION = "0.5.0"
2
+ VERSION = "0.6.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: clubhouse_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Philip Castiglione
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-03-18 00:00:00.000000000 Z
11
+ date: 2019-12-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.12'
19
+ version: '2.1'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.12'
26
+ version: '2.1'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '2.1'
75
+ version: '3.7'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '2.1'
82
+ version: '3.7'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: vcr
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -135,7 +135,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
135
135
  - !ruby/object:Gem::Version
136
136
  version: '0'
137
137
  requirements: []
138
- rubygems_version: 3.0.1
138
+ rubygems_version: 3.0.3
139
139
  signing_key:
140
140
  specification_version: 4
141
141
  summary: A lightweight Ruby wrapper for the Clubhouse REST API.