shortcut_client_ruby 0.0.2 → 0.0.3

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: de2376af744bc9c60fcb9f518a7f8763009d04925c955c10bdcc633e6797fc36
4
- data.tar.gz: b624f75550f510e138ee8fc89a20c4472a411b3b873f2210c81987158a50cbfb
3
+ metadata.gz: 108e8680336511d43a752ce1e0bed65ed2c3da7839b4091522cf174f2313fda1
4
+ data.tar.gz: 8adb1f3ab03b9e15a3561f5115c532677f7a944d9fcaec1d1e3d3aa5abf43149
5
5
  SHA512:
6
- metadata.gz: 70958c3eee64cb05623e7be8f114ec3f8d98723079f3435291db8633455441ec742c46d27e5cb396743ba0d010ca142cb30f180bc0d4a987ae9a8700d4aef965
7
- data.tar.gz: 83503c45625846e5c6f7a887374df21261d79a12a4fb034bab492a4bf3582920b53037df7e542a6d1a91cb2a7683136a6d4490b4c31ee361dcb2cf259f3224ac
6
+ metadata.gz: 6e1b3c99fe76763c25fcbc30343c89d3c9d5fe6c90070b9dc40c1d6102877dea51cfebad8b85736c7eb674ca6ed2915ad0c8a59e86fd2cffada5e52014fce90d
7
+ data.tar.gz: 63cec797b2796822f601e2d53133003b8a412313d6d2df070275002fc9b549c26d30a961d6d790f7eed7ae715a656fa88dcb38775a22b12def3640b35ca74366
data/README.md CHANGED
@@ -7,7 +7,7 @@ Shortcut API
7
7
  This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
8
8
 
9
9
  - API version: 3.0
10
- - Package version: 0.0.2
10
+ - Package version: 0.0.3
11
11
  - Build package: io.swagger.codegen.v3.generators.ruby.RubyClientCodegen
12
12
 
13
13
  ## Installation
@@ -23,15 +23,15 @@ gem build shortcut_client_ruby.gemspec
23
23
  Then either install the gem locally:
24
24
 
25
25
  ```shell
26
- gem install ./shortcut_client_ruby-0.0.2.gem
26
+ gem install ./shortcut_client_ruby-0.0.3.gem
27
27
  ```
28
- (for development, run `gem install --dev ./shortcut_client_ruby-0.0.2.gem` to install the development dependencies)
28
+ (for development, run `gem install --dev ./shortcut_client_ruby-0.0.3.gem` to install the development dependencies)
29
29
 
30
30
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
31
31
 
32
32
  Finally add this to the Gemfile:
33
33
 
34
- gem 'shortcut_client_ruby', '~> 0.0.2'
34
+ gem 'shortcut_client_ruby', '~> 0.0.3'
35
35
 
36
36
  ### Install from Git
37
37
 
@@ -1716,8 +1716,7 @@ Shortcut.configure do |config|
1716
1716
  end
1717
1717
 
1718
1718
  api_instance = Shortcut::DefaultApi.new
1719
- body = Shortcut::UpdateEntityTemplate.new # UpdateEntityTemplate | Request parameters for changing either a template's name or any of
1720
- the attributes it is designed to pre-populate.
1719
+ body = Shortcut::UpdateEntityTemplate.new # UpdateEntityTemplate | Request parameters for changing either a template's name or any of the attributes it is designed to pre-populate.
1721
1720
  entity_template_public_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | The unique ID of the template to be updated.
1722
1721
 
1723
1722
 
data/bin/publish.rb ADDED
@@ -0,0 +1,11 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "json"
4
+
5
+ def config
6
+ @config ||= JSON.parse(File.read("config.json"))
7
+ end
8
+
9
+
10
+ `gem build #{config["gemName"]}.gemspec`
11
+ `gem push #{config["gemName"]}-#{config["gemVersion"]}.gem`
data/config.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "gemName": "shortcut_client_ruby",
3
3
  "moduleName": "Shortcut",
4
- "gemVersion": "0.0.2",
4
+ "gemVersion": "0.0.3",
5
5
  "gitUserId": "ngouy",
6
6
  "gitRepoId": "shortcut_client_ruby"
7
7
  }
data/docs/DefaultApi.md CHANGED
@@ -4762,8 +4762,7 @@ Shortcut.configure do |config|
4762
4762
  end
4763
4763
 
4764
4764
  api_instance = Shortcut::DefaultApi.new
