treequel 1.2.0pre320 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/ChangeLog CHANGED
@@ -1,4 +1,4 @@
1
- 320[tip] ccdee2d78e68 2010-11-24 18:21 -0800 ged
1
+ 320[github/master,master,tip] ccdee2d78e68 2010-11-24 18:21 -0800 ged
2
2
  Updated build system.
3
3
 
4
4
  319 47697f2ebc27 2010-11-24 18:18 -0800 ged
@@ -259,54 +259,54 @@
259
259
  234:232 e96bbf2e7325 2010-02-03 18:23 -0800 ged
260
260
  Adding the beginnings of ActiveDirectory support, treequel shell options, server introspection.
261
261
 
262
- 233:230,232 1d06d28159a6 2010-01-26 10:56 -0800 ged
262
+ 233:231,232 1d06d28159a6 2010-01-26 10:56 -0800 ged
263
263
  Merged with 230:b994d8d9d608
264
264
 
265
- 232 8b2fb7415412 2010-01-26 10:55 -0800 ged
265
+ 232:230 8b2fb7415412 2010-01-26 10:55 -0800 ged
266
266
  Initial (untested) implementation of the sorted results control.
267
267
 
268
- 231:229 84087b01d473 2010-01-13 20:12 -0800 ged
269
- Make treequel shell's 'cat' command error for non-existant entries
270
-
271
- 230 b994d8d9d608 2010-01-24 12:57 -0800 ged
268
+ 231:229 b994d8d9d608 2010-01-24 12:57 -0800 ged
272
269
  Convert the option parsers to a class global instead of a constant
273
270
 
271
+ 230 84087b01d473 2010-01-13 20:12 -0800 ged
272
+ Make treequel shell's 'cat' command error for non-existant entries
273
+
274
274
  229 669a09149f48 2010-01-13 11:36 -0800 ged
275
275
  Fix the 'grep' command in the Treequel shell.
276
276
 
277
277
  228 ab2a2ff43b60 2010-01-12 10:12 -0800 ged
278
278
  Operational attributes propagation and treequel shell fixes.
279
279
 
280
- 227:226,223 14f5f723d0aa 2010-01-07 16:43 -0800 ged
280
+ 227:226,225 14f5f723d0aa 2010-01-07 16:43 -0800 ged
281
281
  Merged with d77a0bf26034
282
282
 
283
- 226 00ac1bc4e917 2010-01-07 16:42 -0800 ged
283
+ 226:223 00ac1bc4e917 2010-01-07 16:42 -0800 ged
284
284
  Updated build system
285
285
 
286
- 225 5afefa230ef0 2010-01-07 16:41 -0800 ged
287
- Improvements to the treequel shell, fixes for 1.9.1.
288
-
289
- 224:221 83b178f0850e 2010-01-06 19:24 -0800 ged
290
- Eliminate duplicates when smushing RDN attributes on a Treequel::Directory#create
291
-
292
- 223 d77a0bf26034 2009-12-22 15:13 -0800 ged
286
+ 225 d77a0bf26034 2009-12-22 15:13 -0800 ged
293
287
  Reworked LDIF display colors in the shell to be more visible.
294
288
 
295
- 222 9aeccec1ee84 2009-12-22 15:02 -0800 ged
289
+ 224:221 9aeccec1ee84 2009-12-22 15:02 -0800 ged
296
290
  Make the treequel shell fall back to plain connect (with a warning) if TLS fails.
297
291
 
298
- 221:219,220 3bdd645530fe 2009-12-22 09:40 -0800 ged
299
- Automated merge with ssh://hg@deveiate/Treequel
292
+ 223 5afefa230ef0 2010-01-07 16:41 -0800 ged
293
+ Improvements to the treequel shell, fixes for 1.9.1.
300
294
 
301
- 220:217 31c326800cc6 2009-12-22 09:40 -0800 ged
302
- Treequel shell fix, splitting off the LDAP monitor example, version bump.
295
+ 222 83b178f0850e 2010-01-06 19:24 -0800 ged
296
+ Eliminate duplicates when smushing RDN attributes on a Treequel::Directory#create
303
297
 
