scudco-taglob 1.1.1 → 1.1.2

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.
@@ -1,3 +1,7 @@
1
+ === 1.1.2 / 2009-01-24
2
+ * Minor Changes
3
+ * Dir.taglob will now act like a regular glob if tags passed in is nil
4
+
1
5
  === 1.1.1 / 2008-11-25
2
6
  * Minor Changes
3
7
  * Dir.taglob will now act like a regular glob if tags passed in is nil
data/Rakefile CHANGED
@@ -5,14 +5,23 @@ require 'rubygems'
5
5
  require 'hoe'
6
6
  require 'spec/rake/spectask'
7
7
 
8
- Hoe.new('Taglob', Taglob::VERSION) do |p|
9
- p.name = "taglob"
10
- p.author = "Adam Anderson"
11
- p.description = "Tagging for Ruby files"
12
- p.email = 'adamandersonis@gmail.com'
13
- p.summary = "Dir.taglob selects tagged Ruby files"
14
- p.url = "http://taglob.rubyforge.org"
15
- p.remote_rdoc_dir = '' # Release to root
8
+ begin
9
+ require 'jeweler'
10
+ Jeweler::Tasks.new do |s|
11
+ s.name = "taglob"
12
+ s.summary = "Dir.taglob selects tagged Ruby files"
13
+ s.email = "adamandersonis@gmail.com"
14
+ s.homepage = "http://scudco.github.com/taglob"
15
+ s.description = "Tagging for Ruby files"
16
+ s.authors = ["Adam Anderson"]
17
+ s.files = FileList["[A-Z]*", "{bin,generators,lib,spec}/**/*"]
18
+ s.executables = ['taglob']
19
+ s.extra_rdoc_files = ["History.txt", "Manifest.txt", "README.txt"]
20
+ s.has_rdoc = true
21
+ s.rdoc_options = ["--main", "README.txt"]
22
+ end
23
+ rescue LoadError
24
+ puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
16
25
  end
17
26
 
18
27
  desc "Run all examples"
@@ -0,0 +1,4 @@
1
+ ---
2
+ :major: 1
3
+ :minor: 1
4
+ :patch: 2
@@ -10,12 +10,12 @@ describe Taglob::Rake::CheckTagsTask do
10
10
 
11
11
  before :each do
12
12
  @file_name ="./lib/taglob/rake/check_tags_task.rb"
13
- @rake = Rake::Application.new
14
- Rake.application = @rake
13
+ @rake = ::Rake::Application.new
14
+ ::Rake.application = @rake
15
15
  end
16
16
 
17
17
  after :each do
18
- Rake.application = nil
18
+ ::Rake.application = nil
19
19
  end
20
20
 
21
21
  it "should define a rake task depending on provided name" do
@@ -74,4 +74,4 @@ describe Taglob::Rake::CheckTagsTask do
74
74
  end
75
75
  lambda {@rake.invoke_task('no_errors')}.should_not raise_error(SystemExit)
76
76
  end
77
- end
77
+ end
@@ -2,12 +2,12 @@ require 'spec/spec_helper'
2
2
  describe "Premade Rake Tasks" do
3
3
  before :all do
4
4
  @file_name ="./lib/taglob/rake/tasks.rb"
5
- @rake = Rake::Application.new
6
- Rake.application = @rake
5
+ @rake = ::Rake::Application.new
6
+ ::Rake.application = @rake
7
7
  end
8
8
 
9
9
  after :all do
10
- Rake.application = nil
10
+ ::Rake.application = nil
11
11
  end
12
12
 
13
13
  it "should create a rake task to run test unit tests marked with tags" do
@@ -6,12 +6,12 @@ describe "Test/Spec Tags Task" do
6
6
 
7
7
  before :all do
8
8
  @file_name ="./lib/taglob/rake/test_task.rb"
9
- @rake = Rake::Application.new
10
- Rake.application = @rake
9
+ @rake = ::Rake::Application.new
10
+ ::Rake.application = @rake
11
11
  end
12
12
 
13
13
  after :all do
14
- Rake.application = nil
14
+ ::Rake.application = nil
15
15
  end
16
16
 
17
17
  it "should create a rake task to run test unit tests marked with tags" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scudco-taglob
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Anderson
@@ -9,18 +9,10 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-11-25 00:00:00 -08:00
12
+ date: 2009-01-24 00:00:00 -08:00
13
13
  default_executable: taglob
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
16
- name: hoe
17
- version_requirement:
18
- version_requirements: !ruby/object:Gem::Requirement
19
- requirements:
20
- - - ">="
21
- - !ruby/object:Gem::Version
22
- version: 1.8.2
23
- version:
14
+ dependencies: []
15
+
24
16
  description: Tagging for Ruby files
25
17
  email: adamandersonis@gmail.com
26
18
  executables:
@@ -31,28 +23,32 @@ extra_rdoc_files:
31
23
  - History.txt
32
24
  - Manifest.txt
33
25
  - README.txt
34
- - spec/missing_tags.txt
35
- - spec/valid_tags.txt
36
26
  files:
37
27
  - History.txt
38
28
  - Manifest.txt
39
- - README.txt
40
29
  - Rakefile
30
+ - README.txt
31
+ - VERSION.yml
41
32
  - bin/taglob
42
- - lib/taglob.rb
43
- - lib/taglob/extensions.rb
33
+ - lib/taglob
34
+ - lib/taglob/extensions
44
35
  - lib/taglob/extensions/dir.rb
45
36
  - lib/taglob/extensions/file.rb
46
37
  - lib/taglob/extensions/string.rb
47
- - lib/taglob/rake.rb
38
+ - lib/taglob/extensions.rb
39
+ - lib/taglob/rake
48
40
  - lib/taglob/rake/check_tags_task.rb
49
41
  - lib/taglob/rake/tasks.rb
50
42
  - lib/taglob/rake/test_tags_task.rb
43
+ - lib/taglob/rake.rb
44
+ - lib/taglob/spec
51
45
  - lib/taglob/spec/tag_html_formatter.rb
46
+ - lib/taglob.rb
52
47
  - spec/check_tags_task_spec.rb
53
48
  - spec/dir_tagor_spec.rb
54
49
  - spec/missing_tags.txt
55
50
  - spec/spec_helper.rb
51
+ - spec/tagged_files
56
52
  - spec/tagged_files/epic_lulz.rb
57
53
  - spec/tagged_files/foo.rb
58
54
  - spec/tagged_files/foo_bar_buttz.rb
@@ -61,11 +57,13 @@ files:
61
57
  - spec/test_tags_task_spec.rb
62
58
  - spec/valid_tags.txt
63
59
  has_rdoc: true
64
- homepage: http://taglob.rubyforge.org
60
+ homepage: http://scudco.github.com/taglob
65
61
  post_install_message:
66
62
  rdoc_options:
67
63
  - --main
68
64
  - README.txt
65
+ - --inline-source
66
+ - --charset=UTF-8
69
67
  require_paths:
70
68
  - lib
71
69
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -82,7 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
82
80
  version:
83
81
  requirements: []
84
82
 
85
- rubyforge_project: taglob
83
+ rubyforge_project:
86
84
  rubygems_version: 1.2.0
87
85
  signing_key:
88
86
  specification_version: 2