rubysync 0.0.4 → 0.0.5
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 +3 -1
- data/Manifest.txt +0 -15
- data/README.txt +1 -1
- data/Rakefile +6 -0
- data/bin/rubysync +1 -1
- data/bin/rubysync.rb +1 -1
- data/lib/rubysync.rb +1 -1
- metadata +38 -18
- data/bin/.DS_Store +0 -0
- data/examples/.DS_Store +0 -0
- data/examples/ar_webapp/tmp/sessions/ruby_sess.2295696b0af5f6dd +0 -0
- data/examples/ar_webapp/tmp/sessions/ruby_sess.26687aeb19c87669 +0 -0
- data/examples/ar_webapp/tmp/sessions/ruby_sess.2855a3b0c8ea840b +0 -0
- data/examples/ar_webapp/tmp/sessions/ruby_sess.45d2d48a8330ff28 +0 -0
- data/examples/ar_webapp/tmp/sessions/ruby_sess.7366b840f4ce9f12 +0 -0
- data/examples/ar_webapp/tmp/sessions/ruby_sess.b2fc3f2e6d8ae555 +0 -0
- data/examples/ar_webapp/tmp/sessions/ruby_sess.b6bf8470a62c02b0 +0 -0
- data/examples/my_ims/.DS_Store +0 -0
- data/gemspec +0 -48
- data/lib/.DS_Store +0 -0
- data/lib/net/.DS_Store +0 -0
- data/test/.DS_Store +0 -0
- data/test/.LCKts_rubysync.rb~ +0 -1
data/HISTORY.txt
CHANGED
data/Manifest.txt
CHANGED
|
@@ -5,7 +5,6 @@ HISTORY.txt
|
|
|
5
5
|
Manifest.txt
|
|
6
6
|
README.txt
|
|
7
7
|
Rakefile
|
|
8
|
-
bin/.DS_Store
|
|
9
8
|
bin/rubysync
|
|
10
9
|
bin/rubysync.rb
|
|
11
10
|
docs/in_pipeline.graffle
|
|
@@ -15,7 +14,6 @@ docs/schema/99rubysync.ldif
|
|
|
15
14
|
docs/schema/rubysync.schema
|
|
16
15
|
docs/to_sync.txt
|
|
17
16
|
docs/walkthru.txt
|
|
18
|
-
examples/.DS_Store
|
|
19
17
|
examples/ar_client_webapp/README
|
|
20
18
|
examples/ar_client_webapp/Rakefile
|
|
21
19
|
examples/ar_client_webapp/app/controllers/application.rb
|
|
@@ -161,23 +159,12 @@ examples/ar_webapp/test/unit/ruby_sync_observer_test.rb
|
|
|
161
159
|
examples/ar_webapp/test/unit/ruby_sync_operation_test.rb
|
|
162
160
|
examples/ar_webapp/test/unit/ruby_sync_state_test.rb
|
|
163
161
|
examples/ar_webapp/test/unit/ruby_sync_value_test.rb
|
|
164
|
-
examples/ar_webapp/tmp/sessions/ruby_sess.2295696b0af5f6dd
|
|
165
|
-
examples/ar_webapp/tmp/sessions/ruby_sess.26687aeb19c87669
|
|
166
|
-
examples/ar_webapp/tmp/sessions/ruby_sess.2855a3b0c8ea840b
|
|
167
|
-
examples/ar_webapp/tmp/sessions/ruby_sess.45d2d48a8330ff28
|
|
168
|
-
examples/ar_webapp/tmp/sessions/ruby_sess.7366b840f4ce9f12
|
|
169
|
-
examples/ar_webapp/tmp/sessions/ruby_sess.b2fc3f2e6d8ae555
|
|
170
|
-
examples/ar_webapp/tmp/sessions/ruby_sess.b6bf8470a62c02b0
|
|
171
162
|
examples/ims2/connectors/hr_db_connector.rb
|
|
172
163
|
examples/ims2/connectors/my_csv_connector.rb
|
|
173
164
|
examples/ims2/pipelines/hr_import_pipeline.rb
|
|
174
|
-
examples/my_ims/.DS_Store
|
|
175
165
|
examples/my_ims/connectors/my_csv_connector.rb
|
|
176
166
|
examples/my_ims/connectors/my_db_connector.rb
|
|
177
167
|
examples/my_ims/pipelines/my_pipeline.rb
|
|
178
|
-
gemspec
|
|
179
|
-
lib/.DS_Store
|
|
180
|
-
lib/net/.DS_Store
|
|
181
168
|
lib/net/ldif.rb
|
|
182
169
|
lib/ruby_sync.rb
|
|
183
170
|
lib/ruby_sync/connectors/active_record_association_handler.rb
|
|
@@ -202,8 +189,6 @@ nbproject/private/private.properties
|
|
|
202
189
|
nbproject/project.properties
|
|
203
190
|
nbproject/project.xml
|
|
204
191
|
rubysync.tmproj
|
|
205
|
-
test/.DS_Store
|
|
206
|
-
test/.LCKts_rubysync.rb~
|
|
207
192
|
test/data/example1.ldif
|
|
208
193
|
test/data/example2.ldif
|
|
209
194
|
test/data/example3.ldif
|
data/README.txt
CHANGED
|
@@ -20,7 +20,7 @@ for your organisation.
|
|
|
20
20
|
|
|
21
21
|
== SYNOPSIS:
|
|
22
22
|
|
|
23
|
-
This sets up the skeleton of a configuration for importing comma
|
|
23
|
+
This sets up the skeleton of a configuration for importing comma delimited
|
|
24
24
|
text files into a database. Note, if the application happens to be a Rails
|
|
25
25
|
app then it can also export changes.
|
|
26
26
|
|
data/Rakefile
CHANGED
|
@@ -26,6 +26,12 @@ Hoe.new('rubysync', Rubysync::VERSION) do |p|
|
|
|
26
26
|
p.url = p.paragraphs_of('README.txt', 0).first.split(/\n/)[1..-1]
|
|
27
27
|
p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n")
|
|
28
28
|
p.remote_rdoc_dir = ""
|
|
29
|
+
p.extra_deps = [
|
|
30
|
+
["ruby-net-ldap", ">=0.0.4"],
|
|
31
|
+
["activesupport", ">=1.4.0"],
|
|
32
|
+
["activerecord", ">=1.15.3"],
|
|
33
|
+
["simpleconsole", ">=0.1.1"]
|
|
34
|
+
]
|
|
29
35
|
end
|
|
30
36
|
|
|
31
37
|
# vim: syntax=Ruby
|
data/bin/rubysync
CHANGED
data/bin/rubysync.rb
CHANGED
data/lib/rubysync.rb
CHANGED
metadata
CHANGED
|
@@ -3,7 +3,7 @@ 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.
|
|
6
|
+
version: 0.0.5
|
|
7
7
|
date: 2007-09-18 00:00:00 +08:00
|
|
8
8
|
summary: Event driven identity synchronization engine
|
|
9
9
|
require_paths:
|
|
@@ -11,7 +11,7 @@ require_paths:
|
|
|
11
11
|
email: ritchiey@gmail.com
|
|
12
12
|
homepage: " by Ritchie Young"
|
|
13
13
|
rubyforge_project: rubysync
|
|
14
|
-
description: "You can configure RubySync to perform transformations on the data as it syncs. RubySync is designed both as a handy utility to pack into your directory management toolkit or as a fully-fledged provisioning system for your organisation. == FEATURES/PROBLEMS: == SYNOPSIS: This sets up the skeleton of a configuration for importing comma
|
|
14
|
+
description: "You can configure RubySync to perform transformations on the data as it syncs. RubySync is designed both as a handy utility to pack into your directory management toolkit or as a fully-fledged provisioning system for your organisation. == FEATURES/PROBLEMS: == SYNOPSIS: This sets up the skeleton of a configuration for importing comma delimited text files into a database. Note, if the application happens to be a Rails app then it can also export changes."
|
|
15
15
|
autorequire:
|
|
16
16
|
default_executable:
|
|
17
17
|
bindir: bin
|
|
@@ -36,7 +36,6 @@ files:
|
|
|
36
36
|
- Manifest.txt
|
|
37
37
|
- README.txt
|
|
38
38
|
- Rakefile
|
|
39
|
-
- bin/.DS_Store
|
|
40
39
|
- bin/rubysync
|
|
41
40
|
- bin/rubysync.rb
|
|
42
41
|
- docs/in_pipeline.graffle
|
|
@@ -46,7 +45,6 @@ files:
|
|
|
46
45
|
- docs/schema/rubysync.schema
|
|
47
46
|
- docs/to_sync.txt
|
|
48
47
|
- docs/walkthru.txt
|
|
49
|
-
- examples/.DS_Store
|
|
50
48
|
- examples/ar_client_webapp/README
|
|
51
49
|
- examples/ar_client_webapp/Rakefile
|
|
52
50
|
- examples/ar_client_webapp/app/controllers/application.rb
|
|
@@ -192,23 +190,12 @@ files:
|
|
|
192
190
|
- examples/ar_webapp/test/unit/ruby_sync_operation_test.rb
|
|
193
191
|
- examples/ar_webapp/test/unit/ruby_sync_state_test.rb
|
|
194
192
|
- examples/ar_webapp/test/unit/ruby_sync_value_test.rb
|
|
195
|
-
- examples/ar_webapp/tmp/sessions/ruby_sess.2295696b0af5f6dd
|
|
196
|
-
- examples/ar_webapp/tmp/sessions/ruby_sess.26687aeb19c87669
|
|
197
|
-
- examples/ar_webapp/tmp/sessions/ruby_sess.2855a3b0c8ea840b
|
|
198
|
-
- examples/ar_webapp/tmp/sessions/ruby_sess.45d2d48a8330ff28
|
|
199
|
-
- examples/ar_webapp/tmp/sessions/ruby_sess.7366b840f4ce9f12
|
|
200
|
-
- examples/ar_webapp/tmp/sessions/ruby_sess.b2fc3f2e6d8ae555
|
|
201
|
-
- examples/ar_webapp/tmp/sessions/ruby_sess.b6bf8470a62c02b0
|
|
202
193
|
- examples/ims2/connectors/hr_db_connector.rb
|
|
203
194
|
- examples/ims2/connectors/my_csv_connector.rb
|
|
204
195
|
- examples/ims2/pipelines/hr_import_pipeline.rb
|
|
205
|
-
- examples/my_ims/.DS_Store
|
|
206
196
|
- examples/my_ims/connectors/my_csv_connector.rb
|
|
207
197
|
- examples/my_ims/connectors/my_db_connector.rb
|
|
208
198
|
- examples/my_ims/pipelines/my_pipeline.rb
|
|
209
|
-
- gemspec
|
|
210
|
-
- lib/.DS_Store
|
|
211
|
-
- lib/net/.DS_Store
|
|
212
199
|
- lib/net/ldif.rb
|
|
213
200
|
- lib/ruby_sync.rb
|
|
214
201
|
- lib/ruby_sync/connectors/active_record_association_handler.rb
|
|
@@ -233,8 +220,6 @@ files:
|
|
|
233
220
|
- nbproject/project.properties
|
|
234
221
|
- nbproject/project.xml
|
|
235
222
|
- rubysync.tmproj
|
|
236
|
-
- test/.DS_Store
|
|
237
|
-
- test/.LCKts_rubysync.rb~
|
|
238
223
|
- test/data/example1.ldif
|
|
239
224
|
- test/data/example2.ldif
|
|
240
225
|
- test/data/example3.ldif
|
|
@@ -274,7 +259,6 @@ extra_rdoc_files:
|
|
|
274
259
|
- examples/ar_client_webapp/public/robots.txt
|
|
275
260
|
- examples/ar_webapp/public/robots.txt
|
|
276
261
|
executables:
|
|
277
|
-
- .DS_Store
|
|
278
262
|
- rubysync
|
|
279
263
|
- rubysync.rb
|
|
280
264
|
extensions: []
|
|
@@ -282,6 +266,42 @@ extensions: []
|
|
|
282
266
|
requirements: []
|
|
283
267
|
|
|
284
268
|
dependencies:
|
|
269
|
+
- !ruby/object:Gem::Dependency
|
|
270
|
+
name: ruby-net-ldap
|
|
271
|
+
version_requirement:
|
|
272
|
+
version_requirements: !ruby/object:Gem::Version::Requirement
|
|
273
|
+
requirements:
|
|
274
|
+
- - ">="
|
|
275
|
+
- !ruby/object:Gem::Version
|
|
276
|
+
version: 0.0.4
|
|
277
|
+
version:
|
|
278
|
+
- !ruby/object:Gem::Dependency
|
|
279
|
+
name: activesupport
|
|
280
|
+
version_requirement:
|
|
281
|
+
version_requirements: !ruby/object:Gem::Version::Requirement
|
|
282
|
+
requirements:
|
|
283
|
+
- - ">="
|
|
284
|
+
- !ruby/object:Gem::Version
|
|
285
|
+
version: 1.4.0
|
|
286
|
+
version:
|
|
287
|
+
- !ruby/object:Gem::Dependency
|
|
288
|
+
name: activerecord
|
|
289
|
+
version_requirement:
|
|
290
|
+
version_requirements: !ruby/object:Gem::Version::Requirement
|
|
291
|
+
requirements:
|
|
292
|
+
- - ">="
|
|
293
|
+
- !ruby/object:Gem::Version
|
|
294
|
+
version: 1.15.3
|
|
295
|
+
version:
|
|
296
|
+
- !ruby/object:Gem::Dependency
|
|
297
|
+
name: simpleconsole
|
|
298
|
+
version_requirement:
|
|
299
|
+
version_requirements: !ruby/object:Gem::Version::Requirement
|
|
300
|
+
requirements:
|
|
301
|
+
- - ">="
|
|
302
|
+
- !ruby/object:Gem::Version
|
|
303
|
+
version: 0.1.1
|
|
304
|
+
version:
|
|
285
305
|
- !ruby/object:Gem::Dependency
|
|
286
306
|
name: hoe
|
|
287
307
|
version_requirement:
|
data/bin/.DS_Store
DELETED
|
Binary file
|
data/examples/.DS_Store
DELETED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
data/examples/my_ims/.DS_Store
DELETED
|
Binary file
|
data/gemspec
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
# Copyright (c) 2007 Ritchie Young. All rights reserved.
|
|
2
|
-
#
|
|
3
|
-
# This file is part of RubySync.
|
|
4
|
-
#
|
|
5
|
-
# RubySync is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License
|
|
6
|
-
# as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
|
|
7
|
-
#
|
|
8
|
-
# RubySync is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
|
9
|
-
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
|
10
|
-
#
|
|
11
|
-
# You should have received a copy of the GNU General Public License along with RubySync; if not, write to the
|
|
12
|
-
# Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
require 'rubygems'
|
|
16
|
-
|
|
17
|
-
SPEC = Gem::Specification.new do |s|
|
|
18
|
-
s.name = "rubysync"
|
|
19
|
-
s.version = "0.0.3"
|
|
20
|
-
s.rubyforge_project = 'rubysync'
|
|
21
|
-
s.author = "Ritchie Young"
|
|
22
|
-
s.email = "ritchiey@gmail.com"
|
|
23
|
-
s.homepage = "http://rubysync.org"
|
|
24
|
-
#s.platform = "Gem::Platform::RUBY"
|
|
25
|
-
s.summary = "Event driven identity synchronization engine"
|
|
26
|
-
candidates = Dir.glob "{bin,docs,lib,test,examples}/**/*"
|
|
27
|
-
s.files = candidates.delete_if do |item|
|
|
28
|
-
item.include?("rubysync.tmproj") ||
|
|
29
|
-
item.include?(".svn") ||
|
|
30
|
-
item.include?(".project") ||
|
|
31
|
-
item.include?('.DS_Store') ||
|
|
32
|
-
item.include?('tmp') ||
|
|
33
|
-
item.include?('log')
|
|
34
|
-
end
|
|
35
|
-
s.bindir = 'bin'
|
|
36
|
-
s.require_path = 'lib'
|
|
37
|
-
s.executables = ['rubysync']
|
|
38
|
-
s.default_executable = 'rubysync'
|
|
39
|
-
s.autorequire = 'ruby_sync.rb'
|
|
40
|
-
s.test_file = 'test/ts_rubysync.rb'
|
|
41
|
-
s.has_rdoc = true
|
|
42
|
-
#s.extra_rdoc_files = ["README"]
|
|
43
|
-
s.add_dependency "ruby-net-ldap", ">=0.0.4"
|
|
44
|
-
s.add_dependency "activesupport", ">=1.4.0"
|
|
45
|
-
s.add_dependency "activerecord", ">=1.15.3"
|
|
46
|
-
s.add_dependency "simpleconsole", ">=0.1.1"
|
|
47
|
-
s.add_dependency "xmlsimple", ">=1.0.11"
|
|
48
|
-
end
|
data/lib/.DS_Store
DELETED
|
Binary file
|
data/lib/net/.DS_Store
DELETED
|
Binary file
|
data/test/.DS_Store
DELETED
|
Binary file
|
data/test/.LCKts_rubysync.rb~
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/Users/ritchiey/Projects/rubysync/test/.LCKts_rubysync.rb~
|