cinch-login 0.1
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.
- checksums.yaml +15 -0
- data/lib/cinch/plugins/login.rb +29 -0
- metadata +57 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
---
|
|
2
|
+
!binary "U0hBMQ==":
|
|
3
|
+
metadata.gz: !binary |-
|
|
4
|
+
M2VmNzFkNjdkYjM1OGM2NDgxNzM5YzA0M2FmYTJmMGQwZGQ0ODFkMA==
|
|
5
|
+
data.tar.gz: !binary |-
|
|
6
|
+
NGM0ZTg4NzEzNTU2NmQ5MWNmZTkyNDg4ZGUzZTczNDAzMGQ0YzRkOA==
|
|
7
|
+
!binary "U0hBNTEy":
|
|
8
|
+
metadata.gz: !binary |-
|
|
9
|
+
NTgzNzJhMzI5MDU4MTJmMGZmYzU1NDdmMTA5MTVjZTQ2NmEyZDIxNjdiZWQ0
|
|
10
|
+
MzE3MDkyNWIxNTE0MjJhZmU4ZDRkYzljZjg1NTg0OTllZTFiM2FhZWVhODQ2
|
|
11
|
+
MDAxOTE2NzM3MDRjOTgzYzZkNDVlNjk0YWE4Y2IxNTA1OGFkZDQ=
|
|
12
|
+
data.tar.gz: !binary |-
|
|
13
|
+
YzNmOTA5ZTdlOTE3ZmEyOGFiMTRjY2UxNTdlMDY3ZDdjZWVlMjZiMGU1MGFk
|
|
14
|
+
MDhmZjQ0MmJkM2U0MTY0ZjZmZGE5NGJiZTdiMGNiNWI4ZThiYjhhODAzOWZj
|
|
15
|
+
NmQxZjM5NWFiMDRjMTVmZWM3N2E2MmY0MTIwZTQ5NTIyZjViYmE=
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
##
|
|
2
|
+
# DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
|
3
|
+
# Version 2, December 2004
|
|
4
|
+
#
|
|
5
|
+
# Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
|
|
6
|
+
#
|
|
7
|
+
# Everyone is permitted to copy and distribute verbatim or modified
|
|
8
|
+
# copies of this license document, and changing it is allowed as long
|
|
9
|
+
# as the name is changed.
|
|
10
|
+
#
|
|
11
|
+
# DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
|
12
|
+
# TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
|
13
|
+
#
|
|
14
|
+
# 0. You just DO WHAT THE FUCK YOU WANT TO.
|
|
15
|
+
##
|
|
16
|
+
|
|
17
|
+
module Cinch
|
|
18
|
+
module Plugins
|
|
19
|
+
class Login
|
|
20
|
+
include Cinch::Plugin
|
|
21
|
+
|
|
22
|
+
listen_to :connect, method: :login
|
|
23
|
+
|
|
24
|
+
def login(m)
|
|
25
|
+
User('nickserv').send("identify #{config[:password]}")
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: cinch-login
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: '0.1'
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Giovanni Capuano
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2013-07-10 00:00:00.000000000 Z
|
|
12
|
+
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: cinch
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - ! '>='
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: '0'
|
|
20
|
+
type: :runtime
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - ! '>='
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: '0'
|
|
27
|
+
description: A plugin allowing to sign in automatically your bot to NickServ.
|
|
28
|
+
email: webmaster@giovannicapuano.net
|
|
29
|
+
executables: []
|
|
30
|
+
extensions: []
|
|
31
|
+
extra_rdoc_files: []
|
|
32
|
+
files:
|
|
33
|
+
- lib/cinch/plugins/login.rb
|
|
34
|
+
homepage: http://www.giovannicapuano.net
|
|
35
|
+
licenses: []
|
|
36
|
+
metadata: {}
|
|
37
|
+
post_install_message:
|
|
38
|
+
rdoc_options: []
|
|
39
|
+
require_paths:
|
|
40
|
+
- lib
|
|
41
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
42
|
+
requirements:
|
|
43
|
+
- - ! '>='
|
|
44
|
+
- !ruby/object:Gem::Version
|
|
45
|
+
version: '0'
|
|
46
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
47
|
+
requirements:
|
|
48
|
+
- - ! '>='
|
|
49
|
+
- !ruby/object:Gem::Version
|
|
50
|
+
version: '0'
|
|
51
|
+
requirements: []
|
|
52
|
+
rubyforge_project:
|
|
53
|
+
rubygems_version: 2.0.4
|
|
54
|
+
signing_key:
|
|
55
|
+
specification_version: 4
|
|
56
|
+
summary: Allow to sign in your bot to NickServ.
|
|
57
|
+
test_files: []
|