acts_as_flux_capacitor 0.5.0 → 0.5.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.
- data/config/hoe.rb +5 -3
- data/lib/acts_as_flux_capacitor/acts_as_flux_capacitor.rb +1 -1
- data/lib/acts_as_flux_capacitor/temporal.rb +1 -1
- data/lib/acts_as_flux_capacitor/version.rb +14 -8
- data/lib/acts_as_flux_capacitor.rb +4 -1
- data/script/txt2html +1 -1
- data/spec/report/report.html +1 -1
- data/spec/spec_helper.rb +1 -1
- data/website/index.html +1 -1
- metadata +2 -2
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 =
|
|
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
|
-
|
|
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 ""
|
|
@@ -1,9 +1,15 @@
|
|
|
1
|
-
module
|
|
2
|
-
module
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
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
|
-
|
|
8
|
-
|
|
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 =
|
|
20
|
+
version = HolmesLabs::Acts::FluxCapacitor::VERSION::STRING
|
|
21
21
|
download = "http://rubyforge.org/projects/#{RUBYFORGE_PROJECT}"
|
|
22
22
|
|
|
23
23
|
def rubyforge_project_id
|
data/spec/report/report.html
CHANGED
|
@@ -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.
|
|
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.
|
|
36
|
+
<a href="http://rubyforge.org/projects/acts_as_flux_capacitor" class="numbers">0.5.2</a>
|
|
37
37
|
</div>
|
|
38
38
|
<h1>→ ‘acts_as_flux_capacitor’</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.
|
|
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-
|
|
12
|
+
date: 2008-05-21 00:00:00 -04:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies: []
|
|
15
15
|
|