acts_as_flux_capacitor 0.5.0 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
data/config/hoe.rb CHANGED
@@ -34,7 +34,7 @@ end
34
34
  REV = nil
35
35
  # UNCOMMENT IF REQUIRED:
36
36
  # REV = YAML.load(`svn info`)['Revision']
37
- VERS = ActsAsFluxCapacitor::VERSION::STRING + (REV ? ".#{REV}" : "")
37
+ VERS = HolmesLabs::Acts::FluxCapacitor::VERSION::STRING + (REV ? ".#{REV}" : "")
38
38
  RDOC_OPTS = ['--quiet', '--title', 'acts_as_flux_capacitor documentation',
39
39
  "--opname", "index.html",
40
40
  "--line-numbers",
@@ -67,7 +67,9 @@ $hoe = Hoe.new(GEM_NAME, VERS) do |p|
67
67
  end
68
68
 
69
69
  CHANGES = $hoe.paragraphs_of('History.txt', 0..1).join("\\n\\n")
70
- PATH = (RUBYFORGE_PROJECT == GEM_NAME) ? RUBYFORGE_PROJECT : "#{RUBYFORGE_PROJECT}/#{GEM_NAME}"
71
- $hoe.remote_rdoc_dir = File.join(PATH.gsub(/^#{RUBYFORGE_PROJECT}\/?/,''), 'rdoc')
70
+ # PATH = (RUBYFORGE_PROJECT == GEM_NAME) ? RUBYFORGE_PROJECT : "#{RUBYFORGE_PROJECT}/#{GEM_NAME}"
71
+ PATH = GEM_NAME
72
+ # $hoe.remote_rdoc_dir = File.join(PATH.gsub(/^#{RUBYFORGE_PROJECT}\/?/,''), 'rdoc')
73
+ $hoe.remote_rdoc_dir = ''
72
74
  $hoe.rsync_args = '-av --delete --ignore-errors'
73
75
  $hoe.spec.post_install_message = File.open(File.dirname(__FILE__) + "/../PostInstall.txt").read rescue ""
@@ -5,7 +5,7 @@ module HolmesLabs #:nodoc:
5
5
  def self.included(base) # :nodoc:
6
6
  base.extend ClassMethods
7
7
  end
8
-
8
+
9
9
  module ClassMethods
10
10
  def acts_as_flux_capacitor
11
11
  unless acts_as_flux_capacitor?
@@ -1,4 +1,4 @@
1
- require 'activesupport'
1
+ # require 'activesupport'
2
2
 
3
3
  module Temporal
4
4
 
@@ -1,9 +1,15 @@
1
- module ActsAsFluxCapacitor #:nodoc:
2
- module VERSION #:nodoc:
3
- MAJOR = 0
4
- MINOR = 5
5
- TINY = 0
1
+ module HolmesLabs #:nodoc:
2
+ module Acts #:nodoc:
3
+ module FluxCapacitor
4
+ module VERSION #:nodoc:
5
+
6
+ MAJOR = 0
7
+ MINOR = 5
8
+ TINY = 2
6
9
 
7
- STRING = [MAJOR, MINOR, TINY].join('.')
8
- end
9
- end
10
+ STRING = [MAJOR, MINOR, TINY].join('.')
11
+
12
+ end # VERSION
13
+ end # FluxCapacitor
14
+ end # Acts
15
+ end # HolmesLabs
@@ -1,6 +1,9 @@
1
- SUBDIRECTORY = 'acts_as_flux_capacitor'
1
+ SUBDIRECTORY = *['lib','acts_as_flux_capacitor']
2
2
 
3
+ require 'rubygems'
4
+ require 'activerecord'
3
5
  require 'date'
6
+
4
7
  require File.join(SUBDIRECTORY, 'version')
5
8
  require File.join(SUBDIRECTORY, 'temporal')
6
9
  require File.join(SUBDIRECTORY, 'range_overlap')
data/script/txt2html CHANGED
@@ -17,7 +17,7 @@ require 'syntax/convertors/html'
17
17
  require 'erb'
18
18
  require File.dirname(__FILE__) + "/../lib/#{GEM_NAME}/version.rb"
19
19
 
20
- version = ActsAsFluxCapacitor::VERSION::STRING
20
+ version = HolmesLabs::Acts::FluxCapacitor::VERSION::STRING
21
21
  download = "http://rubyforge.org/projects/#{RUBYFORGE_PROJECT}"
22
22
 
23
23
  def rubyforge_project_id
@@ -266,7 +266,7 @@ a {
266
266
  <dd class="spec passed"><span class="passed_spec_name">should shift a time_period into the past or future</span></dd>
267
267
  </dl>
268
268
  </div>
269
- <script type="text/javascript">document.getElementById('duration').innerHTML = "Finished in <strong>0.292237 seconds</strong>";</script>
269
+ <script type="text/javascript">document.getElementById('duration').innerHTML = "Finished in <strong>0.289703 seconds</strong>";</script>
270
270
  <script type="text/javascript">document.getElementById('totals').innerHTML = "30 examples, 0 failures";</script>
271
271
  </div>
272
272
  </div>
data/spec/spec_helper.rb CHANGED
@@ -13,7 +13,7 @@ require 'activesupport'
13
13
  require 'spec/fixtures.rb'
14
14
 
15
15
  config = YAML::load(IO.read(File.dirname(__FILE__) + '/database.yml'))
16
- ActiveRecord::Base.logger = Logger.new(File.dirname(__FILE__) + "/debug.log")
16
+ ActiveRecord::Base.logger = Logger.new(File.dirname(__FILE__) + "/../log/debug.log")
17
17
 
18
18
  #select DB here:
19
19
  ActiveRecord::Base.establish_connection(config['mysql'])
data/website/index.html CHANGED
@@ -33,7 +33,7 @@
33
33
  <h1>acts_as_flux_capacitor</h1>
34
34
  <div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/acts_as_flux_capacitor"; return false'>
35
35
  <p>Get Version</p>
36
- <a href="http://rubyforge.org/projects/acts_as_flux_capacitor" class="numbers">0.5.0</a>
36
+ <a href="http://rubyforge.org/projects/acts_as_flux_capacitor" class="numbers">0.5.2</a>
37
37
  </div>
38
38
  <h1>&#x2192; &#8216;acts_as_flux_capacitor&#8217;</h1>
39
39
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acts_as_flux_capacitor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jim Cropcho
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-05-19 00:00:00 -04:00
12
+ date: 2008-05-21 00:00:00 -04:00
13
13
  default_executable:
14
14
  dependencies: []
15
15