mactag 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -48,8 +48,9 @@ Load the gem in **Gemfile**:
48
48
 
49
49
 
50
50
  ## When installing as Gem
51
- When you install Mactag as a gem you must also include it's rake tasks
52
- in your **Rakefile**.
51
+ If your using Mactag as a gem in a Rails 2 project, you must also
52
+ include it's rake tasks in your **Rakefile**. In Rails 3, this is done
53
+ automatically.
53
54
  require 'mactag/tasks'
54
55
 
55
56
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.0
1
+ 0.3.1
@@ -1,3 +1,6 @@
1
+ require 'rails'
2
+
3
+ require 'mactag/railtie'
1
4
  require 'mactag/config'
2
5
  require 'mactag/builder'
3
6
  require 'mactag/parser'
@@ -0,0 +1,7 @@
1
+ module Mactag
2
+ class Railtie < Rails::Railtie
3
+ rake_tasks do
4
+ load "tasks/mactag.rake"
5
+ end
6
+ end
7
+ end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 3
8
- - 0
9
- version: 0.3.0
8
+ - 1
9
+ version: 0.3.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Johan Andersson
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-08-02 00:00:00 +02:00
17
+ date: 2010-08-03 00:00:00 +02:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -65,6 +65,7 @@ files:
65
65
  - lib/mactag/config.rb
66
66
  - lib/mactag/ctags.rb
67
67
  - lib/mactag/parser.rb
68
+ - lib/mactag/railtie.rb
68
69
  - lib/mactag/tag.rb
69
70
  - lib/mactag/tag/app.rb
70
71
  - lib/mactag/tag/gem.rb