hoe-manns 1.4.1 → 1.4.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e21d1245dd8d94c3fa569ee2970cdf8aa0f6ae42
4
- data.tar.gz: cf1dfc008000bd7f84ba0f4c4cc2bb549dddc297
3
+ metadata.gz: 6dec7311679d06d81aaaf12187c720743e066369
4
+ data.tar.gz: 881d7013c3af3eb86582e938b15e0a4778fcb9da
5
5
  SHA512:
6
- metadata.gz: beda688cd6b7bdfbb91a6c43b224e5d02378d1ec2a5db0aaae8233e73737e7ffbdfe13edbdb451eec4fef5e434510b691a8208c8f00cec4ca1db0098969b3e6b
7
- data.tar.gz: 83e06cabf4152e6d74a091b6bd48f5a3c665fd0bd2a79f3e50e5eb9317b697bcc73feef3f9eb45cbb05a2858dc976164695af979006b30506e2c1d56ac5002b9
6
+ metadata.gz: 233a90fa27da2a67baa6b076b5ab934b51e095e2453c6eddaa51444c16ea34834ac84cb3e3e8a4207ba08c52b6bfd25128b532e797d04b5d8ff0422e74523f52
7
+ data.tar.gz: ab90c75f625cec962b36956e1ae16f560387804c8675d02da1474f0a25152812134c83e5bcf3bdb999fb61129819c07090b059439eea836812f1ddd7d43a28af
Binary file
data.tar.gz.sig CHANGED
Binary file
data/.index CHANGED
@@ -151,7 +151,7 @@ customs: []
151
151
  paths:
152
152
  lib:
153
153
  - lib
154
- version: 1.2.1
154
+ version: 1.4.2
155
155
  name: hoe-manns
156
156
  title: hoe-manns
157
157
  summary: hoe-manns is a small collection of my personal used rake tasks for using
data/Gemfile CHANGED
@@ -20,7 +20,7 @@ gem "hoe-deveiate", "~>0.7", :group => [:development, :test]
20
20
  gem "hoe-doofus", "~>1.0", :group => [:development, :test]
21
21
  gem "hoe-gemspec", "~>1.0", :group => [:development, :test]
22
22
  gem "hoe-git", "~>1.6", :group => [:development, :test]
23
- gem "hoe-manns", "~>1.4.1", :group => [:development, :test]
23
+ gem "hoe-manns", "~>1.4.2", :group => [:development, :test]
24
24
  gem "hoe-packaging", "~>1.1", :group => [:development, :test]
25
25
  gem "hoe-reek", "~>1.0", :group => [:development, :test]
26
26
  gem "hoe-rubocop", "~>0.1", :group => [:development, :test]
@@ -81,7 +81,7 @@ GEM
81
81
  hoe-highline (0.2.1)
82
82
  highline (~> 1.6)
83
83
  hoe (~> 3.11)
84
- hoe-manns (1.4.1)
84
+ hoe-manns (1.4.2)
85
85
  bundler-audit (~> 0.4.0)
86
86
  indexer (~> 0.3)
87
87
  parseconfig (~> 1.0)
@@ -207,7 +207,7 @@ DEPENDENCIES
207
207
  hoe-gemspec (~> 1.0)
208
208
  hoe-git (~> 1.6)
209
209
  hoe-highline (~> 0.2)
210
- hoe-manns (~> 1.4.1)
210
+ hoe-manns (~> 1.4.2)
211
211
  hoe-packaging (~> 1.1)
212
212
  hoe-reek (~> 1.0)
213
213
  hoe-rubocop (~> 0.1)
@@ -1,3 +1,9 @@
1
+ === 1.4.2 / 2015-10-19
2
+
3
+ * 1 minor enhancement
4
+
5
+ * Added git tag procedure to copy_master method
6
+
1
7
  === 1.4.1 / 2015-10-19
2
8
 
3
9
  * 1 minor enhancement
data/Rakefile CHANGED
@@ -63,7 +63,7 @@ Hoe.spec 'hoe-manns' do
63
63
  extra_dev_deps << ['hoe-gemspec', '~> 1.0']
64
64
  extra_dev_deps << ['hoe-git', '~> 1.6']
65
65
  extra_dev_deps << ['hoe-highline', '~> 0.2']
