sleeping_king_studios-tasks 0.1.0.rc.0 → 0.1.0.rc.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/DEVELOPMENT.md +1 -6
- data/lib/sleeping_king_studios/tasks/apps/bundle/tasks.thor +15 -0
- data/lib/sleeping_king_studios/tasks/apps/ci/tasks.thor +20 -0
- data/lib/sleeping_king_studios/tasks/ci/tasks.thor +20 -0
- data/lib/sleeping_king_studios/tasks/file/tasks.thor +13 -0
- data/lib/sleeping_king_studios/tasks/version.rb +1 -1
- metadata +11 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 33faea0f72569a5035c8dc78a50cc0b3390aafee
|
4
|
+
data.tar.gz: b116e99e9f2dbae198a46a16567b622e3b34184a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e4968cf1e1b30d3d65e7df61617f90de197a53cc076cf09bc8efe3b3d88c750103911bf9c048fa7d7df4d728aa7ef674089dbf50609de1d040d4b4e29230187
|
7
|
+
data.tar.gz: '048cf59da7de0f337caec2dc4ee2a5a417629c34b38e6485a792470921f265bfca57cf549967419575bd7532e944a60e2e8d8cda9b9b9a64ece6ceb1e3bd6c0b'
|
data/DEVELOPMENT.md
CHANGED
@@ -1,13 +1,8 @@
|
|
1
1
|
## Tasks
|
2
2
|
|
3
|
-
### 0.1.0
|
4
|
-
|
5
|
-
- task names should be strings, not symbols
|
6
|
-
- formalize (public) task names as _Task, _task.rb ?
|
7
|
-
- documentation pass
|
8
|
-
|
9
3
|
### Future Tasks
|
10
4
|
|
5
|
+
- add documentation for "ci" option in applications.yml
|
11
6
|
- integration testing for RSpec, RSpecEach tasks
|
12
7
|
- sample spec files with known output(s)
|
13
8
|
- extract common Results object superclass
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# lib/sleeping_king_studios/tasks/apps/bundle/tasks.thor
|
2
|
+
|
3
|
+
require 'sleeping_king_studios/tasks/apps/bundle'
|
4
|
+
require 'sleeping_king_studios/tasks/apps/bundle/install_task'
|
5
|
+
require 'sleeping_king_studios/tasks/apps/bundle/update_task'
|
6
|
+
|
7
|
+
module SleepingKingStudios::Tasks::Apps::Bundle
|
8
|
+
# Thor integration for application gem dependency tasks.
|
9
|
+
class Tasks < SleepingKingStudios::Tasks::TaskGroup
|
10
|
+
namespace :"apps:bundle"
|
11
|
+
|
12
|
+
task SleepingKingStudios::Tasks::Apps::Bundle::InstallTask
|
13
|
+
task SleepingKingStudios::Tasks::Apps::Bundle::UpdateTask
|
14
|
+
end # class
|
15
|
+
end # module
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# lib/sleeping_king_studios/tasks/apps/ci/tasks.thor
|
2
|
+
|
3
|
+
require 'sleeping_king_studios/tasks/apps/ci'
|
4
|
+
require 'sleeping_king_studios/tasks/apps/ci/rspec_task'
|
5
|
+
require 'sleeping_king_studios/tasks/apps/ci/rubocop_task'
|
6
|
+
require 'sleeping_king_studios/tasks/apps/ci/simplecov_task'
|
7
|
+
require 'sleeping_king_studios/tasks/apps/ci/steps_task'
|
8
|
+
|
9
|
+
module SleepingKingStudios::Tasks::Apps::Ci
|
10
|
+
# Thor integration for continuous integration tasks in semi-distributed
|
11
|
+
# applications.
|
12
|
+
class Tasks < SleepingKingStudios::Tasks::TaskGroup
|
13
|
+
namespace :"apps:ci"
|
14
|
+
|
15
|
+
task SleepingKingStudios::Tasks::Apps::Ci::RSpecTask
|
16
|
+
task SleepingKingStudios::Tasks::Apps::Ci::RuboCopTask
|
17
|
+
task SleepingKingStudios::Tasks::Apps::Ci::SimpleCovTask
|
18
|
+
task SleepingKingStudios::Tasks::Apps::Ci::StepsTask
|
19
|
+
end # class
|
20
|
+
end # module
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# lib/sleeping_king_studios/tasks/ci/tasks.thor
|
2
|
+
|
3
|
+
require 'sleeping_king_studios/tasks/ci/cucumber_task'
|
4
|
+
require 'sleeping_king_studios/tasks/ci/rspec_task'
|
5
|
+
require 'sleeping_king_studios/tasks/ci/rspec_each_task'
|
6
|
+
require 'sleeping_king_studios/tasks/ci/rubocop_task'
|
7
|
+
require 'sleeping_king_studios/tasks/ci/steps_task'
|
8
|
+
|
9
|
+
module SleepingKingStudios::Tasks::Ci
|
10
|
+
# Thor integration for continuous integration tasks.
|
11
|
+
class Tasks < SleepingKingStudios::Tasks::TaskGroup
|
12
|
+
namespace :ci
|
13
|
+
|
14
|
+
task SleepingKingStudios::Tasks::Ci::CucumberTask
|
15
|
+
task SleepingKingStudios::Tasks::Ci::RSpecTask
|
16
|
+
task SleepingKingStudios::Tasks::Ci::RSpecEachTask
|
17
|
+
task SleepingKingStudios::Tasks::Ci::RuboCopTask
|
18
|
+
task SleepingKingStudios::Tasks::Ci::StepsTask
|
19
|
+
end # class
|
20
|
+
end # module
|
@@ -0,0 +1,13 @@
|
|
1
|
+
# lib/sleeping_king_studios/tasks/file/tasks.thor
|
2
|
+
|
3
|
+
require 'sleeping_king_studios/tasks/file'
|
4
|
+
require 'sleeping_king_studios/tasks/file/new_task'
|
5
|
+
|
6
|
+
module SleepingKingStudios::Tasks::File
|
7
|
+
# Thor integration for file tasks.
|
8
|
+
class Tasks < SleepingKingStudios::Tasks::TaskGroup
|
9
|
+
namespace :file
|
10
|
+
|
11
|
+
task SleepingKingStudios::Tasks::File::NewTask
|
12
|
+
end # class
|
13
|
+
end # module
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sleeping_king_studios-tasks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0.rc.
|
4
|
+
version: 0.1.0.rc.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rob "Merlin" Smith
|
@@ -48,6 +48,9 @@ dependencies:
|
|
48
48
|
name: sleeping_king_studios-tools
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
50
50
|
requirements:
|
51
|
+
- - "~>"
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0.7'
|
51
54
|
- - ">="
|
52
55
|
- !ruby/object:Gem::Version
|
53
56
|
version: 0.7.1
|
@@ -55,6 +58,9 @@ dependencies:
|
|
55
58
|
prerelease: false
|
56
59
|
version_requirements: !ruby/object:Gem::Requirement
|
57
60
|
requirements:
|
61
|
+
- - "~>"
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: '0.7'
|
58
64
|
- - ">="
|
59
65
|
- !ruby/object:Gem::Version
|
60
66
|
version: 0.7.1
|
@@ -207,6 +213,7 @@ files:
|
|
207
213
|
- lib/sleeping_king_studios/tasks/apps/bundle.rb
|
208
214
|
- lib/sleeping_king_studios/tasks/apps/bundle/install_runner.rb
|
209
215
|
- lib/sleeping_king_studios/tasks/apps/bundle/install_task.rb
|
216
|
+
- lib/sleeping_king_studios/tasks/apps/bundle/tasks.thor
|
210
217
|
- lib/sleeping_king_studios/tasks/apps/bundle/update_runner.rb
|
211
218
|
- lib/sleeping_king_studios/tasks/apps/bundle/update_task.rb
|
212
219
|
- lib/sleeping_king_studios/tasks/apps/ci.rb
|
@@ -219,6 +226,7 @@ files:
|
|
219
226
|
- lib/sleeping_king_studios/tasks/apps/ci/step_wrapper.rb
|
220
227
|
- lib/sleeping_king_studios/tasks/apps/ci/steps_runner.rb
|
221
228
|
- lib/sleeping_king_studios/tasks/apps/ci/steps_task.rb
|
229
|
+
- lib/sleeping_king_studios/tasks/apps/ci/tasks.thor
|
222
230
|
- lib/sleeping_king_studios/tasks/ci.rb
|
223
231
|
- lib/sleeping_king_studios/tasks/ci/cucumber_parser.rb
|
224
232
|
- lib/sleeping_king_studios/tasks/ci/cucumber_results.rb
|
@@ -237,9 +245,11 @@ files:
|
|
237
245
|
- lib/sleeping_king_studios/tasks/ci/simplecov_task.rb
|
238
246
|
- lib/sleeping_king_studios/tasks/ci/steps_runner.rb
|
239
247
|
- lib/sleeping_king_studios/tasks/ci/steps_task.rb
|
248
|
+
- lib/sleeping_king_studios/tasks/ci/tasks.thor
|
240
249
|
- lib/sleeping_king_studios/tasks/configuration.rb
|
241
250
|
- lib/sleeping_king_studios/tasks/file.rb
|
242
251
|
- lib/sleeping_king_studios/tasks/file/new_task.rb
|
252
|
+
- lib/sleeping_king_studios/tasks/file/tasks.thor
|
243
253
|
- lib/sleeping_king_studios/tasks/process_runner.rb
|
244
254
|
- lib/sleeping_king_studios/tasks/task.rb
|
245
255
|
- lib/sleeping_king_studios/tasks/task_group.rb
|