hoe-seattlerb 1.2.5 → 1.2.6

Sign up to get free protection for your applications and to get access to all the features.
data.tar.gz.sig CHANGED
Binary file
data/History.txt CHANGED
@@ -1,3 +1,10 @@
1
+ === 1.2.6 / 2011-08-16
2
+
3
+ * 2 minor enhancement:
4
+
5
+ * Added perforce_ignore accessor and "exclude" key in config to avoid isolate files during manifest check.
6
+ * Moved hoe/minitest to the minitest project.
7
+
1
8
  === 1.2.5 / 2011-02-18
2
9
 
3
10
  * 3 minor enhancements:
data/Manifest.txt CHANGED
@@ -4,6 +4,5 @@ Manifest.txt
4
4
  README.txt
5
5
  Rakefile
6
6
  lib/hoe/email.rb
7
- lib/hoe/minitest.rb
8
7
  lib/hoe/perforce.rb
9
8
  lib/hoe/seattlerb.rb
data/README.txt CHANGED
@@ -1,6 +1,7 @@
1
- = hoe_seattlerb
1
+ = hoe-seattlerb
2
2
 
3
- * http://seattlerb.rubyforge.org/hoe-seattlerb
3
+ home :: https://github.com/seattlerb/hoe-seattlerb
4
+ rdoc :: http://seattlerb.rubyforge.org/hoe-seattlerb
4
5
 
5
6
  == DESCRIPTION:
6
7
 
@@ -75,7 +76,7 @@ relative to that location.
75
76
 
76
77
  (The MIT License)
77
78
 
78
- Copyright (c) 2009 Ryan Davis, seattle.rb
79
+ Copyright (c) Ryan Davis, seattle.rb
79
80
 
80
81
  Permission is hereby granted, free of charge, to any person obtaining
81
82
  a copy of this software and associated documentation files (the
data/lib/hoe/perforce.rb CHANGED
@@ -26,6 +26,12 @@ require 'find'
26
26
  # structure can accommodate either but the code below is implicit.
27
27
 
28
28
  module Hoe::Perforce
29
+ attr_accessor :perforce_ignore
30
+
31
+ def initialize_perforce
32
+ self.perforce_ignore = []
33
+ end
34
+
29
35
  def define_perforce_tasks
30
36
  warn :define_perforce_tasks if $DEBUG
31
37
 
@@ -71,16 +77,24 @@ module Hoe::Perforce
71
77
  manifest_file = "#{manifest_dir}/Manifest.txt"
72
78
  raise "#{manifest_file} does not exist" unless test ?f, manifest_file
73
79
  manifest = File.new(manifest_file).readlines.map { |x| x.strip }
80
+ manifest -= perforce_ignore
81
+
82
+ exclusions = with_config do |config, _|
83
+ config["exclude"]
84
+ end
74
85
 
75
86
  local_manifest = []
76
87
 
77
88
  Dir.chdir manifest_dir do
78
89
  system 'rake clean'
79
90
  Find.find '.' do |f|
91
+ next if f =~ exclusions
80
92
  local_manifest << f.sub(/^\.\//, '') if File.file? f
81
93
  end
82
94
  end
83
95
 
96
+ local_manifest -= perforce_ignore
97
+
84
98
  extra_files = local_manifest - manifest
85
99
  missing_files = manifest - local_manifest
86
100
 
data/lib/hoe/seattlerb.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  Hoe.plugin :minitest, :perforce, :email
2
2
 
3
3
  module Hoe::Seattlerb
4
- VERSION = "1.2.5"
4
+ VERSION = "1.2.6"
5
5
 
6
6
  def define_seattlerb_tasks
7
7
  if Hoe.plugins.include? :publish then
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hoe-seattlerb
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 2
9
- - 5
10
- version: 1.2.5
9
+ - 6
10
+ version: 1.2.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ryan Davis
@@ -36,8 +36,7 @@ cert_chain:
36
36
  FBHgymkyj/AOSqKRIpXPhjC6
37
37
  -----END CERTIFICATE-----
38
38
 
39
- date: 2011-02-18 00:00:00 -08:00
40
- default_executable:
39
+ date: 2011-08-16 00:00:00 Z
41
40
  dependencies:
42
41
  - !ruby/object:Gem::Dependency
43
42
  name: minitest
@@ -45,14 +44,13 @@ dependencies:
45
44
  requirement: &id001 !ruby/object:Gem::Requirement
46
45
  none: false
47
46
  requirements:
48
- - - ">="
47
+ - - ~>
49
48
  - !ruby/object:Gem::Version
50
49
  hash: 11
51
50
  segments:
52
51
  - 2
53
- - 0
54
- - 2
55
- version: 2.0.2
52
+ - 4
53
+ version: "2.4"
56
54
  type: :development
57
55
  version_requirements: *id001
58
56
  - !ruby/object:Gem::Dependency
@@ -61,14 +59,13 @@ dependencies:
61
59
  requirement: &id002 !ruby/object:Gem::Requirement
62
60
  none: false
63
61
  requirements:
64
- - - ">="
62
+ - - ~>
65
63
  - !ruby/object:Gem::Version
66
- hash: 41
64
+ hash: 27
67
65
  segments:
68
66
  - 2
69
- - 9
70
- - 1
71
- version: 2.9.1
67
+ - 12
68
+ version: "2.12"
72
69
  type: :development
73
70
  version_requirements: *id002
74
71
  description: |-
@@ -92,11 +89,9 @@ files:
92
89
  - README.txt
93
90
  - Rakefile
94
91
  - lib/hoe/email.rb
95
- - lib/hoe/minitest.rb
96
92
  - lib/hoe/perforce.rb
97
93
  - lib/hoe/seattlerb.rb
98
- has_rdoc: true
99
- homepage: http://seattlerb.rubyforge.org/hoe-seattlerb
94
+ homepage: https://github.com/seattlerb/hoe-seattlerb
100
95
  licenses: []
101
96
 
102
97
  post_install_message:
@@ -126,7 +121,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
126
121
  requirements: []
127
122
 
128
123
  rubyforge_project: seattlerb
129
- rubygems_version: 1.4.2
124
+ rubygems_version: 1.8.8
130
125
  signing_key:
131
126
  specification_version: 3
132
127
  summary: Hoe plugins providing tasks used by seattle.rb including minitest, perforce, and email providing full front-to-back release/annouce automation.
metadata.gz.sig CHANGED
Binary file
data/lib/hoe/minitest.rb DELETED
@@ -1,15 +0,0 @@
1
- module Hoe::Minitest
2
- def initialize_minitest
3
- require 'minitest/unit'
4
- version = MiniTest::Unit::VERSION
5
-
6
- extra_dev_deps << ['minitest', ">= #{version}"]
7
- end
8
-
9
- def define_minitest_tasks
10
- self.testlib = :minitest
11
-
12
- # make sure we use the gemmed minitest on 1.9
13
- self.test_prelude = 'gem "minitest"'
14
- end
15
- end