acts_as_flux_capacitor 0.5.2 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +5 -0
- data/License.txt +10 -8
- data/Manifest.txt +1 -2
- data/README.txt +13 -13
- data/config/hoe.rb +1 -1
- data/config/requirements.rb +1 -1
- data/lib/acts_as_flux_capacitor/version.rb +1 -1
- data/spec/{report/report.html → report.html} +1 -1
- data/spec/spec.opts +1 -1
- data/tasks/deployment.rake +3 -2
- data/tasks/environment.rake +2 -2
- metadata +3 -12
- data/PostInstall.txt +0 -7
data/History.txt
CHANGED
data/License.txt
CHANGED
@@ -1,8 +1,10 @@
|
|
1
|
-
|
1
|
+
(The MIT License)
|
2
|
+
|
3
|
+
Copyright (c) 2008 Jim Cropcho
|
2
4
|
|
3
5
|
Permission is hereby granted, free of charge, to any person obtaining
|
4
6
|
a copy of this software and associated documentation files (the
|
5
|
-
|
7
|
+
'Software'), to deal in the Software without restriction, including
|
6
8
|
without limitation the rights to use, copy, modify, merge, publish,
|
7
9
|
distribute, sublicense, and/or sell copies of the Software, and to
|
8
10
|
permit persons to whom the Software is furnished to do so, subject to
|
@@ -11,10 +13,10 @@ the following conditions:
|
|
11
13
|
The above copyright notice and this permission notice shall be
|
12
14
|
included in all copies or substantial portions of the Software.
|
13
15
|
|
14
|
-
THE SOFTWARE IS PROVIDED
|
16
|
+
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
|
15
17
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
19
|
+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
20
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
21
|
+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
22
|
+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/Manifest.txt
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
History.txt
|
2
2
|
License.txt
|
3
3
|
Manifest.txt
|
4
|
-
PostInstall.txt
|
5
4
|
README.txt
|
6
5
|
Rakefile
|
7
6
|
config/hoe.rb
|
@@ -20,7 +19,7 @@ setup.rb
|
|
20
19
|
spec/acts_as_flux_capacitor_spec.rb
|
21
20
|
spec/database.yml
|
22
21
|
spec/fixtures.rb
|
23
|
-
spec/report
|
22
|
+
spec/report.html
|
24
23
|
spec/schema.rb
|
25
24
|
spec/spec.opts
|
26
25
|
spec/spec_helper.rb
|
data/README.txt
CHANGED
@@ -1,32 +1,32 @@
|
|
1
1
|
= acts_as_flux_capacitor
|
2
2
|
|
3
|
-
*
|
3
|
+
* http://rubyforge.org/projects/aafc/
|
4
|
+
* http://aafc.rubyforge.org/
|
4
5
|
|
5
6
|
== DESCRIPTION:
|
6
7
|
|
7
|
-
|
8
|
+
* Acts as Flux Capacitor is a better way to work with time-centric ActiveRecord models. Make it feel good to manipulate objects representing real-world events and/or objects with a finite period of database persistence!
|
8
9
|
|
9
|
-
==
|
10
|
-
|
11
|
-
* FIX (list of features or problems)
|
12
|
-
|
13
|
-
== SYNOPSIS:
|
10
|
+
== REQUIREMENTS:
|
14
11
|
|
15
|
-
|
12
|
+
* ActiveRecord
|
16
13
|
|
17
|
-
==
|
14
|
+
== COMPLEMENTARY GEMS:
|
18
15
|
|
19
|
-
*
|
16
|
+
* TExp
|
17
|
+
* ActiveSupport's Time extensions
|
18
|
+
* Chronic, the natural language time parser
|
20
19
|
|
21
20
|
== INSTALL:
|
22
21
|
|
23
|
-
*
|
22
|
+
* sudo gem install acts_as_flux_capacitor
|
23
|
+
* then add "acts_as_flux_capacitor" to any ActiveRecord models you'd like.
|
24
24
|
|
25
25
|
== LICENSE:
|
26
26
|
|
27
27
|
(The MIT License)
|
28
28
|
|
29
|
-
Copyright (c) 2008
|
29
|
+
Copyright (c) 2008 Jim Cropcho
|
30
30
|
|
31
31
|
Permission is hereby granted, free of charge, to any person obtaining
|
32
32
|
a copy of this software and associated documentation files (the
|
@@ -45,4 +45,4 @@ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
45
45
|
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
46
46
|
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
47
47
|
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
48
|
-
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
48
|
+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/config/hoe.rb
CHANGED
@@ -72,4 +72,4 @@ PATH = GEM_NAME
|
|
72
72
|
# $hoe.remote_rdoc_dir = File.join(PATH.gsub(/^#{RUBYFORGE_PROJECT}\/?/,''), 'rdoc')
|
73
73
|
$hoe.remote_rdoc_dir = ''
|
74
74
|
$hoe.rsync_args = '-av --delete --ignore-errors'
|
75
|
-
$hoe.spec.post_install_message = File.open(File.dirname(__FILE__) + "/../PostInstall.txt").read rescue ""
|
75
|
+
# $hoe.spec.post_install_message = File.open(File.dirname(__FILE__) + "/../PostInstall.txt").read rescue ""
|
data/config/requirements.rb
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.280847 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.opts
CHANGED
data/tasks/deployment.rake
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
desc 'Release the website and new gem version'
|
2
|
-
task :deploy => [:check_version, :
|
2
|
+
task :deploy => [:check_version, :publish_docs, :release] do
|
3
3
|
puts "Remember to create SVN tag:"
|
4
4
|
puts "svn copy svn+ssh://#{rubyforge_username}@rubyforge.org/var/svn/#{PATH}/trunk " +
|
5
5
|
"svn+ssh://#{rubyforge_username}@rubyforge.org/var/svn/#{PATH}/tags/REL-#{VERS} "
|
@@ -11,6 +11,7 @@ desc 'Runs tasks website_generate and install_gem as a local deployment of the g
|
|
11
11
|
task :local_deploy => [:website_generate, :install_gem]
|
12
12
|
|
13
13
|
task :check_version do
|
14
|
+
|
14
15
|
unless ENV['VERSION']
|
15
16
|
puts 'Must pass a VERSION=x.y.z release version'
|
16
17
|
exit
|
@@ -31,4 +32,4 @@ namespace :manifest do
|
|
31
32
|
task :refresh do
|
32
33
|
`rake check_manifest | patch -p0 > Manifest.txt`
|
33
34
|
end
|
34
|
-
end
|
35
|
+
end
|
data/tasks/environment.rake
CHANGED
@@ -13,8 +13,8 @@ desc "initialize test database"
|
|
13
13
|
task :initialize do
|
14
14
|
puts File.dirname(__FILE__) + '/'
|
15
15
|
config = YAML::load(File.open('./spec/database.yml'))
|
16
|
-
ActiveRecord::Base.logger = Logger.new(File.dirname(__FILE__) + "/../
|
16
|
+
ActiveRecord::Base.logger = Logger.new(File.dirname(__FILE__) + "/../log/debug.log")
|
17
17
|
ActiveRecord::Base.establish_connection(config['mysql'])
|
18
|
-
load(File.dirname(__FILE__) + "
|
18
|
+
load(File.dirname(__FILE__) + "/../spec/schema.rb")
|
19
19
|
end
|
20
20
|
|
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.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jim Cropcho
|
@@ -24,14 +24,12 @@ extra_rdoc_files:
|
|
24
24
|
- History.txt
|
25
25
|
- License.txt
|
26
26
|
- Manifest.txt
|
27
|
-
- PostInstall.txt
|
28
27
|
- README.txt
|
29
28
|
- website/index.txt
|
30
29
|
files:
|
31
30
|
- History.txt
|
32
31
|
- License.txt
|
33
32
|
- Manifest.txt
|
34
|
-
- PostInstall.txt
|
35
33
|
- README.txt
|
36
34
|
- Rakefile
|
37
35
|
- config/hoe.rb
|
@@ -50,7 +48,7 @@ files:
|
|
50
48
|
- spec/acts_as_flux_capacitor_spec.rb
|
51
49
|
- spec/database.yml
|
52
50
|
- spec/fixtures.rb
|
53
|
-
- spec/report
|
51
|
+
- spec/report.html
|
54
52
|
- spec/schema.rb
|
55
53
|
- spec/spec.opts
|
56
54
|
- spec/spec_helper.rb
|
@@ -65,14 +63,7 @@ files:
|
|
65
63
|
- website/template.html.erb
|
66
64
|
has_rdoc: true
|
67
65
|
homepage: http://aafc.rubyforge.org
|
68
|
-
post_install_message:
|
69
|
-
|
70
|
-
For more information on acts_as_flux_capacitor, see http://acts_as_flux_capacitor.rubyforge.org
|
71
|
-
|
72
|
-
NOTE: Change this information in PostInstall.txt
|
73
|
-
You can also delete it if you don't want it.
|
74
|
-
|
75
|
-
|
66
|
+
post_install_message:
|
76
67
|
rdoc_options:
|
77
68
|
- --main
|
78
69
|
- README.txt
|