Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Manifest.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ lib/net/ldap/entry.rb
lib/net/ldap/filter.rb
lib/net/ldap/password.rb
lib/net/ldap/pdu.rb
lib/net/ldap/version.rb
lib/net/snmp.rb
net-ldap.gemspec
spec/integration/ssl_ber_spec.rb
Expand Down
4 changes: 3 additions & 1 deletion lib/net/ber.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# -*- ruby encoding: utf-8 -*-
require 'net/ldap/version'

module Net # :nodoc:
##
# == Basic Encoding Rules (BER) Support Module
Expand Down Expand Up @@ -106,7 +108,7 @@ module Net # :nodoc:
# <tr><th>BMPString</th><th>C</th><td>30: 62 (0x3e, 0b00111110)</td></tr>
# </table>
module BER
VERSION = '0.4.0'
VERSION = Net::LDAP::VERSION

##
# Used for BER-encoding the length and content bytes of a Fixnum integer
Expand Down
2 changes: 1 addition & 1 deletion lib/net/ldap.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ class LDAP
require 'net/ldap/dataset'
require 'net/ldap/password'
require 'net/ldap/entry'
require 'net/ldap/version'

# == Quick-start for the Impatient
# === Quick Example of a user-authentication against an LDAP directory:
Expand Down Expand Up @@ -241,7 +242,6 @@ class LDAP
# and then keeps it open while it executes a user-supplied block.
# Net::LDAP#open closes the connection on completion of the block.
class Net::LDAP
VERSION = "0.4.0"

class LdapError < StandardError; end

Expand Down
5 changes: 5 additions & 0 deletions lib/net/ldap/version.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module Net
class LDAP
VERSION = "0.4.0"
end
end
4 changes: 3 additions & 1 deletion lib/net/snmp.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# -*- ruby encoding: utf-8 -*-
require 'net/ldap/version'

# :stopdoc:
module Net
class SNMP
VERSION = '0.4.0'
VERSION = Net::LDAP::VERSION

AsnSyntax = Net::BER.compile_syntax({
:application => {
Expand Down
6 changes: 5 additions & 1 deletion net-ldap.gemspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
# -*- encoding: utf-8 -*-
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'net/ldap/version'

Gem::Specification.new do |s|
s.name = %q{net-ldap}
s.version = "0.4.0"
s.version = Net::LDAP::VERSION

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Francis Cianfrocca", "Emiel van de Laar", "Rory O'Connell", "Kaspar Schiess", "Austin Ziegler"]
Expand Down