passiverecord 0.0.1 → 0.0.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.
@@ -0,0 +1,3 @@
1
+ v0.0.2. Switching to Echoe for gem packaging and removing the end-user dependency for Hoe
2
+
3
+ v0.0.1. Initial release
@@ -1,12 +1,10 @@
1
- History.txt
2
- Manifest.txt
3
- README.txt
4
- Rakefile
1
+ CHANGELOG
2
+ Manifest
3
+ README
5
4
  lib/passive_record.rb
6
5
  lib/passive_record/associations.rb
7
6
  lib/passive_record/base.rb
8
7
  lib/passive_record/schema.rb
9
- lib/passive_record/version.rb
10
8
  test/test_associations.rb
11
9
  test/test_base.rb
12
10
  test/test_helper.rb
File without changes
@@ -0,0 +1,50 @@
1
+
2
+ # Gem::Specification for Passiverecord-0.0.2
3
+ # Originally generated by Echoe
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = %q{passiverecord}
7
+ s.version = "0.0.2"
8
+ s.date = %q{2007-09-28}
9
+ s.summary = %q{Pacifying overactive records}
10
+ s.email = %q{jasper@ambethia.com}
11
+ s.homepage = %q{http://code.itred.org/projects/passive-record}
12
+ s.rubyforge_project = %q{paintitred}
13
+ s.description = %q{Pacifying overactive records}
14
+ s.has_rdoc = true
15
+ s.authors = ["Jason L Perry"]
16
+ s.files = ["CHANGELOG", "Manifest", "README", "lib/passive_record.rb", "lib/passive_record/associations.rb", "lib/passive_record/base.rb", "lib/passive_record/schema.rb", "test/test_associations.rb", "test/test_base.rb", "test/test_helper.rb", "passiverecord.gemspec"]
17
+ s.test_files = ["test/test_associations.rb", "test/test_base.rb", "test/test_helper.rb"]
18
+ s.add_dependency(%q<activerecord>, [">= 0", "= 1.15.3"])
19
+ end
20
+
21
+
22
+ # # Original Rakefile source (requires the Echoe gem):
23
+ #
24
+ # require 'rubygems'
25
+ # require 'rake'
26
+ # begin
27
+ # require 'echoe'
28
+ #
29
+ # Echoe.new("passiverecord") do |p|
30
+ # p.rubyforge_name = 'paintitred'
31
+ # p.author = 'Jason L Perry'
32
+ # p.email = 'jasper@ambethia.com'
33
+ # p.summary = 'Pacifying overactive records'
34
+ # p.url = "http://code.itred.org/projects/passive-record"
35
+ # p.dependencies = ["activerecord >= 1.15.3"]
36
+ # end
37
+ #
38
+ # rescue LoadError => boom
39
+ # desc "Run the test suite."
40
+ # task :test do
41
+ # system "ruby -Ilib:ext:bin:test -e 'require \"test/test_associations.rb\"; require \"test/test_base.rb\"'"
42
+ # end
43
+ #
44
+ # task(:default) do
45
+ # puts "You are missing a dependency required for meta-operations on this gem."
46
+ # puts "#{boom.to_s.capitalize}."
47
+ #
48
+ # Rake::Task["test"].invoke
49
+ # end
50
+ # end
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.4
3
3
  specification_version: 1
4
4
  name: passiverecord
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.0.1
7
- date: 2007-09-26 00:00:00 -04:00
6
+ version: 0.0.2
7
+ date: 2007-09-28 00:00:00 -04:00
8
8
  summary: Pacifying overactive records
9
9
  require_paths:
10
10
  - lib
@@ -29,29 +29,25 @@ post_install_message:
29
29
  authors:
30
30
  - Jason L Perry
31
31
  files:
32
- - History.txt
33
- - Manifest.txt
34
- - README.txt
35
- - Rakefile
32
+ - CHANGELOG
33
+ - Manifest
34
+ - README
36
35
  - lib/passive_record.rb
37
36
  - lib/passive_record/associations.rb
38
37
  - lib/passive_record/base.rb
39
38
  - lib/passive_record/schema.rb
40
- - lib/passive_record/version.rb
41
39
  - test/test_associations.rb
42
40
  - test/test_base.rb
43
41
  - test/test_helper.rb
42
+ - passiverecord.gemspec
44
43
  test_files:
45
44
  - test/test_associations.rb
46
45
  - test/test_base.rb
47
46
  - test/test_helper.rb
48
- rdoc_options:
49
- - --main
50
- - README.txt
51
- extra_rdoc_files:
52
- - History.txt
53
- - Manifest.txt
54
- - README.txt
47
+ rdoc_options: []
48
+
49
+ extra_rdoc_files: []
50
+
55
51
  executables: []
56
52
 
57
53
  extensions: []
@@ -66,14 +62,8 @@ dependencies:
66
62
  requirements:
67
63
  - - ">="
68
64
  - !ruby/object:Gem::Version
69
- version: 1.15.3
70
- version:
71
- - !ruby/object:Gem::Dependency
72
- name: hoe
73
- version_requirement:
74
- version_requirements: !ruby/object:Gem::Version::Requirement
75
- requirements:
76
- - - ">="
65
+ version: "0"
66
+ - - "="
77
67
  - !ruby/object:Gem::Version
78
- version: 1.3.0
68
+ version: 1.15.3
79
69
  version:
@@ -1,6 +0,0 @@
1
- == 0.0.1 2007-09-26
2
-
3
- * Initial release
4
- * proof of concept
5
- * create, find, find_by_*
6
- * has_many, has_one
data/Rakefile DELETED
@@ -1,19 +0,0 @@
1
- $:.unshift(File.dirname(__FILE__) + "/lib")
2
- require 'rubygems'
3
- require 'hoe'
4
-
5
- require 'passive_record/version'
6
-
7
- Hoe.new('passiverecord', PassiveRecord::VERSION::STRING) do |p|
8
- p.rubyforge_name = 'paintitred'
9
- p.author = 'Jason L Perry'
10
- p.email = 'jasper@ambethia.com'
11
- p.summary = 'Pacifying overactive records'
12
- p.description = 'Pacifying overactive records'
13
- p.url = "http://code.itred.org/projects/passive-record"
14
- p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n")
15
- p.extra_deps = [['activerecord', '>= 1.15.3']]
16
- p.remote_rdoc_dir = "passive_record"
17
- end
18
-
19
- Hoe.send :define_method, :extra_deps, proc { @extra_deps.reject! { |x| Array(x).first == 'hoe' };@extra_deps}
@@ -1,9 +0,0 @@
1
- module PassiveRecord #:nodoc:
2
- module VERSION #:nodoc:
3
- MAJOR = 0
4
- MINOR = 0
5
- TINY = 1
6
-
7
- STRING = [MAJOR, MINOR, TINY].join('.')
8
- end
9
- end