development-toolbox 0.5.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c6d425f75119912c1e4c40a5dca10625166705b2
4
- data.tar.gz: 81f557e4a85892e3c59a53004fc6122332026d27
3
+ metadata.gz: 90d54db50cb8c8f0cb3789754962db85a7d75dd8
4
+ data.tar.gz: 52ad8c8901c94e53bb51a6b945b6732aa435c79c
5
5
  SHA512:
6
- metadata.gz: 99870550d83f19ff000d4ed87b5313228be5cccff00988a93c7ed5788577a46c2b600f09d4cb2bab98c972163a764e94138f8bb7be5196f8b4c6b28e4eb27ece
7
- data.tar.gz: 7d2712d9cb643063994fbf6e109fb08acfd7f8f7ac42d4ed4e13994b6a4bfd0ddbbef1ac537f3b2bad2ce9c978caf05669f5e27632a1fa7d6db9546bbf54a014
6
+ metadata.gz: 70a3a5620615c4d3c3092e0b4e981329858c5453d20e765960e4fe49780f038c1fb7bac38ad9467017a52314b741c9621ca958bdfec189ab825c0d1743bdc810
7
+ data.tar.gz: 3f3bf4c68d5641e4a7aec2973d872785968507c67ea09150394288001c093314b4e83e3a77fc29eed9550b0ac34fd9a0239c478caa348c847d88a27a6d71104d
data/TODO.taskpaper CHANGED
@@ -1,7 +1,7 @@
1
1
  README.md:
2
2
  Write usage instructions for:
3
3
  - development with Ruby @documentation
4
- - Gem development @documentation
4
+ - Gem development @documentation @done(2017-05-11)
5
5
  - App development @documentation
6
6
  - Rails development @documentation
7
7
  - RubyMotion development @documentation
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Development
4
4
  module Toolbox
5
- VERSION = '0.5.0'
5
+ VERSION = '0.7.0'
6
6
  end
7
7
  end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ namespace :build do
4
+ task :default
5
+ end
6
+
7
+ task build: %i[build:default]
data/rakelib/default.rake CHANGED
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- desc 'Test and build project'
4
- task default: %i[test doc gems:build]
3
+ desc 'Build, test project and generate documentation'
4
+ task default: %i[build test doc]
data/rakelib/gem.rake CHANGED
@@ -15,7 +15,7 @@ if gemspecs.size > 1
15
15
  end
16
16
  end
17
17
 
18
- namespace :gems do
18
+ namespace :gem do
19
19
  desc 'Build each gem'
20
20
  task build: gems.map { |gem| :"#{gem}:build" }
21
21
 
@@ -36,6 +36,10 @@ if gemspecs.size > 1
36
36
  gems.each { |gem| puts gem }
37
37
  end
38
38
  end
39
+
40
+ namespace :build do
41
+ task default: %i[gem:build]
42
+ end
39
43
  elsif gemspecs.size == 1
40
44
  require 'bundler/gem_tasks'
41
45
  end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ namespace :release do
4
+ task default: %i[build test doc]
5
+ end
6
+
7
+ task release: %i[release:default]
data/rakelib/spec.rake CHANGED
@@ -2,6 +2,4 @@
2
2
 
3
3
  require 'rspec/core/rake_task'
4
4
 
5
- RSpec::Core::RakeTask.new :spec do |t|
6
- t.rspec_path = 'bin/rspec'
7
- end
5
+ RSpec::Core::RakeTask.new :spec
data/rakelib/test.rake CHANGED
@@ -1,4 +1,8 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- desc 'Test and check style'
4
- task test: %i[spec audit:test style]
3
+ namespace :test do
4
+ task default: %i[spec audit style]
5
+ end
6
+
7
+ desc 'Run specification, audit dependencies and check code style'
8
+ task test: %i[test:default]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: development-toolbox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Semyonov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-05-11 00:00:00.000000000 Z
11
+ date: 2017-05-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -182,9 +182,11 @@ files:
182
182
  - lib/development/toolbox.rb
183
183
  - lib/development/toolbox/version.rb
184
184
  - rakelib/audit.rake
185
+ - rakelib/build.rake
185
186
  - rakelib/default.rake
186
187
  - rakelib/doc.rake
187
188
  - rakelib/gem.rake
189
+ - rakelib/release.rake
188
190
  - rakelib/spec.rake
189
191
  - rakelib/style.rake
190
192
  - rakelib/test.rake