66
- extra_dev_deps << ['hoe-manns', '~> 1.4.1']
66
+ extra_dev_deps << ['hoe-manns', '~> 1.4.2']
67
67
  extra_dev_deps << ['hoe-packaging', '~> 1.1']
68
68
  extra_dev_deps << ['hoe-reek', '~> 1.0']
69
69
  extra_dev_deps << ['hoe-rubocop', '~> 0.1']
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.4.1
1
+ 1.4.2
@@ -11,7 +11,7 @@
11
11
  # Main module for hoe-manns
12
12
  module Hoe::Manns
13
13
  # Version constant for HOE::Manns
14
- VERSION = '1.4.1'
14
+ VERSION = '1.4.2'
15
15
 
16
16
  attr_accessor :remove_pre_gemspec
17
17
  attr_accessor :update_index
@@ -223,7 +223,7 @@ README.rdoc VERSION).each do |i|
223
223
  puts 'Copied wiki content'.colour(:green)
224
224
  end
225
225
 
226
- # Method for git tag
226
+ # Method for copying to master
227
227
  def self.copy_master
228
228
  puts 'Checking out master'.colour(:yellow)
229
229
  system('git checkout master')
@@ -232,6 +232,10 @@ README.rdoc VERSION).each do |i|
232
232
  puts 'Pushing master to origin'.colour(:yellow)
233
233
  system('git add recipes/recipe.rb') if File.exist?('recipes/recipe.rb')
234
234
  system('git push')
235
+ puts 'Creating git tag'.colour(:yellow)
236
+ version = Hoe::Manns.get_version
237
+ system("git tag -a v#{version} -m 'version #{version}'")
238
+ system('git push origin --tags')
235
239
  puts 'Checking out develop again'.colour(:yellow)
236
240
  system('git checkout develop')
237
241
  puts 'Done'.colour(:green)
@@ -251,6 +255,13 @@ README.rdoc VERSION).each do |i|
251
255
  return develpath
252
256
  end
253
257
 
258
+ # Method for getting version
259
+ # @return [String] version
260
+ def self.get_version
261
+ version = File.open(*Dir.glob('VERSION')) { |f| f.readline }
262
+ version.chomp.to_s
263
+ end
264
+
254
265
  # Method for cleanup the pkg
255
266
  def self.clean_pkg_method
256
267
  puts 'Cleaning pkg'.colour(:yellow)
@@ -1,6 +1,6 @@
1
1
  # Recipe class
2
2
  class HoeMannsRubyGem < FPM::Cookery::RubyGemRecipe
3
3
  name 'hoe-manns'
4
- version '1.4.1'
4
+ version '1.4.2'
5
5
  maintainer 'Sascha Manns <samannsml@directbox.com>'
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hoe-manns
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.1
4
+ version: 1.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sascha Manns
@@ -248,14 +248,14 @@ dependencies:
248
248
  requirements:
249
249
  - - "~>"
250
250
  - !ruby/object:Gem::Version
251
- version: 1.4.1
251
+ version: 1.4.2
252
252
  type: :development
253
253
  prerelease: false
254
254
  version_requirements: !ruby/object:Gem::Requirement
255
255
  requirements:
256
256
  - - "~>"
257
257
  - !ruby/object:Gem::Version
258
- version: 1.4.1
258
+ version: 1.4.2
259
259
  - !ruby/object:Gem::Dependency
260
260
  name: hoe-packaging
261
261
  requirement: !ruby/object:Gem::Requirement
metadata.gz.sig CHANGED
@@ -1,3 +1,3 @@
1
- ]���m>�0M1�$�)WE�������L6����x_9m������I��t�_6�B�BL2���&>8�܍�@a����**����D��ω*�����Q
2
- L@e����
3
- S�N\�*{��, *�W0;z`���)���������Kݫ֥ �n������5 \w�ӥ135R0�T����8E�7ma볚2D<M��k ��d�X��y��8a'��H���48 WP'Բ��Rpc�[�����R���
1
+ X���-+���� �ݩa݀0]�����v�8$�+�E��3���QE��������f��Ƭ��������֮���v�
2
+ <������!9x��u��
3
+ ϗ� I[P>���v��\^�آ�Z��Q�Yø�d/5�����[���u�'