pivotal_doc 1.2.0 → 1.3.0

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.0
1
+ 1.3.0
data/lib/pivotal_doc.rb CHANGED
@@ -5,10 +5,11 @@ require 'haml'
5
5
  PT= PivotalTracker unless defined?(PT)
6
6
  PROJECT_ROOT= File.join(File.dirname(__FILE__), '/../') unless defined?(PROJECT_ROOT)
7
7
 
8
- Dir[File.expand_path(File.join(File.dirname(__FILE__),'../ext','**','*.rb'))].each {|f| require f}
9
- Dir[File.expand_path(File.join(File.dirname(__FILE__),'pivotal_doc/','**','*.rb'))].each {|f| require f}
8
+ #Load generators explicitly
9
+ path= File.dirname(__FILE__) + '/pivotal_doc/generators/'
10
+ require File.join(path, 'base.rb')
11
+ require File.join(path,'html.rb')
12
+ require File.join(path,'text.rb')
10
13
 
11
- if ENV['mode'] == 'test'
12
- require 'spec'
13
- require 'spec/autorun'
14
- end
14
+ Dir[File.expand_path(File.join(File.dirname(__FILE__),'../ext','**','*.rb'))].each {|f| require f}
15
+ Dir[File.expand_path(File.join(File.dirname(__FILE__),'pivotal_doc/', '*.rb'))].each {|f| require f}
data/pivotal_doc.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{pivotal_doc}
8
- s.version = "1.2.0"
8
+ s.version = "1.3.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Tim Linquist"]
data/spec/spec_helper.rb CHANGED
@@ -1,5 +1,3 @@
1
- ENV['mode']= 'test'
2
-
3
1
  require File.join(File.dirname(__FILE__), '../lib/pivotal_doc.rb')
4
2
  Dir[File.expand_path(File.join(File.dirname(__FILE__),'support','**','*.rb'))].each {|f| require f}
5
3
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pivotal_doc
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 27
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
- - 2
8
+ - 3
9
9
  - 0
10
- version: 1.2.0
10
+ version: 1.3.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Tim Linquist