blur 1.8.6 → 2.1.6
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 +5 -5
- data/README.md +10 -24
- data/executables/blur +63 -0
- data/library/blur/callbacks.rb +53 -0
- data/library/blur/channel.rb +78 -0
- data/library/blur/client.rb +165 -107
- data/library/blur/handling.rb +259 -179
- data/library/blur/network/connection.rb +26 -30
- data/library/blur/network/isupport.rb +38 -32
- data/library/blur/network.rb +193 -55
- data/library/blur/script.rb +132 -116
- data/library/blur/script_cache.rb +45 -0
- data/library/blur/user.rb +122 -0
- data/library/blur/version.rb +3 -3
- data/library/blur.rb +46 -19
- metadata +35 -28
- data/library/blur/encryption/base64.rb +0 -71
- data/library/blur/encryption/fish.rb +0 -80
- data/library/blur/encryption.rb +0 -17
- data/library/blur/enhancements.rb +0 -41
- data/library/blur/evaluable.rb +0 -13
- data/library/blur/extension.rb +0 -42
- data/library/blur/network/channel.rb +0 -91
- data/library/blur/network/command.rb +0 -83
- data/library/blur/network/user.rb +0 -106
- data/library/blur/script/cache.rb +0 -77
- data/library/blur/script/commands.rb +0 -77
- data/library/blur/script/dsl.rb +0 -52
data/library/blur/script/dsl.rb
DELETED
@@ -1,52 +0,0 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
|
3
|
-
module Blur
|
4
|
-
class Script
|
5
|
-
module DSL
|
6
|
-
def self.included base
|
7
|
-
base.send :attr_accessor, :__name
|
8
|
-
base.send :attr_accessor, :__author
|
9
|
-
base.send :attr_accessor, :__version
|
10
|
-
base.send :attr_accessor, :__description
|
11
|
-
end
|
12
|
-
|
13
|
-
# Set the author.
|
14
|
-
#
|
15
|
-
# @example
|
16
|
-
# Author "John Doe <john.doe@gmail.com>"
|
17
|
-
def Author *authors
|
18
|
-
@__author = authors.join ', '
|
19
|
-
end
|
20
|
-
|
21
|
-
# Set the description.
|
22
|
-
#
|
23
|
-
# @example
|
24
|
-
# Description "This is an example script."
|
25
|
-
def Description description
|
26
|
-
@__description = description
|
27
|
-
end
|
28
|
-
|
29
|
-
# Set the version.
|
30
|
-
#
|
31
|
-
# @example
|
32
|
-
# Version "1.0"
|
33
|
-
def Version version
|
34
|
-
@__version = version
|
35
|
-
end
|
36
|
-
|
37
|
-
# @return the name of the script.
|
38
|
-
def name; @__name end
|
39
|
-
|
40
|
-
# @return the name of the author(s).
|
41
|
-
def author; @__author end
|
42
|
-
|
43
|
-
# @return the script version.
|
44
|
-
def version; @__version end
|
45
|
-
|
46
|
-
# @return the description.
|
47
|
-
def description; @__description end
|
48
|
-
|
49
|
-
alias_method :Authors, :Author
|
50
|
-
end
|
51
|
-
end
|
52
|
-
end
|