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 CHANGED
@@ -1,3 +1,8 @@
1
+ == 0.5.2 2008-05-21
2
+
3
+ * Fixed rakefiles b/c of odd VERSION module naming
4
+ * Tidied up, generally
5
+
1
6
  == 0.5 2008-05-18
2
7
 
3
8
  * 1 major enhancement:
data/License.txt CHANGED
@@ -1,8 +1,10 @@
1
- Copyright (c) 2008 Jim
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
- "Software"), to deal in the Software without restriction, including
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 "AS IS", WITHOUT WARRANTY OF ANY KIND,
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
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
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/report.html
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
- * FIX (url)
3
+ * http://rubyforge.org/projects/aafc/
4
+ * http://aafc.rubyforge.org/
4
5
 
5
6
  == DESCRIPTION:
6
7
 
7
- FIX (describe your package)
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
- == FEATURES/PROBLEMS:
10
-
11
- * FIX (list of features or problems)
12
-
13
- == SYNOPSIS:
10
+ == REQUIREMENTS:
14
11
 
15
- FIX (code sample of usage)
12
+ * ActiveRecord
16
13
 
17
- == REQUIREMENTS:
14
+ == COMPLEMENTARY GEMS:
18
15
 
19
- * FIX (list of requirements)
16
+ * TExp
17
+ * ActiveSupport's Time extensions
18
+ * Chronic, the natural language time parser
20
19
 
21
20
  == INSTALL:
22
21
 
23
- * FIX (sudo gem install, anything else)
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 FIX
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 ""
@@ -2,7 +2,7 @@ require 'fileutils'
2
2
  include FileUtils
3
3
 
4
4
  require 'rubygems'
5
- %w[rake hoe newgem rubigen].each do |req_gem|
5
+ %w[rake hoe newgem rubigen activerecord].each do |req_gem|
6
6
  begin
7
7
  require req_gem
8
8
  rescue LoadError
@@ -5,7 +5,7 @@ module HolmesLabs #:nodoc:
5
5
 
6
6
  MAJOR = 0
7
7
  MINOR = 5
8
- TINY = 2
8
+ TINY = 3
9
9
 
10
10
  STRING = [MAJOR, MINOR, TINY].join('.')
11
11
 
@@ -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.289703 seconds</strong>";</script>
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
@@ -1,5 +1,5 @@
1
1
  --format
2
- html:spec/report/report.html
2
+ html:spec/report.html
3
3
  --colour
4
4
  --format
5
5
  progress
@@ -1,5 +1,5 @@
1
1
  desc 'Release the website and new gem version'
2
- task :deploy => [:check_version, :website, :release] do
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
@@ -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__) + "/../spec/debug.log")
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__) + "../spec/schema.rb")
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.2
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/report.html
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
data/PostInstall.txt DELETED
@@ -1,7 +0,0 @@
1
-
2
- For more information on acts_as_flux_capacitor, see http://acts_as_flux_capacitor.rubyforge.org
3
-
4
- NOTE: Change this information in PostInstall.txt
5
- You can also delete it if you don't want it.
6
-
7
-