304
- 219:218,217 9571c9d8e4dd 2009-12-18 10:23 -0800 ged
298
+ 221:220,218 3bdd645530fe 2009-12-22 09:40 -0800 ged
299
+ Automated merge with ssh://hg@deveiate/Treequel
300
+
301
+ 220:219,217 9571c9d8e4dd 2009-12-18 10:23 -0800 ged
305
302
  Merged with 5fd4033e1556
306
303
 
307
- 218:216 ffc2ebacdfd0 2009-12-17 21:50 -0800 ged
304
+ 219:216 ffc2ebacdfd0 2009-12-17 21:50 -0800 ged
308
305
  More controls work, started several more control modules.
309
306
 
307
+ 218 31c326800cc6 2009-12-22 09:40 -0800 ged
308
+ Treequel shell fix, splitting off the LDAP monitor example, version bump.
309
+
310
310
  217 5fd4033e1556 2009-12-16 11:24 -0800 ged
311
311
  Updated build system, normalized comments in mixins.rb.
312
312
 
@@ -673,36 +673,36 @@
673
673
  96 6b5358420802 2009-07-31 08:29 -0700 ged
674
674
  Updated build system
675
675
 
676
- 95:93,94 a5e715f5f877 2009-07-31 08:13 -0700 ged
676
+ 95:94,92 a5e715f5f877 2009-07-31 08:13 -0700 ged
677
677
  Merged. Someday I'll get the hang of this.
678
678
 
679
- 94:91 46e6dce0c011 2009-07-29 13:28 -0700 ged
680
- * Adding coverage cache to the ignorefile.
681
-
682
- 93:92,91 395b7bf6f248 2009-07-28 06:11 -0700 ged
679
+ 94:93,91 395b7bf6f248 2009-07-28 06:11 -0700 ged
683
680
  Merged with 34cc97817266
684
681
 
685
- 92:88 89f74035c67d 2009-07-28 06:10 -0700 ged
682
+ 93:89 89f74035c67d 2009-07-28 06:10 -0700 ged
686
683
  Manual rewording, .hgignore updates
687
684
 
685
+ 92 46e6dce0c011 2009-07-29 13:28 -0700 ged
686
+ * Adding coverage cache to the ignorefile.
687
+
688
688
  91 34cc97817266 2009-07-27 12:06 -0700 ged
689
689
  Updated build system
690
690
 
691
- 90:89,88 daf0e44c41ac 2009-07-27 11:58 -0700 ged
691
+ 90:86,89 daf0e44c41ac 2009-07-27 11:58 -0700 ged
692
692
  Merging work from gont
693
693
 
694
- 89:83 fc3c3bac2c22 2009-07-24 17:27 -0700 ged
695
- Unlinking the subrepo, as it doesn't behave well enough quite yet.
696
-
697
- 88:83,87 b7a919b2ad5d 2009-07-24 21:07 -0700 ged
694
+ 89:83,88 b7a919b2ad5d 2009-07-24 21:07 -0700 ged
698
695
  Merging build system fixes
699
696
 
700
- 87 620807d4c6d5 2009-07-24 21:05 -0700 ged
697
+ 88 620807d4c6d5 2009-07-24 21:05 -0700 ged
701
698
  Updated build system
702
699
 
703
- 86 f631900a9ad8 2009-07-24 19:33 -0700 ged
700
+ 87:85 f631900a9ad8 2009-07-24 19:33 -0700 ged
704
701
  Removing subrepo, as it doesn't work quite the way I'd hoped.
705
702
 
703
+ 86:83 fc3c3bac2c22 2009-07-24 17:27 -0700 ged
704
+ Unlinking the subrepo, as it doesn't behave well enough quite yet.
705
+
706
706
  85 65236b2101e5 2009-07-24 11:22 -0700 ged
707
707
  Initial commit of Mercurial-based tasks
708
708
 
