opencode_theme 1.0.5 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/opencode +2 -2
- data/lib/opencode_theme.rb +3 -7
- data/lib/opencode_theme/base_service.rb +43 -22
- data/lib/opencode_theme/cli.rb +172 -155
- data/lib/opencode_theme/version.rb +1 -1
- data/opencode_theme.gemspec +7 -3
- data/spec/cassettes_local/bootstrap/valid.yml +4252 -0
- data/spec/cassettes_local/clean/invalid.yml +36 -0
- data/spec/cassettes_local/components/list.yml +1881 -0
- data/spec/cassettes_local/configure/invalid2.yml +36 -0
- data/spec/cassettes_local/configure/invalid3.yml +36 -0
- data/spec/cassettes_local/configure/valid.yml +36 -0
- data/spec/cassettes_local/delete/valid.yml +36 -0
- data/spec/cassettes_local/download/valid_single.yml +39 -0
- data/spec/cassettes_local/download/valid_theme.yml +4182 -0
- data/spec/cassettes_local/list/invalid.yml +36 -0
- data/spec/cassettes_local/list/valid.yml +297 -0
- data/spec/cassettes_local/process_install/download.yml +221 -0
- data/spec/cassettes_local/subject/valid.yml +38 -0
- data/spec/cassettes_local/units/components/list.yml +298 -0
- data/spec/cassettes_local/units/components/list_tag/wrong.yml +65 -0
- data/spec/cassettes_local/upload/valid_single.yml +39 -0
- data/spec/cassettes_local/upload/valid_theme.yml +4035 -0
- data/spec/functional/functional_spec.rb +168 -85
- data/spec/spec_helper.rb +6 -0
- data/spec/unit/components/install_spec.rb +55 -0
- data/spec/unit/components/list_spec.rb +29 -0
- data/spec/unit/components/process_install_spec.rb +28 -0
- metadata +79 -3
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opencode_theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rafael Takashi Tanaka
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-08-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -80,6 +80,62 @@ dependencies:
|
|
80
80
|
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: vcr
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: github_api
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rubyzip
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - '='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 1.2.1
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - '='
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: 1.2.1
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: webmock
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :runtime
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
83
139
|
- !ruby/object:Gem::Dependency
|
84
140
|
name: rake
|
85
141
|
requirement: !ruby/object:Gem::Requirement
|
@@ -156,10 +212,30 @@ files:
|
|
156
212
|
- lib/opencode_theme/cli.rb
|
157
213
|
- lib/opencode_theme/version.rb
|
158
214
|
- opencode_theme.gemspec
|
215
|
+
- spec/cassettes_local/bootstrap/valid.yml
|
216
|
+
- spec/cassettes_local/clean/invalid.yml
|
217
|
+
- spec/cassettes_local/components/list.yml
|
218
|
+
- spec/cassettes_local/configure/invalid2.yml
|
219
|
+
- spec/cassettes_local/configure/invalid3.yml
|
220
|
+
- spec/cassettes_local/configure/valid.yml
|
221
|
+
- spec/cassettes_local/delete/valid.yml
|
222
|
+
- spec/cassettes_local/download/valid_single.yml
|
223
|
+
- spec/cassettes_local/download/valid_theme.yml
|
224
|
+
- spec/cassettes_local/list/invalid.yml
|
225
|
+
- spec/cassettes_local/list/valid.yml
|
226
|
+
- spec/cassettes_local/process_install/download.yml
|
227
|
+
- spec/cassettes_local/subject/valid.yml
|
228
|
+
- spec/cassettes_local/units/components/list.yml
|
229
|
+
- spec/cassettes_local/units/components/list_tag/wrong.yml
|
230
|
+
- spec/cassettes_local/upload/valid_single.yml
|
231
|
+
- spec/cassettes_local/upload/valid_theme.yml
|
159
232
|
- spec/functional/functional_spec.rb
|
160
233
|
- spec/spec_helper.rb
|
161
234
|
- spec/unit/cli_double.rb
|
162
235
|
- spec/unit/cli_spec.rb
|
236
|
+
- spec/unit/components/install_spec.rb
|
237
|
+
- spec/unit/components/list_spec.rb
|
238
|
+
- spec/unit/components/process_install_spec.rb
|
163
239
|
homepage: https://www.tray.com.br/opencode/
|
164
240
|
licenses:
|
165
241
|
- MIT
|
@@ -180,7 +256,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
180
256
|
version: '0'
|
181
257
|
requirements: []
|
182
258
|
rubyforge_project:
|
183
|
-
rubygems_version: 2.
|
259
|
+
rubygems_version: 2.6.12
|
184
260
|
signing_key:
|
185
261
|
specification_version: 4
|
186
262
|
summary: Provides simple commands to upload and download files from a themes
|