ruby-cyrus-sasl 0.0.1 → 0.0.2
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/LICENSE +17 -22
- data/README.rdoc +18 -8
- data/lib/ruby-cyrus-sasl.rb +2 -2
- metadata +8 -5
data/LICENSE
CHANGED
@@ -1,25 +1,20 @@
|
|
1
|
-
Copyright 2011 Hauke Mehrtens
|
1
|
+
Copyright (c) 2011 Hauke Mehrtens
|
2
2
|
|
3
|
-
|
4
|
-
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
'Software'), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
5
10
|
|
6
|
-
|
7
|
-
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
8
13
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
17
|
-
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
18
|
-
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
19
|
-
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
20
|
-
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
21
|
-
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
22
|
-
|
23
|
-
The views and conclusions contained in the software and documentation are those of the
|
24
|
-
authors and should not be interpreted as representing official policies, either expressed
|
25
|
-
or implied, of Hauke Mehrtens.
|
14
|
+
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
17
|
+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
18
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
19
|
+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
20
|
+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.rdoc
CHANGED
@@ -1,32 +1,42 @@
|
|
1
1
|
= ruby-cyrus-sasl
|
2
2
|
|
3
|
-
*
|
3
|
+
* https://github.com/hauke/ruby-cyrus-sasl
|
4
4
|
|
5
5
|
== DESCRIPTION:
|
6
6
|
|
7
|
-
|
7
|
+
This package provides a ruby binding for Cyrus SASL.
|
8
|
+
For now it only contains the parts needed for the SASL Client, but the
|
9
|
+
architecture is build to also support the server Part.
|
8
10
|
|
9
11
|
== FEATURES/PROBLEMS:
|
10
12
|
|
11
|
-
*
|
13
|
+
* Cyrus sasl client ruby binding
|
12
14
|
|
13
15
|
== SYNOPSIS:
|
14
16
|
|
15
|
-
|
17
|
+
require 'ruby-cyrus-sasl/imap'
|
18
|
+
|
19
|
+
imap = Net::IMAP.new('imap.example.org')
|
20
|
+
imap.authenticate_cyrus('hauke', 'test', 'hauke')
|
21
|
+
imap.examine('INBOX')
|
22
|
+
imap.search(["ALL"]).each do |message_id|
|
23
|
+
envelope = imap.fetch(message_id, "ENVELOPE")[0].attr["ENVELOPE"]
|
24
|
+
puts "#{envelope.from[0].name}: \t#{envelope.subject}"
|
25
|
+
end
|
16
26
|
|
17
27
|
== REQUIREMENTS:
|
18
28
|
|
19
|
-
*
|
29
|
+
* cyrus sasl
|
20
30
|
|
21
31
|
== INSTALL:
|
22
32
|
|
23
|
-
*
|
33
|
+
* sudo gem install
|
24
34
|
|
25
35
|
== LICENSE:
|
26
36
|
|
27
37
|
(The MIT License)
|
28
38
|
|
29
|
-
Copyright (c) 2011
|
39
|
+
Copyright (c) 2011 Hauke Mehrtens
|
30
40
|
|
31
41
|
Permission is hereby granted, free of charge, to any person obtaining
|
32
42
|
a copy of this software and associated documentation files (the
|
@@ -45,4 +55,4 @@ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
45
55
|
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
46
56
|
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
47
57
|
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
48
|
-
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
58
|
+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/lib/ruby-cyrus-sasl.rb
CHANGED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 2
|
9
|
+
version: 0.0.2
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Hauke Mehrtens
|
@@ -32,7 +32,10 @@ dependencies:
|
|
32
32
|
version: 2.8.0
|
33
33
|
type: :development
|
34
34
|
version_requirements: *id001
|
35
|
-
description:
|
35
|
+
description: |-
|
36
|
+
This package provides a ruby binding for Cyrus SASL.
|
37
|
+
For now it only contains the parts needed for the SASL Client, but the
|
38
|
+
architecture is build to also support the server Part.
|
36
39
|
email:
|
37
40
|
- hauke@hauke-m.de
|
38
41
|
executables: []
|
@@ -67,7 +70,7 @@ files:
|
|
67
70
|
- test/test_ruby-cyrus-sasl.rb
|
68
71
|
- test/test_rubysasl_extn.rb
|
69
72
|
has_rdoc: true
|
70
|
-
homepage:
|
73
|
+
homepage: https://github.com/hauke/ruby-cyrus-sasl
|
71
74
|
licenses: []
|
72
75
|
|
73
76
|
post_install_message: PostInstall.txt
|
@@ -99,7 +102,7 @@ rubyforge_project: ruby-cyrus-sasl
|
|
99
102
|
rubygems_version: 1.3.7
|
100
103
|
signing_key:
|
101
104
|
specification_version: 3
|
102
|
-
summary:
|
105
|
+
summary: This package provides a ruby binding for Cyrus SASL
|
103
106
|
test_files:
|
104
107
|
- test/test_rubysasl_extn.rb
|
105
108
|
- test/test_ruby-cyrus-sasl.rb
|