semmy 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -2
- data/CHANGELOG.md +8 -0
- data/Gemfile +2 -0
- data/README.md +7 -1
- data/lib/semmy/configuration.rb +2 -2
- data/lib/semmy/scm.rb +1 -1
- data/lib/semmy/shell.rb +0 -8
- data/lib/semmy/tasks/branches.rb +1 -1
- data/lib/semmy/tasks/changelog_sections.rb +2 -2
- data/lib/semmy/tasks/commit.rb +2 -2
- data/lib/semmy/tasks/docs.rb +1 -1
- data/lib/semmy/version.rb +1 -1
- data/semmy.gemspec +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1b3f7405b45d85b2fbad72f6bf800de454f6c079
|
4
|
+
data.tar.gz: 3d79221017ce08e3aa5fb6dcbf9d0b5db3bf11f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 670ce446aaa00a4b44e11411b5a474e091679a77a49b5ebc8b512490565b84527e83366c51440ff30eb2c01499a80150e0c804bd8d81ce7290ac9f41e0007e0e
|
7
|
+
data.tar.gz: 86f4c2005019a02441117b931f0eb4064321158f17d9ec589671df01d1739d34bc531f06b78759b7d80ac18da8e9d6674a3f333d3befe922171c7beb032565c4
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
# Semmy
|
2
2
|
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/semmy.svg)](http://badge.fury.io/rb/semmy)
|
4
|
+
[![Dependency Status](https://gemnasium.com/badges/github.com/tf/semmy.svg)](https://gemnasium.com/github.com/tf/semmy)
|
5
|
+
[![Build Status](https://travis-ci.org/tf/semmy.svg?branch=master)](https://travis-ci.org/tf/semmy)
|
6
|
+
[![Coverage Status](https://coveralls.io/repos/github/tf/semmy/badge.svg?branch=master)](https://coveralls.io/github/tf/semmy?branch=master)
|
7
|
+
[![Code Climate](https://codeclimate.com/github/tf/semmy/badges/gpa.svg)](https://codeclimate.com/github/tf/semmy)
|
8
|
+
|
3
9
|
An opinionated set of rake tasks to maintain gems following semantic
|
4
10
|
versioning principles.
|
5
11
|
|
@@ -8,7 +14,7 @@ versioning principles.
|
|
8
14
|
Add development dependency to your gemspec:
|
9
15
|
|
10
16
|
# your.gemspec
|
11
|
-
s.add_development_dependency
|
17
|
+
s.add_development_dependency 'semmy', '~> 0.2'
|
12
18
|
|
13
19
|
Install gems:
|
14
20
|
|
data/lib/semmy/configuration.rb
CHANGED
@@ -23,8 +23,8 @@ module Semmy
|
|
23
23
|
|
24
24
|
@stable_branch_name = '%{major}-%{minor}-stable'
|
25
25
|
|
26
|
-
@prepare_commit_message = 'Prepare %{version}
|
27
|
-
@bump_commit_message = 'Bump
|
26
|
+
@prepare_commit_message = 'Prepare %{version} release'
|
27
|
+
@bump_commit_message = 'Bump version to %{version}'
|
28
28
|
|
29
29
|
@changelog_path = 'CHANGELOG.md'
|
30
30
|
@changelog_version_section_heading = '### Version %{version}'
|
data/lib/semmy/scm.rb
CHANGED
data/lib/semmy/shell.rb
CHANGED
data/lib/semmy/tasks/branches.rb
CHANGED
@@ -9,7 +9,7 @@ module Semmy
|
|
9
9
|
homepage = Gemspec.homepage
|
10
10
|
|
11
11
|
Shell.info("Inserting #{new_version} section " \
|
12
|
-
"in #{config.changelog_path}
|
12
|
+
"in #{config.changelog_path}.")
|
13
13
|
|
14
14
|
Files.rewrite(config.changelog_path,
|
15
15
|
Changelog::CloseSection.new(config,
|
@@ -21,7 +21,7 @@ module Semmy
|
|
21
21
|
|
22
22
|
task 'add_unreleased_section' do
|
23
23
|
Shell.info('Inserting unreleased section ' \
|
24
|
-
"in #{config.changelog_path}
|
24
|
+
"in #{config.changelog_path}.")
|
25
25
|
|
26
26
|
Files.rewrite(config.changelog_path,
|
27
27
|
Changelog::InsertUnreleasedSection.new(config,
|
data/lib/semmy/tasks/commit.rb
CHANGED
@@ -6,7 +6,7 @@ module Semmy
|
|
6
6
|
def define
|
7
7
|
namespace 'commit' do
|
8
8
|
task 'prepare' do
|
9
|
-
Shell.info('Creating prepare commit
|
9
|
+
Shell.info('Creating prepare commit.')
|
10
10
|
|
11
11
|
git.commit_all(config.prepare_commit_message % {
|
12
12
|
version: Project.version
|
@@ -14,7 +14,7 @@ module Semmy
|
|
14
14
|
end
|
15
15
|
|
16
16
|
task 'bump' do
|
17
|
-
Shell.info('Creating bump commit
|
17
|
+
Shell.info('Creating bump commit.')
|
18
18
|
|
19
19
|
git.commit_all(config.bump_commit_message % {
|
20
20
|
version: Project.version
|
data/lib/semmy/tasks/docs.rb
CHANGED
@@ -7,7 +7,7 @@ module Semmy
|
|
7
7
|
namespace 'docs' do
|
8
8
|
task 'rewrite_since_tags' do
|
9
9
|
Shell.info("Rewriting @since #{config.rewritten_since_doc_tag} " \
|
10
|
-
"doc tags in #{config.source_files_with_docs_tags}
|
10
|
+
"doc tags in #{config.source_files_with_docs_tags}.")
|
11
11
|
|
12
12
|
Files.rewrite_all(config.source_files_with_docs_tags,
|
13
13
|
DocTags::UpdateSinceTags.new(config.rewritten_since_doc_tag,
|
data/lib/semmy/version.rb
CHANGED
data/semmy.gemspec
CHANGED
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.add_dependency 'unindent', '~> 1.0'
|
23
23
|
spec.add_dependency 'rainbow', '~> 2.1'
|
24
24
|
|
25
|
-
spec.add_development_dependency
|
26
|
-
spec.add_development_dependency
|
25
|
+
spec.add_development_dependency 'bundler', '~> 1.10'
|
26
|
+
spec.add_development_dependency 'rake', '~> 11.0'
|
27
27
|
spec.add_development_dependency 'rspec', '~> 3.0'
|
28
28
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: semmy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tim Fischbach
|
@@ -72,14 +72,14 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
75
|
+
version: '11.0'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
82
|
+
version: '11.0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rspec
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|