4765
- body = Shortcut::UpdateEntityTemplate.new # UpdateEntityTemplate | Request parameters for changing either a template's name or any of
4766
- the attributes it is designed to pre-populate.
4765
+ body = Shortcut::UpdateEntityTemplate.new # UpdateEntityTemplate | Request parameters for changing either a template's name or any of the attributes it is designed to pre-populate.
4767
4766
  entity_template_public_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | The unique ID of the template to be updated.
4768
4767
 
4769
4768
 
@@ -4780,8 +4779,7 @@ end
4780
4779
 
4781
4780
  Name | Type | Description | Notes
4782
4781
  ------------- | ------------- | ------------- | -------------
4783
- **body** | [**UpdateEntityTemplate**](UpdateEntityTemplate.md)| Request parameters for changing either a template's name or any of
4784
- the attributes it is designed to pre-populate. |
4782
+ **body** | [**UpdateEntityTemplate**](UpdateEntityTemplate.md)| Request parameters for changing either a template's name or any of the attributes it is designed to pre-populate. |
4785
4783
  **entity_template_public_id** | [**String**](.md)| The unique ID of the template to be updated. |
4786
4784
 
4787
4785
  ### Return type
@@ -3,7 +3,7 @@
3
3
  module Shortcut
4
4
  module Client
5
5
  module Ruby
6
- VERSION = "0.1.0"
6
+ VERSION = "0.0.3"
7
7
  end
8
8
  end
9
9
  end
@@ -5032,8 +5032,7 @@ module Shortcut
5032
5032
  end
5033
5033
  # Update Entity Template
5034
5034
  # Update an entity template's name or its contents.
5035
- # @param body Request parameters for changing either a template's name or any of
5036
- the attributes it is designed to pre-populate.
5035
+ # @param body Request parameters for changing either a template's name or any of the attributes it is designed to pre-populate.
5037
5036
  # @param entity_template_public_id The unique ID of the template to be updated.
5038
5037
  # @param [Hash] opts the optional parameters
5039
5038
  # @return [EntityTemplate]
@@ -5044,8 +5043,7 @@ module Shortcut
5044
5043
 
5045
5044
  # Update Entity Template
5046
5045
  # Update an entity template's name or its contents.
5047
- # @param body Request parameters for changing either a template's name or any of
5048
- the attributes it is designed to pre-populate.
5046
+ # @param body Request parameters for changing either a template's name or any of the attributes it is designed to pre-populate.
5049
5047
  # @param entity_template_public_id The unique ID of the template to be updated.
5050
5048
  # @param [Hash] opts the optional parameters
5051
5049
  # @return [Array<(EntityTemplate, Integer, Hash)>] EntityTemplate data, response status code and response headers
@@ -10,5 +10,5 @@ Swagger Codegen version: 3.0.35
10
10
  =end
11
11
 
12
12
  module Shortcut
13
- VERSION = '0.0.2'
13
+ VERSION = '0.0.3'
14
14
  end
Binary file
@@ -1098,8 +1098,7 @@ describe 'DefaultApi' do
1098
1098
  # unit tests for update_entity_template
1099
1099
  # Update Entity Template
1100
1100
  # Update an entity template&#x27;s name or its contents.
1101
- # @param body Request parameters for changing either a template&#x27;s name or any of
1102
- the attributes it is designed to pre-populate.
1101
+ # @param body Request parameters for changing either a template&#x27;s name or any of the attributes it is designed to pre-populate.
1103
1102
  # @param entity_template_public_id The unique ID of the template to be updated.
1104
1103
  # @param [Hash] opts the optional parameters
1105
1104
  # @return [EntityTemplate]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shortcut_client_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Swagger-Codegen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-26 00:00:00.000000000 Z
11
+ date: 2022-11-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -82,6 +82,7 @@ files:
82
82
  - README.md
83
83
  - Rakefile
84
84
  - bin/console
85
+ - bin/publish.rb
85
86
  - bin/setup
86
87
  - bin/update.rb
87
88
  - config.json
@@ -380,6 +381,7 @@ files:
380
381
  - lib/shortcut_client_ruby/models/workflow_state.rb
381
382
  - lib/shortcut_client_ruby/version.rb
382
383
  - shortcut-client-ruby.gemspec
384
+ - shortcut_client_ruby-0.0.2.gem
383
385
  - shortcut_client_ruby.gemspec
384
386
  - spec/api/default_api_spec.rb
385
387
  - spec/api_client_spec.rb