taglob 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,7 @@
1
+ === 1.1.2 / 2009-01-24
2
+ * Minor Changes
3
+ * Changed from Hoe to Jeweler
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: 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,19 +9,10 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-11-25 00:00:00 -08:00
13
- default_executable:
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
16
- name: hoe
17
- type: :development
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
20
- requirements:
21
- - - ">="
22
- - !ruby/object:Gem::Version
23
- version: 1.8.2
24
- version:
12
+ date: 2009-01-24 00:00:00 -08:00
13
+ default_executable: taglob
14
+ dependencies: []
15
+
25
16
  description: Tagging for Ruby files
26
17
  email: adamandersonis@gmail.com
27
18
  executables:
@@ -32,28 +23,32 @@ extra_rdoc_files:
32
23
  - History.txt
33
24
  - Manifest.txt
34
25
  - README.txt
35
- - spec/missing_tags.txt
36
- - spec/valid_tags.txt
37
26
  files:
38
27
  - History.txt
39
28
  - Manifest.txt
40
- - README.txt
41
29
  - Rakefile
30
+ - README.txt
31
+ - VERSION.yml
42
32
  - bin/taglob
43
- - lib/taglob.rb
44
- - lib/taglob/extensions.rb
33
+ - lib/taglob
34
+ - lib/taglob/extensions
45
35
  - lib/taglob/extensions/dir.rb
46
36
  - lib/taglob/extensions/file.rb
47
37
  - lib/taglob/extensions/string.rb
48
- - lib/taglob/rake.rb
38
+ - lib/taglob/extensions.rb
39
+ - lib/taglob/rake
49
40
  - lib/taglob/rake/check_tags_task.rb
50
41
  - lib/taglob/rake/tasks.rb
51
42
  - lib/taglob/rake/test_tags_task.rb
43
+ - lib/taglob/rake.rb
44
+ - lib/taglob/spec
52
45
  - lib/taglob/spec/tag_html_formatter.rb
46
+ - lib/taglob.rb
53
47
  - spec/check_tags_task_spec.rb
54
48
  - spec/dir_tagor_spec.rb
55
49
  - spec/missing_tags.txt
56
50
  - spec/spec_helper.rb
51
+ - spec/tagged_files
57
52
  - spec/tagged_files/epic_lulz.rb
58
53
  - spec/tagged_files/foo.rb
59
54
  - spec/tagged_files/foo_bar_buttz.rb
@@ -62,11 +57,13 @@ files:
62
57
  - spec/test_tags_task_spec.rb
63
58
  - spec/valid_tags.txt
64
59
  has_rdoc: true
65
- homepage: http://taglob.rubyforge.org
60
+ homepage: http://scudco.github.com/taglob
66
61
  post_install_message:
67
62
  rdoc_options:
68
63
  - --main
69
64
  - README.txt
65
+ - --inline-source
66
+ - --charset=UTF-8
70
67
  require_paths:
71
68
  - lib
72
69
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -83,8 +80,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
83
80
  version:
84
81
  requirements: []
85
82
 
86
- rubyforge_project: taglob
87
- rubygems_version: 1.3.0
83
+ rubyforge_project:
84
+ rubygems_version: 1.3.1
88
85
  signing_key:
89
86
  specification_version: 2
90
87
  summary: Dir.taglob selects tagged Ruby files