rubysync 0.0.5 → 0.1.0
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/HISTORY.txt +7 -0
- data/Manifest.txt +18 -76
- data/Rakefile +2 -2
- data/bin/rubysync +60 -21
- data/bin/rubysync.rb +60 -21
- data/examples/ar_webapp/public/dispatch.cgi +1 -1
- data/examples/ar_webapp/public/dispatch.fcgi +1 -1
- data/examples/ar_webapp/public/dispatch.rb +1 -1
- data/examples/csv_to_ldap/config/connectors/hr_connector.rb +14 -0
- data/examples/csv_to_ldap/config/connectors/ldap_vault_connector.rb +11 -0
- data/examples/{ar_webapp/.DS_Store → csv_to_ldap/config/db/HrImportPipeline(vault)_assoc_to_path.db} +0 -0
- data/{.DS_Store → examples/csv_to_ldap/config/db/HrImportPipeline(vault)_mirror.db} +0 -0
- data/examples/csv_to_ldap/config/db/HrImportPipeline(vault)_path_to_assoc.db +0 -0
- data/examples/csv_to_ldap/config/pipelines/hr_import_pipeline.rb +24 -0
- data/examples/csv_to_ldap/in/henchmen.csv.bak +3 -0
- data/examples/csv_to_xml/config/connectors/databank_connector.rb +8 -0
- data/examples/csv_to_xml/config/connectors/hr_connector.rb +14 -0
- data/examples/csv_to_xml/config/db/HrImportPipeline(vault)_assoc_to_path.db +0 -0
- data/examples/csv_to_xml/config/db/HrImportPipeline(vault)_mirror.db +0 -0
- data/examples/csv_to_xml/config/db/HrImportPipeline(vault)_path_to_assoc.db +0 -0
- data/examples/csv_to_xml/config/pipelines/hr_import_pipeline.rb +24 -0
- data/examples/csv_to_xml/databank.xml +1 -0
- data/examples/csv_to_xml/in/henchmen.csv.bak +3 -0
- data/examples/csv_to_xml/transcript.txt +1 -2
- data/examples/data/henchmen.csv +3 -0
- data/examples/data/more.csv +2 -0
- data/lib/ruby_sync/connectors/active_record_connector.rb +19 -4
- data/lib/ruby_sync/connectors/base_connector.rb +3 -9
- data/lib/ruby_sync/connectors/file_connector.rb +2 -2
- data/lib/ruby_sync/event.rb +16 -9
- data/lib/ruby_sync/pipelines/base_pipeline.rb +137 -164
- data/lib/ruby_sync/util/utilities.rb +14 -21
- data/lib/ruby_sync.rb +37 -39
- data/test/ruby_sync_test.rb +3 -2
- data/test/tc_active_record_connector.rb +15 -6
- data/test/tc_csv_file_connector.rb +10 -6
- data/test/tc_ldap_connector.rb +1 -1
- data/test/tc_memory_connectors.rb +5 -3
- data/test/tc_transformation.rb +15 -7
- data/test/tc_utilities.rb +1 -1
- data/test/tc_xml_connectors.rb +4 -0
- data/test/ts_rubysync.rb +3 -1
- metadata +21 -81
- data/.project +0 -17
- data/docs/in_pipeline.graffle +0 -2690
- data/docs/out_pipeline.graffle +0 -3274
- data/docs/to_sync.txt +0 -15
- data/docs/walkthru.txt +0 -186
- data/examples/ar_client_webapp/README +0 -182
- data/examples/ar_client_webapp/Rakefile +0 -10
- data/examples/ar_client_webapp/app/controllers/application.rb +0 -7
- data/examples/ar_client_webapp/app/controllers/user_controller.rb +0 -5
- data/examples/ar_client_webapp/app/helpers/application_helper.rb +0 -3
- data/examples/ar_client_webapp/app/helpers/user_helper.rb +0 -2
- data/examples/ar_client_webapp/app/models/user.rb +0 -2
- data/examples/ar_client_webapp/config/boot.rb +0 -45
- data/examples/ar_client_webapp/config/database.yml +0 -36
- data/examples/ar_client_webapp/config/environment.rb +0 -60
- data/examples/ar_client_webapp/config/environments/development.rb +0 -21
- data/examples/ar_client_webapp/config/environments/production.rb +0 -18
- data/examples/ar_client_webapp/config/environments/test.rb +0 -19
- data/examples/ar_client_webapp/config/routes.rb +0 -23
- data/examples/ar_client_webapp/db/migrate/001_create_users.rb +0 -13
- data/examples/ar_client_webapp/db/schema.rb +0 -13
- data/examples/ar_client_webapp/doc/README_FOR_APP +0 -2
- data/examples/ar_client_webapp/log/development.log +0 -753
- data/examples/ar_client_webapp/log/production.log +0 -0
- data/examples/ar_client_webapp/log/server.log +0 -0
- data/examples/ar_client_webapp/log/test.log +0 -0
- data/examples/ar_client_webapp/public/.htaccess +0 -40
- data/examples/ar_client_webapp/public/404.html +0 -30
- data/examples/ar_client_webapp/public/500.html +0 -30
- data/examples/ar_client_webapp/public/dispatch.cgi +0 -10
- data/examples/ar_client_webapp/public/dispatch.fcgi +0 -24
- data/examples/ar_client_webapp/public/dispatch.rb +0 -10
- data/examples/ar_client_webapp/public/favicon.ico +0 -0
- data/examples/ar_client_webapp/public/images/rails.png +0 -0
- data/examples/ar_client_webapp/public/index.html +0 -277
- data/examples/ar_client_webapp/public/javascripts/application.js +0 -2
- data/examples/ar_client_webapp/public/javascripts/controls.js +0 -833
- data/examples/ar_client_webapp/public/javascripts/dragdrop.js +0 -942
- data/examples/ar_client_webapp/public/javascripts/effects.js +0 -1088
- data/examples/ar_client_webapp/public/javascripts/prototype.js +0 -2515
- data/examples/ar_client_webapp/public/robots.txt +0 -1
- data/examples/ar_client_webapp/script/about +0 -3
- data/examples/ar_client_webapp/script/breakpointer +0 -3
- data/examples/ar_client_webapp/script/console +0 -3
- data/examples/ar_client_webapp/script/destroy +0 -3
- data/examples/ar_client_webapp/script/generate +0 -3
- data/examples/ar_client_webapp/script/performance/benchmarker +0 -3
- data/examples/ar_client_webapp/script/performance/profiler +0 -3
- data/examples/ar_client_webapp/script/plugin +0 -3
- data/examples/ar_client_webapp/script/process/inspector +0 -3
- data/examples/ar_client_webapp/script/process/reaper +0 -3
- data/examples/ar_client_webapp/script/process/spawner +0 -3
- data/examples/ar_client_webapp/script/runner +0 -3
- data/examples/ar_client_webapp/script/server +0 -3
- data/examples/ar_client_webapp/test/fixtures/users.yml +0 -5
- data/examples/ar_client_webapp/test/functional/user_controller_test.rb +0 -18
- data/examples/ar_client_webapp/test/test_helper.rb +0 -28
- data/examples/ar_client_webapp/test/unit/user_test.rb +0 -10
- data/examples/ar_client_webapp/tmp/sessions/ruby_sess.e2e3c63a67baef6d +0 -0
- data/examples/ar_webapp/app/.DS_Store +0 -0
- data/examples/ar_webapp/app/views/.DS_Store +0 -0
- data/examples/ar_webapp/app/views/people/.DS_Store +0 -0
- data/examples/ims2/connectors/hr_db_connector.rb +0 -6
- data/examples/ims2/connectors/my_csv_connector.rb +0 -12
- data/examples/ims2/pipelines/hr_import_pipeline.rb +0 -33
- data/examples/my_ims/connectors/my_csv_connector.rb +0 -10
- data/examples/my_ims/connectors/my_db_connector.rb +0 -7
- data/examples/my_ims/pipelines/my_pipeline.rb +0 -33
- data/lib/rubysync.rb +0 -19
- data/nbproject/private/private.properties +0 -3
- data/nbproject/project.properties +0 -8
- data/nbproject/project.xml +0 -16
- data/rubysync.tmproj +0 -568
- data/test/tc_rubysync.rb +0 -28
data/lib/ruby_sync.rb
CHANGED
@@ -25,6 +25,15 @@ require 'ruby_sync/operation'
|
|
25
25
|
require 'ruby_sync/event'
|
26
26
|
|
27
27
|
|
28
|
+
module RubySync
|
29
|
+
VERSION = '0.1.0'
|
30
|
+
module Connectors
|
31
|
+
end
|
32
|
+
module Pipelines
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
|
28
37
|
class Module
|
29
38
|
# Add an option that will be defined by a class method, stored in a class variable
|
30
39
|
# and accessible as an instance method
|
@@ -42,50 +51,39 @@ class Module
|
|
42
51
|
end
|
43
52
|
end
|
44
53
|
|
45
|
-
class Configuration
|
46
|
-
|
47
|
-
include RubySync::Utilities
|
48
|
-
|
49
|
-
def initialize
|
50
|
-
base_path and include_in_search_path "#{base_path}/pipelines"
|
51
|
-
base_path and include_in_search_path "#{base_path}/connectors"
|
52
|
-
base_path and include_in_search_path "#{base_path}/shared/connectors"
|
53
|
-
base_path and include_in_search_path "#{base_path}/shared/pipelines"
|
54
|
-
base_path and include_in_search_path "#{base_path}/shared/lib"
|
55
|
-
|
56
|
-
lib_path = File.dirname(__FILE__)
|
57
|
-
require_all_in_dir "#{lib_path}/ruby_sync/connectors", "*_connector.rb"
|
58
|
-
base_path and require_all_in_dir "#{base_path}/shared/connectors", "*_connector.rb"
|
59
|
-
require_all_in_dir "#{lib_path}/ruby_sync/pipelines", "*_pipeline.rb"
|
60
|
-
base_path and require_all_in_dir "#{base_path}/shared/pipelines", "*_pipeline.rb"
|
61
|
-
end
|
62
54
|
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
55
|
+
# Add an option that will be defined by a class method, stored in a class variable
|
56
|
+
# and accessible as an instance method
|
57
|
+
def array_option *names
|
58
|
+
names.each do |name|
|
59
|
+
meta_def name do |*values|
|
60
|
+
class_def name do
|
61
|
+
values
|
62
|
+
end
|
63
|
+
meta_def "get_#{name}" do
|
64
|
+
values
|
65
|
+
end
|
73
66
|
end
|
74
|
-
|
75
|
-
|
67
|
+
end
|
68
|
+
end
|
76
69
|
|
77
|
-
# puts $:.join "\n"
|
78
|
-
# puts "expanded = '#{expanded}'"
|
79
|
-
# puts "base = '#{base}'"
|
80
|
-
# puts "prefix = '#{prefix}'"
|
81
70
|
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
71
|
+
class File
|
72
|
+
def self.delete_if_exists(files)
|
73
|
+
files.kind_of?(Array) or files = [files]
|
74
|
+
files.each do |file|
|
75
|
+
File.delete(file) if File.exist?(file)
|
86
76
|
end
|
87
77
|
end
|
88
|
-
|
89
78
|
end
|
90
79
|
|
91
|
-
|
80
|
+
|
81
|
+
load_paths = [lib_path]
|
82
|
+
if (base_path)
|
83
|
+
load_paths << File.join(base_path, 'connectors')
|
84
|
+
load_paths << File.join(base_path, 'pipelines')
|
85
|
+
load_paths << File.join(base_path, 'shared', 'pipelines')
|
86
|
+
load_paths << File.join(base_path, 'shared', 'connectors')
|
87
|
+
load_paths << File.join(base_path, 'shared', 'lib')
|
88
|
+
end
|
89
|
+
Dependencies.load_paths = load_paths
|
data/test/ruby_sync_test.rb
CHANGED
@@ -14,8 +14,8 @@
|
|
14
14
|
# Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
15
15
|
|
16
16
|
|
17
|
-
lib_path = File.dirname(__FILE__)
|
18
|
-
$:.unshift lib_path unless $:.include?(lib_path)
|
17
|
+
lib_path = File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib'))
|
18
|
+
$:.unshift lib_path unless $:.include?(lib_path)
|
19
19
|
|
20
20
|
require 'ruby_sync'
|
21
21
|
require 'test/unit'
|
@@ -27,6 +27,7 @@ module RubySyncTest
|
|
27
27
|
|
28
28
|
def initialize(test)
|
29
29
|
super(test)
|
30
|
+
log.level = ::Logger::DEBUG
|
30
31
|
@bob_details = {'givenName'=>['bob'],
|
31
32
|
'sn'=>['Smith'],
|
32
33
|
'interests'=>['music', 'makeup']
|
@@ -33,11 +33,19 @@ class ArTestPipeline < RubySync::Pipelines::BasePipeline
|
|
33
33
|
client :ar_memory
|
34
34
|
vault :ar_active_record
|
35
35
|
|
36
|
-
allow_in :
|
36
|
+
allow_in :givenName, :sn
|
37
37
|
allow_out :first_name, :last_name
|
38
|
-
|
39
|
-
|
40
|
-
|
38
|
+
|
39
|
+
in_transform do
|
40
|
+
map :first_name, :givenName
|
41
|
+
map :last_name, :sn
|
42
|
+
end
|
43
|
+
|
44
|
+
out_transform do
|
45
|
+
map :givenName, :first_name
|
46
|
+
map :sn, :last_name
|
47
|
+
end
|
48
|
+
|
41
49
|
end
|
42
50
|
|
43
51
|
|
@@ -62,7 +70,8 @@ class TcActiveRecordConnector < Test::Unit::TestCase
|
|
62
70
|
super(test)
|
63
71
|
end
|
64
72
|
|
65
|
-
def
|
73
|
+
def setup
|
74
|
+
super
|
66
75
|
# Wipe existing database content
|
67
76
|
# TODO: Find out how rails does this.
|
68
77
|
::RubySyncAssociation.delete_all
|
@@ -109,7 +118,7 @@ class TcActiveRecordConnector < Test::Unit::TestCase
|
|
109
118
|
end
|
110
119
|
|
111
120
|
def find_bob
|
112
|
-
Person.find_by_first_name "
|
121
|
+
Person.find_by_first_name "bob"
|
113
122
|
end
|
114
123
|
|
115
124
|
def test_fields
|
@@ -13,8 +13,8 @@
|
|
13
13
|
# You should have received a copy of the GNU General Public License along with RubySync; if not, write to the
|
14
14
|
# Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
15
15
|
|
16
|
-
lib_path = File.dirname(__FILE__)
|
17
|
-
$:.unshift lib_path unless $:.include?(lib_path)
|
16
|
+
lib_path = File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib'))
|
17
|
+
$:.unshift lib_path unless $:.include?(lib_path)
|
18
18
|
|
19
19
|
require 'ruby_sync_test'
|
20
20
|
require 'ruby_sync/connectors/file_connector'
|
@@ -41,11 +41,15 @@ class CsvTestPipeline < RubySync::Pipelines::BasePipeline
|
|
41
41
|
client :test_csv_file
|
42
42
|
|
43
43
|
vault :test_memory
|
44
|
+
allow_in
|
45
|
+
allow_out
|
44
46
|
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
47
|
+
in_transform do
|
48
|
+
map :cn, :id
|
49
|
+
map :givenName, 'given name'
|
50
|
+
map :sn, 'last name'
|
51
|
+
map :mail, :email
|
52
|
+
end
|
49
53
|
|
50
54
|
end
|
51
55
|
|
data/test/tc_ldap_connector.rb
CHANGED
@@ -16,9 +16,9 @@
|
|
16
16
|
#
|
17
17
|
# Performs end-to-end tests of the memory based testing connectors.
|
18
18
|
#
|
19
|
-
|
20
|
-
|
21
|
-
|
19
|
+
lib_path = File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib'))
|
20
|
+
$:.unshift lib_path unless $:.include?(lib_path)
|
21
|
+
|
22
22
|
require 'ruby_sync_test'
|
23
23
|
require 'hashlike_tests'
|
24
24
|
require 'ruby_sync/connectors/memory_connector'
|
@@ -35,6 +35,8 @@ end
|
|
35
35
|
class MemoryTestPipeline < RubySync::Pipelines::BasePipeline
|
36
36
|
client :memory_test_a
|
37
37
|
vault :memory_test_b
|
38
|
+
allow_in
|
39
|
+
allow_out
|
38
40
|
end
|
39
41
|
|
40
42
|
class TcMemoryConnectors < Test::Unit::TestCase
|
data/test/tc_transformation.rb
CHANGED
@@ -36,6 +36,9 @@ class TransformationTestPipeline < RubySync::Pipelines::BasePipeline
|
|
36
36
|
client :transformation_vault
|
37
37
|
vault :transformation_client
|
38
38
|
|
39
|
+
allow_in :givenName, :sn, :interests
|
40
|
+
allow_out :first_name, :last_name
|
41
|
+
|
39
42
|
in_transform do
|
40
43
|
map :first_name, :givenName
|
41
44
|
map :last_name, :sn
|
@@ -45,27 +48,32 @@ class TransformationTestPipeline < RubySync::Pipelines::BasePipeline
|
|
45
48
|
map(:note) {"Created by RubySync"}
|
46
49
|
map(:shopping) {%w/fish milk bread/}
|
47
50
|
end
|
51
|
+
|
52
|
+
in_place { "#{self.source_path}/path/in/vault"}
|
53
|
+
out_place { "#{self.source_path}".split('/')[0] }
|
48
54
|
end
|
49
55
|
|
50
56
|
class TcTransformation < Test::Unit::TestCase
|
51
57
|
|
52
58
|
include RubySyncTest
|
53
59
|
|
60
|
+
|
54
61
|
def client_path() 'bob'; end
|
55
|
-
def vault_path() 'bob'; end
|
62
|
+
def vault_path() 'bob/path/in/vault'; end
|
56
63
|
|
57
64
|
def testPipeline
|
58
65
|
TransformationTestPipeline
|
59
66
|
end
|
60
67
|
|
61
68
|
def test_transform
|
62
|
-
@client[
|
69
|
+
@client[client_path] = @bob_details
|
63
70
|
@pipeline.run_once
|
64
|
-
|
65
|
-
assert_equal @bob_details['
|
66
|
-
assert_equal
|
67
|
-
assert_equal "
|
68
|
-
assert_equal
|
71
|
+
assert_not_nil @vault[vault_path],"Bob wasn't created on the vault"
|
72
|
+
assert_equal @bob_details['givenName'], @vault[vault_path]['first_name']
|
73
|
+
assert_equal @bob_details['sn'], @vault[vault_path]['last_name']
|
74
|
+
assert_equal "Created by RubySync", @vault[vault_path]['note'][0]
|
75
|
+
assert_equal "music:makeup", @vault[vault_path]['hobbies'][0]
|
76
|
+
assert_equal %w/fish milk bread/, @vault[vault_path]['shopping']
|
69
77
|
end
|
70
78
|
|
71
79
|
end
|
data/test/tc_utilities.rb
CHANGED
data/test/tc_xml_connectors.rb
CHANGED
data/test/ts_rubysync.rb
CHANGED
@@ -13,6 +13,8 @@
|
|
13
13
|
# You should have received a copy of the GNU General Public License along with RubySync; if not, write to the
|
14
14
|
# Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
15
15
|
|
16
|
+
$:.unshift File.dirname(__FILE__)
|
17
|
+
|
16
18
|
require 'test/unit'
|
17
19
|
require 'tc_csv_file_connector'
|
18
20
|
require 'tc_memory_connectors'
|
@@ -20,7 +22,7 @@ require 'tc_ldif'
|
|
20
22
|
require 'tc_base_pipeline'
|
21
23
|
require 'tc_xml_connectors'
|
22
24
|
require 'tc_transformation'
|
23
|
-
|
25
|
+
require 'tc_active_record_connector'
|
24
26
|
|
25
27
|
# The following require some setup on your computer before they'll work
|
26
28
|
|
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.0
|
|
3
3
|
specification_version: 1
|
4
4
|
name: rubysync
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.0
|
7
|
-
date: 2007-09-
|
6
|
+
version: 0.1.0
|
7
|
+
date: 2007-09-26 00:00:00 +08:00
|
8
8
|
summary: Event driven identity synchronization engine
|
9
9
|
require_paths:
|
10
10
|
- lib
|
@@ -29,8 +29,6 @@ post_install_message:
|
|
29
29
|
authors:
|
30
30
|
- Ritchie Young
|
31
31
|
files:
|
32
|
-
- .DS_Store
|
33
|
-
- .project
|
34
32
|
- COPYING
|
35
33
|
- HISTORY.txt
|
36
34
|
- Manifest.txt
|
@@ -38,71 +36,11 @@ files:
|
|
38
36
|
- Rakefile
|
39
37
|
- bin/rubysync
|
40
38
|
- bin/rubysync.rb
|
41
|
-
- docs/in_pipeline.graffle
|
42
39
|
- docs/init_openldap.ldif
|
43
|
-
- docs/out_pipeline.graffle
|
44
40
|
- docs/schema/99rubysync.ldif
|
45
41
|
- docs/schema/rubysync.schema
|
46
|
-
- docs/to_sync.txt
|
47
|
-
- docs/walkthru.txt
|
48
|
-
- examples/ar_client_webapp/README
|
49
|
-
- examples/ar_client_webapp/Rakefile
|
50
|
-
- examples/ar_client_webapp/app/controllers/application.rb
|
51
|
-
- examples/ar_client_webapp/app/controllers/user_controller.rb
|
52
|
-
- examples/ar_client_webapp/app/helpers/application_helper.rb
|
53
|
-
- examples/ar_client_webapp/app/helpers/user_helper.rb
|
54
|
-
- examples/ar_client_webapp/app/models/user.rb
|
55
|
-
- examples/ar_client_webapp/config/boot.rb
|
56
|
-
- examples/ar_client_webapp/config/database.yml
|
57
|
-
- examples/ar_client_webapp/config/environment.rb
|
58
|
-
- examples/ar_client_webapp/config/environments/development.rb
|
59
|
-
- examples/ar_client_webapp/config/environments/production.rb
|
60
|
-
- examples/ar_client_webapp/config/environments/test.rb
|
61
|
-
- examples/ar_client_webapp/config/routes.rb
|
62
|
-
- examples/ar_client_webapp/db/migrate/001_create_users.rb
|
63
|
-
- examples/ar_client_webapp/db/schema.rb
|
64
|
-
- examples/ar_client_webapp/doc/README_FOR_APP
|
65
|
-
- examples/ar_client_webapp/log/development.log
|
66
|
-
- examples/ar_client_webapp/log/production.log
|
67
|
-
- examples/ar_client_webapp/log/server.log
|
68
|
-
- examples/ar_client_webapp/log/test.log
|
69
|
-
- examples/ar_client_webapp/public/.htaccess
|
70
|
-
- examples/ar_client_webapp/public/404.html
|
71
|
-
- examples/ar_client_webapp/public/500.html
|
72
|
-
- examples/ar_client_webapp/public/dispatch.cgi
|
73
|
-
- examples/ar_client_webapp/public/dispatch.fcgi
|
74
|
-
- examples/ar_client_webapp/public/dispatch.rb
|
75
|
-
- examples/ar_client_webapp/public/favicon.ico
|
76
|
-
- examples/ar_client_webapp/public/images/rails.png
|
77
|
-
- examples/ar_client_webapp/public/index.html
|
78
|
-
- examples/ar_client_webapp/public/javascripts/application.js
|
79
|
-
- examples/ar_client_webapp/public/javascripts/controls.js
|
80
|
-
- examples/ar_client_webapp/public/javascripts/dragdrop.js
|
81
|
-
- examples/ar_client_webapp/public/javascripts/effects.js
|
82
|
-
- examples/ar_client_webapp/public/javascripts/prototype.js
|
83
|
-
- examples/ar_client_webapp/public/robots.txt
|
84
|
-
- examples/ar_client_webapp/script/about
|
85
|
-
- examples/ar_client_webapp/script/breakpointer
|
86
|
-
- examples/ar_client_webapp/script/console
|
87
|
-
- examples/ar_client_webapp/script/destroy
|
88
|
-
- examples/ar_client_webapp/script/generate
|
89
|
-
- examples/ar_client_webapp/script/performance/benchmarker
|
90
|
-
- examples/ar_client_webapp/script/performance/profiler
|
91
|
-
- examples/ar_client_webapp/script/plugin
|
92
|
-
- examples/ar_client_webapp/script/process/inspector
|
93
|
-
- examples/ar_client_webapp/script/process/reaper
|
94
|
-
- examples/ar_client_webapp/script/process/spawner
|
95
|
-
- examples/ar_client_webapp/script/runner
|
96
|
-
- examples/ar_client_webapp/script/server
|
97
|
-
- examples/ar_client_webapp/test/fixtures/users.yml
|
98
|
-
- examples/ar_client_webapp/test/functional/user_controller_test.rb
|
99
|
-
- examples/ar_client_webapp/test/test_helper.rb
|
100
|
-
- examples/ar_client_webapp/test/unit/user_test.rb
|
101
|
-
- examples/ar_client_webapp/tmp/sessions/ruby_sess.e2e3c63a67baef6d
|
102
|
-
- examples/ar_webapp/.DS_Store
|
103
42
|
- examples/ar_webapp/README
|
104
43
|
- examples/ar_webapp/Rakefile
|
105
|
-
- examples/ar_webapp/app/.DS_Store
|
106
44
|
- examples/ar_webapp/app/controllers/application.rb
|
107
45
|
- examples/ar_webapp/app/controllers/hobbies_controller.rb
|
108
46
|
- examples/ar_webapp/app/controllers/interests_controller.rb
|
@@ -118,9 +56,7 @@ files:
|
|
118
56
|
- examples/ar_webapp/app/models/ruby_sync_operation.rb
|
119
57
|
- examples/ar_webapp/app/models/ruby_sync_state.rb
|
120
58
|
- examples/ar_webapp/app/models/ruby_sync_value.rb
|
121
|
-
- examples/ar_webapp/app/views/.DS_Store
|
122
59
|
- examples/ar_webapp/app/views/layouts/application.rhtml
|
123
|
-
- examples/ar_webapp/app/views/people/.DS_Store
|
124
60
|
- examples/ar_webapp/app/views/people/show.rhtml
|
125
61
|
- examples/ar_webapp/config/boot.rb
|
126
62
|
- examples/ar_webapp/config/database.yml
|
@@ -190,12 +126,24 @@ files:
|
|
190
126
|
- examples/ar_webapp/test/unit/ruby_sync_operation_test.rb
|
191
127
|
- examples/ar_webapp/test/unit/ruby_sync_state_test.rb
|
192
128
|
- examples/ar_webapp/test/unit/ruby_sync_value_test.rb
|
193
|
-
- examples/
|
194
|
-
- examples/
|
195
|
-
- examples/
|
196
|
-
- examples/
|
197
|
-
- examples/
|
198
|
-
- examples/
|
129
|
+
- examples/csv_to_ldap/config/connectors/hr_connector.rb
|
130
|
+
- examples/csv_to_ldap/config/connectors/ldap_vault_connector.rb
|
131
|
+
- examples/csv_to_ldap/config/db/HrImportPipeline(vault)_assoc_to_path.db
|
132
|
+
- examples/csv_to_ldap/config/db/HrImportPipeline(vault)_mirror.db
|
133
|
+
- examples/csv_to_ldap/config/db/HrImportPipeline(vault)_path_to_assoc.db
|
134
|
+
- examples/csv_to_ldap/config/pipelines/hr_import_pipeline.rb
|
135
|
+
- examples/csv_to_ldap/in/henchmen.csv.bak
|
136
|
+
- examples/csv_to_xml/config/connectors/databank_connector.rb
|
137
|
+
- examples/csv_to_xml/config/connectors/hr_connector.rb
|
138
|
+
- examples/csv_to_xml/config/db/HrImportPipeline(vault)_assoc_to_path.db
|
139
|
+
- examples/csv_to_xml/config/db/HrImportPipeline(vault)_mirror.db
|
140
|
+
- examples/csv_to_xml/config/db/HrImportPipeline(vault)_path_to_assoc.db
|
141
|
+
- examples/csv_to_xml/config/pipelines/hr_import_pipeline.rb
|
142
|
+
- examples/csv_to_xml/databank.xml
|
143
|
+
- examples/csv_to_xml/in/henchmen.csv.bak
|
144
|
+
- examples/csv_to_xml/transcript.txt
|
145
|
+
- examples/data/henchmen.csv
|
146
|
+
- examples/data/more.csv
|
199
147
|
- lib/net/ldif.rb
|
200
148
|
- lib/ruby_sync.rb
|
201
149
|
- lib/ruby_sync/connectors/active_record_association_handler.rb
|
@@ -215,11 +163,6 @@ files:
|
|
215
163
|
- lib/ruby_sync/pipelines/base_pipeline.rb
|
216
164
|
- lib/ruby_sync/util/metaid.rb
|
217
165
|
- lib/ruby_sync/util/utilities.rb
|
218
|
-
- lib/rubysync.rb
|
219
|
-
- nbproject/private/private.properties
|
220
|
-
- nbproject/project.properties
|
221
|
-
- nbproject/project.xml
|
222
|
-
- rubysync.tmproj
|
223
166
|
- test/data/example1.ldif
|
224
167
|
- test/data/example2.ldif
|
225
168
|
- test/data/example3.ldif
|
@@ -240,7 +183,6 @@ files:
|
|
240
183
|
- test/tc_ldap_vault.rb
|
241
184
|
- test/tc_ldif.rb
|
242
185
|
- test/tc_memory_connectors.rb
|
243
|
-
- test/tc_rubysync.rb
|
244
186
|
- test/tc_transformation.rb
|
245
187
|
- test/tc_utilities.rb
|
246
188
|
- test/tc_xml_connectors.rb
|
@@ -254,10 +196,8 @@ extra_rdoc_files:
|
|
254
196
|
- HISTORY.txt
|
255
197
|
- Manifest.txt
|
256
198
|
- README.txt
|
257
|
-
- docs/to_sync.txt
|
258
|
-
- docs/walkthru.txt
|
259
|
-
- examples/ar_client_webapp/public/robots.txt
|
260
199
|
- examples/ar_webapp/public/robots.txt
|
200
|
+
- examples/csv_to_xml/transcript.txt
|
261
201
|
executables:
|
262
202
|
- rubysync
|
263
203
|
- rubysync.rb
|
data/.project
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<projectDescription>
|
3
|
-
<name>RubySync</name>
|
4
|
-
<comment></comment>
|
5
|
-
<projects>
|
6
|
-
</projects>
|
7
|
-
<buildSpec>
|
8
|
-
<buildCommand>
|
9
|
-
<name>org.rubypeople.rdt.core.rubybuilder</name>
|
10
|
-
<arguments>
|
11
|
-
</arguments>
|
12
|
-
</buildCommand>
|
13
|
-
</buildSpec>
|
14
|
-
<natures>
|
15
|
-
<nature>org.rubypeople.rdt.core.rubynature</nature>
|
16
|
-
</natures>
|
17
|
-
</projectDescription>
|