HasRemote 0.1.0 → 0.1.1
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/.gitignore +2 -1
- data/HasRemote.gemspec +74 -0
- data/VERSION +1 -1
- data/init.rb +1 -1
- data/rails/init.rb +1 -0
- metadata +3 -1
data/.gitignore
CHANGED
data/HasRemote.gemspec
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = %q{HasRemote}
|
8
|
+
s.version = "0.1.1"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["Sjoerd Andringa"]
|
12
|
+
s.date = %q{2010-01-18}
|
13
|
+
s.description = %q{Bind a remote ActiveResource object to your local ActiveRecord objects, delegate attributes and optionally cache remote attributes locally.}
|
14
|
+
s.email = %q{sjoerd.andringa@innovationfactory.eu}
|
15
|
+
s.extra_rdoc_files = [
|
16
|
+
"README.rdoc",
|
17
|
+
"TODO"
|
18
|
+
]
|
19
|
+
s.files = [
|
20
|
+
".gitignore",
|
21
|
+
"HasRemote.gemspec",
|
22
|
+
"MIT-LICENSE",
|
23
|
+
"README.rdoc",
|
24
|
+
"Rakefile",
|
25
|
+
"TODO",
|
26
|
+
"VERSION",
|
27
|
+
"init.rb",
|
28
|
+
"lib/generators/has_remote_migration/has_remote_migration_generator.rb",
|
29
|
+
"lib/generators/has_remote_migration/templates/create_has_remote_synchronizations.erb",
|
30
|
+
"lib/has_remote.rb",
|
31
|
+
"lib/has_remote/synchronizable.rb",
|
32
|
+
"lib/has_remote/synchronization.rb",
|
33
|
+
"lib/tasks/has_remote.rake",
|
34
|
+
"rails/init.rb",
|
35
|
+
"shoulda_macros/has_remote_macros.rb",
|
36
|
+
"spec/caching_spec.rb",
|
37
|
+
"spec/database.yml",
|
38
|
+
"spec/has_remote_spec.rb",
|
39
|
+
"spec/has_remote_spec/book.rb",
|
40
|
+
"spec/has_remote_spec/cheese.rb",
|
41
|
+
"spec/has_remote_spec/product.rb",
|
42
|
+
"spec/has_remote_spec/user.rb",
|
43
|
+
"spec/schema.rb",
|
44
|
+
"spec/spec_helper.rb",
|
45
|
+
"spec/synchronization_spec.rb"
|
46
|
+
]
|
47
|
+
s.homepage = %q{http://github.com/innovationfactory/has_remote}
|
48
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
49
|
+
s.require_paths = ["lib"]
|
50
|
+
s.rubygems_version = %q{1.3.5}
|
51
|
+
s.summary = %q{Bind a remote ActiveResource object to your local ActiveRecord objects.}
|
52
|
+
s.test_files = [
|
53
|
+
"spec/caching_spec.rb",
|
54
|
+
"spec/has_remote_spec/book.rb",
|
55
|
+
"spec/has_remote_spec/cheese.rb",
|
56
|
+
"spec/has_remote_spec/product.rb",
|
57
|
+
"spec/has_remote_spec/user.rb",
|
58
|
+
"spec/has_remote_spec.rb",
|
59
|
+
"spec/schema.rb",
|
60
|
+
"spec/spec_helper.rb",
|
61
|
+
"spec/synchronization_spec.rb"
|
62
|
+
]
|
63
|
+
|
64
|
+
if s.respond_to? :specification_version then
|
65
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
66
|
+
s.specification_version = 3
|
67
|
+
|
68
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
69
|
+
else
|
70
|
+
end
|
71
|
+
else
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.1
|
data/init.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
require File.dirname(__FILE__) + "/rails/init"
|
data/rails/init.rb
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
ActiveRecord::Base.send(:include, HasRemote)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: HasRemote
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sjoerd Andringa
|
@@ -24,6 +24,7 @@ extra_rdoc_files:
|
|
24
24
|
- TODO
|
25
25
|
files:
|
26
26
|
- .gitignore
|
27
|
+
- HasRemote.gemspec
|
27
28
|
- MIT-LICENSE
|
28
29
|
- README.rdoc
|
29
30
|
- Rakefile
|
@@ -36,6 +37,7 @@ files:
|
|
36
37
|
- lib/has_remote/synchronizable.rb
|
37
38
|
- lib/has_remote/synchronization.rb
|
38
39
|
- lib/tasks/has_remote.rake
|
40
|
+
- rails/init.rb
|
39
41
|
- shoulda_macros/has_remote_macros.rb
|
40
42
|
- spec/caching_spec.rb
|
41
43
|
- spec/database.yml
|