HasRemote 0.1.1 → 0.1.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/HasRemote.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{HasRemote}
8
- s.version = "0.1.1"
8
+ s.version = "0.1.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Sjoerd Andringa"]
12
- s.date = %q{2010-01-18}
12
+ s.date = %q{2010-01-19}
13
13
  s.description = %q{Bind a remote ActiveResource object to your local ActiveRecord objects, delegate attributes and optionally cache remote attributes locally.}
14
14
  s.email = %q{sjoerd.andringa@innovationfactory.eu}
15
15
  s.extra_rdoc_files = [
@@ -30,7 +30,7 @@ Gem::Specification.new do |s|
30
30
  "lib/has_remote.rb",
31
31
  "lib/has_remote/synchronizable.rb",
32
32
  "lib/has_remote/synchronization.rb",
33
- "lib/tasks/has_remote.rake",
33
+ "lib/has_remote/tasks.rb",
34
34
  "rails/init.rb",
35
35
  "shoulda_macros/has_remote_macros.rb",
36
36
  "spec/caching_spec.rb",
@@ -42,7 +42,8 @@ Gem::Specification.new do |s|
42
42
  "spec/has_remote_spec/user.rb",
43
43
  "spec/schema.rb",
44
44
  "spec/spec_helper.rb",
45
- "spec/synchronization_spec.rb"
45
+ "spec/synchronization_spec.rb",
46
+ "tasks/rails.rake"
46
47
  ]
47
48
  s.homepage = %q{http://github.com/innovationfactory/has_remote}
48
49
  s.rdoc_options = ["--charset=UTF-8"]
data/README.rdoc CHANGED
@@ -5,9 +5,15 @@ which enables you to look for certain attributes remotely using a RESTful webser
5
5
 
6
6
  === Installation
7
7
 
8
- script/plugins install git://github.com/innovationfactory/has_remote.git
8
+ As a gem; Add the following to <tt>config/environment.rb</tt>:
9
9
 
10
- Only if you require synchronization:
10
+ config.gem 'HasRemote', :lib => 'has_remote', :version => ">= 0.1.1"
11
+
12
+ As a plugin; Run:
13
+
14
+ script/plugin install git://github.com/innovationfactory/has_remote.git
15
+
16
+ And only if you require synchronization, run:
11
17
 
12
18
  script/generate has_remote_migration
13
19
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.1.2
@@ -9,4 +9,5 @@ namespace :hr do
9
9
  def extract_models
10
10
  ENV['MODELS'].split(',').map(&:constantize)
11
11
  end
12
+
12
13
  end
data/tasks/rails.rake ADDED
@@ -0,0 +1 @@
1
+ require File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib', 'has_remote', 'tasks'))
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.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sjoerd Andringa
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-01-18 00:00:00 +01:00
12
+ date: 2010-01-19 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -36,7 +36,7 @@ files:
36
36
  - lib/has_remote.rb
37
37
  - lib/has_remote/synchronizable.rb
38
38
  - lib/has_remote/synchronization.rb
39
- - lib/tasks/has_remote.rake
39
+ - lib/has_remote/tasks.rb
40
40
  - rails/init.rb
41
41
  - shoulda_macros/has_remote_macros.rb
42
42
  - spec/caching_spec.rb
@@ -49,6 +49,7 @@ files:
49
49
  - spec/schema.rb
50
50
  - spec/spec_helper.rb
51
51
  - spec/synchronization_spec.rb
52
+ - tasks/rails.rake
52
53
  has_rdoc: true
53
54
  homepage: http://github.com/innovationfactory/has_remote
54
55
  licenses: []