kendama 0.2.2 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/Gemfile +5 -4
- data/Gemfile.lock +17 -18
- data/README.md +4 -4
- data/Rakefile +1 -6
- data/bin/console +11 -0
- data/bin/setup +8 -0
- data/kendama.gemspec +46 -0
- data/lib/kendama/api/v1_api.rb +1 -1
- data/lib/kendama/api_client.rb +1 -1
- data/lib/kendama/api_error.rb +1 -1
- data/lib/kendama/configuration.rb +10 -8
- data/lib/kendama/models/announcement.rb +59 -18
- data/lib/kendama/models/response_body.rb +31 -24
- data/lib/kendama/version.rb +2 -2
- data/lib/kendama.rb +1 -1
- data/openapi/root.yaml +17 -0
- data/openapi/v1/announcement.yaml +179 -0
- data/openapi/v1/diff.yaml +87 -0
- data/openapi/v1/num.yaml +66 -0
- data/openapi/v1/valid.yaml +65 -0
- data/pkg/kendama-0.1.0.gem +0 -0
- data/pkg/kendama-0.1.1.gem +0 -0
- data/pkg/kendama-0.2.0.gem +0 -0
- data/pkg/kendama-0.2.1.gem +0 -0
- data/pkg/kendama-0.2.2.gem +0 -0
- data/pkg/kendama-0.2.3.gem +0 -0
- data/pkg/kendama-1.0.0.gem +0 -0
- data/spec/api/v1_api_spec.rb +35 -3
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/announcement_spec.rb +24 -4
- data/spec/models/response_body_spec.rb +3 -3
- data/spec/spec_helper.rb +1 -1
- metadata +19 -10
- data/.openapi-generator/FILES +0 -18
- data/.openapi-generator/VERSION +0 -1
- data/.openapi-generator-ignore +0 -30
- data/.rspec +0 -3
- data/.rubocop.yml +0 -155
- data/.travis.yml +0 -11
data/.openapi-generator/FILES
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
.gitlab-ci.yml
|
2
|
-
.travis.yml
|
3
|
-
README.md
|
4
|
-
docs/Announcement.md
|
5
|
-
docs/ResponseBody.md
|
6
|
-
docs/V1Api.md
|
7
|
-
git_push.sh
|
8
|
-
lib/kendama.rb
|
9
|
-
lib/kendama/api/v1_api.rb
|
10
|
-
lib/kendama/api_client.rb
|
11
|
-
lib/kendama/api_error.rb
|
12
|
-
lib/kendama/configuration.rb
|
13
|
-
lib/kendama/models/announcement.rb
|
14
|
-
lib/kendama/models/response_body.rb
|
15
|
-
lib/kendama/version.rb
|
16
|
-
spec/api_client_spec.rb
|
17
|
-
spec/configuration_spec.rb
|
18
|
-
spec/spec_helper.rb
|
data/.openapi-generator/VERSION
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
6.6.0
|
data/.openapi-generator-ignore
DELETED
@@ -1,30 +0,0 @@
|
|
1
|
-
# OpenAPI Generator Ignore
|
2
|
-
# Generated by openapi-generator https://github.com/openapitools/openapi-generator
|
3
|
-
|
4
|
-
# Use this file to prevent files from being overwritten by the generator.
|
5
|
-
# The patterns follow closely to .gitignore or .dockerignore.
|
6
|
-
|
7
|
-
# As an example, the C# client generator defines ApiClient.cs.
|
8
|
-
# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
|
9
|
-
#ApiClient.cs
|
10
|
-
|
11
|
-
# You can match any string of characters against a directory, file or extension with a single asterisk (*):
|
12
|
-
#foo/*/qux
|
13
|
-
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
|
14
|
-
|
15
|
-
# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
|
16
|
-
#foo/**/qux
|
17
|
-
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
|
18
|
-
|
19
|
-
# You can also negate patterns with an exclamation (!).
|
20
|
-
# For example, you can ignore all files in a docs folder with the file extension .md:
|
21
|
-
#docs/*.md
|
22
|
-
# Then explicitly reverse the ignore rule for a single file:
|
23
|
-
#!docs/README.md
|
24
|
-
|
25
|
-
.gitignore
|
26
|
-
.rspec
|
27
|
-
.rubocop.yml
|
28
|
-
Gemfile
|
29
|
-
kendama.gemspec
|
30
|
-
Rakefile
|
data/.rspec
DELETED
data/.rubocop.yml
DELETED
@@ -1,155 +0,0 @@
|
|
1
|
-
# This file is based on https://github.com/rails/rails/blob/master/.rubocop.yml (MIT license)
|
2
|
-
# Automatically generated by OpenAPI Generator (https://openapi-generator.tech)
|
3
|
-
AllCops:
|
4
|
-
TargetRubyVersion: 2.4
|
5
|
-
# RuboCop has a bunch of cops enabled by default. This setting tells RuboCop
|
6
|
-
# to ignore them, so only the ones explicitly set in this file are enabled.
|
7
|
-
DisabledByDefault: true
|
8
|
-
Exclude:
|
9
|
-
- "**/templates/**/*"
|
10
|
-
- "**/vendor/**/*"
|
11
|
-
- "actionpack/lib/action_dispatch/journey/parser.rb"
|
12
|
-
|
13
|
-
# Prefer &&/|| over and/or.
|
14
|
-
Style/AndOr:
|
15
|
-
Enabled: true
|
16
|
-
|
17
|
-
# Align `when` with `case`.
|
18
|
-
Layout/CaseIndentation:
|
19
|
-
Enabled: true
|
20
|
-
|
21
|
-
# Align comments with method definitions.
|
22
|
-
Layout/CommentIndentation:
|
23
|
-
Enabled: true
|
24
|
-
|
25
|
-
Layout/ElseAlignment:
|
26
|
-
Enabled: true
|
27
|
-
|
28
|
-
Layout/EmptyLineAfterMagicComment:
|
29
|
-
Enabled: true
|
30
|
-
|
31
|
-
# In a regular class definition, no empty lines around the body.
|
32
|
-
# Layout/EmptyLinesAroundClassBody:
|
33
|
-
# Enabled: true
|
34
|
-
|
35
|
-
# In a regular method definition, no empty lines around the body.
|
36
|
-
Layout/EmptyLinesAroundMethodBody:
|
37
|
-
Enabled: true
|
38
|
-
|
39
|
-
# In a regular module definition, no empty lines around the body.
|
40
|
-
# Layout/EmptyLinesAroundModuleBody:
|
41
|
-
# Enabled: true
|
42
|
-
|
43
|
-
Layout/FirstArgumentIndentation:
|
44
|
-
Enabled: true
|
45
|
-
|
46
|
-
# Use Ruby >= 1.9 syntax for hashes. Prefer { a: :b } over { :a => :b }.
|
47
|
-
Style/HashSyntax:
|
48
|
-
Enabled: false
|
49
|
-
|
50
|
-
# Method definitions after `private` or `protected` isolated calls need one
|
51
|
-
# extra level of indentation.
|
52
|
-
Layout/IndentationConsistency:
|
53
|
-
Enabled: true
|
54
|
-
EnforcedStyle: indented_internal_methods
|
55
|
-
|
56
|
-
# Two spaces, no tabs (for indentation).
|
57
|
-
# Layout/IndentationWidth:
|
58
|
-
# Enabled: true
|
59
|
-
|
60
|
-
Layout/LeadingCommentSpace:
|
61
|
-
Enabled: true
|
62
|
-
|
63
|
-
Layout/SpaceAfterColon:
|
64
|
-
Enabled: true
|
65
|
-
|
66
|
-
Layout/SpaceAfterComma:
|
67
|
-
Enabled: true
|
68
|
-
|
69
|
-
Layout/SpaceAroundEqualsInParameterDefault:
|
70
|
-
Enabled: true
|
71
|
-
|
72
|
-
Layout/SpaceAroundKeyword:
|
73
|
-
Enabled: true
|
74
|
-
|
75
|
-
# Layout/SpaceAroundOperators:
|
76
|
-
# Enabled: true
|
77
|
-
|
78
|
-
Layout/SpaceBeforeComma:
|
79
|
-
Enabled: true
|
80
|
-
|
81
|
-
Layout/SpaceBeforeFirstArg:
|
82
|
-
Enabled: true
|
83
|
-
|
84
|
-
Style/DefWithParentheses:
|
85
|
-
Enabled: true
|
86
|
-
|
87
|
-
# Defining a method with parameters needs parentheses.
|
88
|
-
Style/MethodDefParentheses:
|
89
|
-
Enabled: true
|
90
|
-
|
91
|
-
Style/FrozenStringLiteralComment:
|
92
|
-
Enabled: false
|
93
|
-
EnforcedStyle: always
|
94
|
-
|
95
|
-
# Use `foo {}` not `foo{}`.
|
96
|
-
Layout/SpaceBeforeBlockBraces:
|
97
|
-
Enabled: true
|
98
|
-
|
99
|
-
# Use `foo { bar }` not `foo {bar}`.
|
100
|
-
Layout/SpaceInsideBlockBraces:
|
101
|
-
Enabled: true
|
102
|
-
|
103
|
-
# Use `{ a: 1 }` not `{a:1}`.
|
104
|
-
# Layout/SpaceInsideHashLiteralBraces:
|
105
|
-
# Enabled: true
|
106
|
-
|
107
|
-
Layout/SpaceInsideParens:
|
108
|
-
Enabled: true
|
109
|
-
|
110
|
-
# Check quotes usage according to lint rule below.
|
111
|
-
# Style/StringLiterals:
|
112
|
-
# Enabled: true
|
113
|
-
# EnforcedStyle: single_quotes
|
114
|
-
|
115
|
-
# Detect hard tabs, no hard tabs.
|
116
|
-
Layout/IndentationStyle:
|
117
|
-
Enabled: true
|
118
|
-
|
119
|
-
# Blank lines should not have any spaces.
|
120
|
-
Layout/TrailingEmptyLines:
|
121
|
-
Enabled: true
|
122
|
-
|
123
|
-
# No trailing whitespace.
|
124
|
-
Layout/TrailingWhitespace:
|
125
|
-
Enabled: false
|
126
|
-
|
127
|
-
# Use quotes for string literals when they are enough.
|
128
|
-
Style/RedundantPercentQ:
|
129
|
-
Enabled: true
|
130
|
-
|
131
|
-
# Align `end` with the matching keyword or starting expression except for
|
132
|
-
# assignments, where it should be aligned with the LHS.
|
133
|
-
Layout/EndAlignment:
|
134
|
-
Enabled: true
|
135
|
-
EnforcedStyleAlignWith: variable
|
136
|
-
AutoCorrect: true
|
137
|
-
|
138
|
-
# Use my_method(my_arg) not my_method( my_arg ) or my_method my_arg.
|
139
|
-
Lint/RequireParentheses:
|
140
|
-
Enabled: true
|
141
|
-
|
142
|
-
Style/RedundantReturn:
|
143
|
-
Enabled: true
|
144
|
-
AllowMultipleReturnValues: true
|
145
|
-
|
146
|
-
Style/Semicolon:
|
147
|
-
Enabled: true
|
148
|
-
AllowAsExpressionSeparator: true
|
149
|
-
|
150
|
-
# Style/StringLiteralsInInterpolation:
|
151
|
-
# Enabled: true
|
152
|
-
# EnforcedStyle: double_quotes
|
153
|
-
|
154
|
-
# Layout/LineLength:
|
155
|
-
# Max: 120
|