Commit Graph

81 Commits

Author SHA1 Message Date
2e3e592af6 Require ruby-2.4+ in gemspec
Since we don't test older rubies.
2022-01-17 16:10:57 +01:00
d22a67b0e7 Use do-end syntax for multiline blocks
This is more standard these days.
2022-01-17 16:08:40 +01:00
791f9dc72c Fix memberships of bothcase-users
Only one of both users was recognized as a member of the LDAP group.
2022-01-17 16:05:51 +01:00
c6c6562ac4 Bump VERSION to 0.3.0 2022-01-17 15:03:13 +01:00
d8ea157c66 Add config option :bothcase_name 2022-01-17 14:48:49 +01:00
8034957d28 Update CI-Link to travis.com 2022-01-17 14:13:51 +01:00
bf1137ff11 CI: Update ruby and PostgreSQL versions 2022-01-17 14:04:15 +01:00
98c0d5328f Relax gem dependencies 2022-01-17 13:37:33 +01:00
52ca5fc323 Update predefined roles for PostgreSQL-14 2022-01-17 13:37:09 +01:00
49a03915a7 Update README regarding the use of bundler [ci skip] 2018-03-14 10:04:56 +01:00
83a59119ea Fix headings in CHANGELOG 2018-03-14 09:56:42 +01:00
68680a5a21 Rename History.txt to CHANGELOG.md 2018-03-14 09:54:26 +01:00
30a8854eed Update History to 0.2.0 release 2018-03-14 09:53:49 +01:00
d2fce3f9a9 Remove Rubinius from README [ci skip]
pg gem is not compatible to Rubinius
2018-03-14 09:45:21 +01:00
5552268e40 Remove feature of using postgres-pr gem from README
See commit 5169177b97
2018-03-14 08:34:27 +01:00
6c143d74c2 Fix tests on Windows 2018-03-13 16:56:14 +01:00
257b1a5e49 Whole bunch of changes
Run sync within a SQL transaction, so that no partial sync happens

Don't abort on SQL errors, but print ERROR notice

Exit with code 1 when any ERRORs were logged

Silence the test suite, so that test runs are more clearly

Use PG queries instead of psql in test. This is more flexible
than parsing text outputs per Regexp.
2018-03-13 16:34:50 +01:00
d9cb63ed98 Separate tests into one operation per test 2018-02-12 22:09:00 +01:00
0632dae5eb README: Add path to initdb as an example 2018-02-10 20:29:31 +01:00
02d7ad6756 Convert README from rdoc to markdown
Also add CI badges
2018-02-06 23:21:26 +01:00
be9a5a7531 Update net-ldap dependency to get rid of the github vulnerability message 2018-02-06 23:09:21 +01:00
7480afcfbd Add CI tests on Travis-ci and Appveyor 2018-02-06 23:03:32 +01:00
e55b6305f7 Fix minitest assertion 2018-02-06 22:31:40 +01:00
3d676d20d1 Exclude default roles of PostgreSQL-10 2018-02-06 22:31:06 +01:00
5169177b97 Remove possibility to use postgres-pr
It is no longer maintained and doesn't work with current PostgreSQL versions.
2018-02-06 22:29:48 +01:00
e73cdd52a9 Merge branch 'master' of github.com:larskanis/pg-ldap-sync 2018-02-06 22:00:56 +01:00
bab7a9c952 Fix compatibility with PostgreSQL-10 2018-02-06 21:59:27 +01:00
2d700214af Add pg_ldap_sync --version 2018-02-06 21:58:53 +01:00
611abf1594 Move from Hoe to Bundler
This adds a gemspec and a Gemfile to the repository.
2018-02-06 21:56:53 +01:00
752cefa9c3 Merge pull request #20 from martinkangur/master
Update application.rb
2018-02-06 14:57:02 +01:00
6294c7e883 Update application.rb
@pgconn is already defined, so lets us it
2018-02-06 15:55:20 +02:00
0e5a997f3f Merge pull request #19 from martinkangur/master
Fix compat with pg-1.0
2018-01-31 12:35:36 +01:00
2f24829bc5 Use PG everywhere instead of PGconn 2018-01-31 13:14:43 +02:00
9cbb8e9e87 Update application.rb
Use PG.connect instead of PGconn.connect
2018-01-31 12:47:28 +02:00
ffb2ea1323 Update README.rdoc 2016-01-13 16:45:40 +01:00
e528db6ef6 Add links to config files on github in README. 2014-03-06 14:16:25 +01:00
67b50ae365 Use sample-config2 to show simple_tls parameters 2013-08-29 11:19:28 +02:00
40a32023ca Prepare for release 2012-11-15 17:02:55 +01:00
1df48950f5 Add ability to lowercase the LDAP name for use as PG role name 2012-11-14 11:03:50 +01:00
f5be151bd6 Update links to pg.gem documentation 2012-11-14 10:10:45 +01:00
c36abdd906 Adjust test, so that it runs on Windows 2011-07-14 11:08:17 +02:00
6d6b94f87e clarified requirements in README 2011-07-14 10:15:45 +02:00
4bccfcc039 clarified requirements in README 2011-07-14 09:48:12 +02:00
585beeccc0 add some documentation 2011-07-13 21:14:04 +02:00
417f0d7c40 adjust github link - was parsed wrong from hoe 2011-07-13 15:23:47 +02:00
565f1cb011 Update History.txt 2011-07-13 15:19:47 +02:00
564bd8bb5c Update Manifest.txt 2011-07-13 15:00:31 +02:00
e5a392dfd6 Update README 2011-07-13 14:59:55 +02:00
321781679d fix crash when droping a role and revoking it's memberships afterwards 2011-07-08 15:50:33 +02:00
9082ebf032 postgres-pr needs to set the login user name 2011-07-08 13:34:10 +02:00