data/Rakefile CHANGED
@@ -42,6 +42,7 @@ rescue LoadError
42
42
  end
43
43
  end
44
44
 
45
+ require 'pathname'
45
46
  require 'rbconfig'
46
47
  require 'rake'
47
48
  require 'rake/testtask'
data/lib/treequel.rb CHANGED
@@ -25,7 +25,7 @@ end
25
25
 
26
26
  # A library for interacting with LDAP modelled after Sequel.
27
27
  #
28
- # @version 1.2.0
28
+ # @version 1.1.1
29
29
  #
30
30
  # @example
31
31
  # # Connect to the directory at the specified URL
data/rake/hg.rb CHANGED
@@ -83,6 +83,15 @@ unless defined?( HG_DOTDIR )
83
83
  return paths
84
84
  end
85
85
 
86
+ ### Return the list of files which are not of status 'clean'
87
+ def get_uncommitted_files
88
+ list = read_command_output( 'hg', 'status', '-n', '--color', 'never' )
89
+ list = list.split( /\n/ )
90
+
91
+ trace "Changed files: %p" % [ list ]
92
+ return list
93
+ end
94
+
86
95
  ### Return the list of files which are of status 'unknown'
87
96
  def get_unknown_files
88
97
  list = read_command_output( 'hg', 'status', '-un', '--color', 'never' )
@@ -149,6 +158,15 @@ unless defined?( HG_DOTDIR )
149
158
 
150
159
  desc "Prepare for a new release"
151
160
  task :prep_release do
161
+ uncommitted_files = get_uncommitted_files()
162
+ unless uncommitted_files.empty?
163
+ log "Uncommitted files:\n",
164
+ *uncommitted_files.map {|fn| " #{fn}\n" }
165
+ ask_for_confirmation( "\nRelease anyway?", true ) do
166
+ log "Okay, releasing with uncommitted versions."
167
+ end
168
+ end
169
+
152
170
  tags = get_tags()
153
171
  rev = get_current_rev()
154
172
  pkg_version_tag = "v#{PKG_VERSION}"
data/rake/testing.rb CHANGED
@@ -47,6 +47,7 @@ begin
47
47
  ### Task: spec
48
48
  desc "Run specs"
49
49
  task :spec => 'spec:doc'
50
+ task :specs => :spec
50
51
 
51
52
  namespace :spec do
52
53
  desc "Run rspec every time there's a change to one of the files"
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: treequel
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 31
4
5
  prerelease: false
5
6
  segments:
6
7
  - 1
7
8
  - 2
8
9
  - 0
9
- version: 1.2.0pre320
10
+ version: 1.2.0
10
11
  platform: ruby
11
12
  authors:
12
13
  - Michael Granger
@@ -35,7 +36,7 @@ cert_chain:
35
36
  cmlhXe46pZNJgWKbxZah85jIjx95hR8vOI+NAM5iH9kOqK13DrxacTKPhqj5PjwF
36
37
  -----END CERTIFICATE-----
37
38
 
38
- date: 2010-11-28 00:00:00 -08:00
39
+ date: 2010-11-30 00:00:00 -08:00
39
40
  default_executable:
40
41
  dependencies:
41
42
  - !ruby/object:Gem::Dependency
@@ -46,6 +47,7 @@ dependencies:
46
47
  requirements:
47
48
  - - ~>
48
49
  - !ruby/object:Gem::Version
50
+ hash: 41
49
51
  segments:
50
52
  - 0
51
53
  - 9
@@ -167,6 +169,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
167
169
  requirements:
168
170
  - - ">="
169
171
  - !ruby/object:Gem::Version
172
+ hash: 57
170
173
  segments:
171
174
  - 1
172
175
  - 8
@@ -177,6 +180,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
177
180
  requirements:
178
181
  - - ">="
179
182
  - !ruby/object:Gem::Version
183
+ hash: 3
180
184
  segments:
181
185
  - 0
182
186
  version: "0"
metadata.gz.sig CHANGED
Binary file