aua-mite 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/.rvmrc +1 -1
- data/CHANGES.md +5 -1
- data/Gemfile.lock +2 -2
- data/lib/aua-mite/agents/eon.rb +14 -0
- data/lib/aua-mite/agents/standard_mite_client.rb +1 -1
- data/lib/aua-mite/agents.rb +1 -1
- data/lib/aua-mite/version.rb +1 -1
- data/spec/aua-mite_spec.rb +13 -1
- metadata +63 -96
data/.rvmrc
CHANGED
@@ -1 +1 @@
|
|
1
|
-
rvm use ruby-1.9.
|
1
|
+
rvm use ruby-1.9.3@aua-mite --create
|
data/CHANGES.md
CHANGED
@@ -1,6 +1,10 @@
|
|
1
1
|
### dev
|
2
2
|
|
3
|
-
[full changelog](http://github.com/yolk/aua-mite/compare/v0.0.
|
3
|
+
[full changelog](http://github.com/yolk/aua-mite/compare/v0.0.5...master)
|
4
|
+
|
5
|
+
### 0.0.5 / 2012-03-29
|
6
|
+
|
7
|
+
[full changelog](http://github.com/yolk/aua-mite/compare/v0.0.4...v0.0.5)
|
4
8
|
|
5
9
|
### 0.0.4 / 2011-02-16
|
6
10
|
|
data/Gemfile.lock
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
module Aua::Agents::StandardMiteClient
|
2
2
|
|
3
|
-
KNOWN_CLIENTS = %w(git2mite Mite-on-rails mite-rb jmite Redmine2mite Mantis2mite Billomat hearttp centralstationcrm)
|
3
|
+
KNOWN_CLIENTS = %w(git2mite Mite-on-rails mite-rb jmite Redmine2mite Mantis2mite Billomat hearttp centralstationcrm mighty-mite-statistics)
|
4
4
|
MITE_STANDARD = /^mite\.([a-z]+)/
|
5
5
|
|
6
6
|
def self.extend?(agent)
|
data/lib/aua-mite/agents.rb
CHANGED
@@ -3,4 +3,4 @@ Dir["#{File.dirname(__FILE__)}/agents/*.rb"].each do |agent|
|
|
3
3
|
end
|
4
4
|
|
5
5
|
Aua::Agents.default << Aua::Agents::Fuerst << Aua::Agents::MiteGo <<
|
6
|
-
Aua::Agents::StandardMiteClient << Aua::Agents::AllMite << Aua::Agents::Anytime
|
6
|
+
Aua::Agents::StandardMiteClient << Aua::Agents::AllMite << Aua::Agents::Anytime << Aua::Agents::Eon
|
data/lib/aua-mite/version.rb
CHANGED
data/spec/aua-mite_spec.rb
CHANGED
@@ -69,7 +69,19 @@ describe "Mite Extension" do
|
|
69
69
|
|
70
70
|
# hearttp
|
71
71
|
"hearttp/0.0.1" =>
|
72
|
-
{ :type => :HttpChecker, :name => :"hearttp", :version => "0.0.1", :os_name => nil, :os_version => nil, :platform => nil}
|
72
|
+
{ :type => :HttpChecker, :name => :"hearttp", :version => "0.0.1", :os_name => nil, :os_version => nil, :platform => nil},
|
73
|
+
|
74
|
+
# Eon
|
75
|
+
"Eon/223 CFNetwork/520.3.2 Darwin/11.3.0 (x86_64) (iMac12%2C2)" =>
|
76
|
+
{ :type => :ApiClient, :name => :"Eon", :version => "223", :os_name => :Darwin, :os_version => "11.3.0", :platform => :Darwin},
|
77
|
+
"Eon/316 CFNetwork/520.3.2 Darwin/11.3.0 (x86_64) (MacBookPro4%2C1)" =>
|
78
|
+
{ :type => :ApiClient, :name => :"Eon", :version => "316", :os_name => :Darwin, :os_version => "11.3.0", :platform => :Darwin},
|
79
|
+
"Eon/331 CFNetwork/520.3.2 Darwin/11.3.0 (x86_64) (MacBookPro8%2C2)" =>
|
80
|
+
{ :type => :ApiClient, :name => :"Eon", :version => "331", :os_name => :Darwin, :os_version => "11.3.0", :platform => :Darwin},
|
81
|
+
|
82
|
+
# mighty-mite-statistics
|
83
|
+
"mighty-mite-statistics/0.0.1" =>
|
84
|
+
{ :type => :ApiClient, :name => :"mighty-mite-statistics", :version => "0.0.1", :os_name => nil, :os_version => nil, :platform => nil}
|
73
85
|
}
|
74
86
|
|
75
87
|
EXAMPLES_MITE.each do |string, values|
|
metadata
CHANGED
@@ -1,107 +1,80 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: aua-mite
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
- 0
|
7
|
-
- 0
|
8
|
-
- 4
|
9
|
-
version: 0.0.4
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.5
|
5
|
+
prerelease:
|
10
6
|
platform: ruby
|
11
|
-
authors:
|
7
|
+
authors:
|
12
8
|
- Sebastian Munz
|
13
9
|
autorequire:
|
14
10
|
bindir: bin
|
15
11
|
cert_chain: []
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
dependencies:
|
20
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2012-03-29 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
21
15
|
name: aua
|
22
|
-
|
23
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: &2157792260 !ruby/object:Gem::Requirement
|
24
17
|
none: false
|
25
|
-
requirements:
|
26
|
-
- -
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
segments:
|
29
|
-
- 0
|
30
|
-
- 1
|
31
|
-
- 0
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
32
21
|
version: 0.1.0
|
33
22
|
type: :runtime
|
34
|
-
version_requirements: *id001
|
35
|
-
- !ruby/object:Gem::Dependency
|
36
|
-
name: rspec
|
37
23
|
prerelease: false
|
38
|
-
|
24
|
+
version_requirements: *2157792260
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: rspec
|
27
|
+
requirement: &2157791760 !ruby/object:Gem::Requirement
|
39
28
|
none: false
|
40
|
-
requirements:
|
41
|
-
- -
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
segments:
|
44
|
-
- 2
|
45
|
-
- 4
|
46
|
-
- 0
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
47
32
|
version: 2.4.0
|
48
33
|
type: :development
|
49
|
-
version_requirements: *id002
|
50
|
-
- !ruby/object:Gem::Dependency
|
51
|
-
name: guard-rspec
|
52
34
|
prerelease: false
|
53
|
-
|
35
|
+
version_requirements: *2157791760
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: guard-rspec
|
38
|
+
requirement: &2157791300 !ruby/object:Gem::Requirement
|
54
39
|
none: false
|
55
|
-
requirements:
|
56
|
-
- -
|
57
|
-
- !ruby/object:Gem::Version
|
58
|
-
segments:
|
59
|
-
- 0
|
60
|
-
- 1
|
61
|
-
- 9
|
40
|
+
requirements:
|
41
|
+
- - ! '>='
|
42
|
+
- !ruby/object:Gem::Version
|
62
43
|
version: 0.1.9
|
63
44
|
type: :development
|
64
|
-
version_requirements: *id003
|
65
|
-
- !ruby/object:Gem::Dependency
|
66
|
-
name: growl
|
67
45
|
prerelease: false
|
68
|
-
|
46
|
+
version_requirements: *2157791300
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: growl
|
49
|
+
requirement: &2157790840 !ruby/object:Gem::Requirement
|
69
50
|
none: false
|
70
|
-
requirements:
|
71
|
-
- -
|
72
|
-
- !ruby/object:Gem::Version
|
73
|
-
segments:
|
74
|
-
- 1
|
75
|
-
- 0
|
76
|
-
- 3
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
77
54
|
version: 1.0.3
|
78
55
|
type: :development
|
79
|
-
version_requirements: *id004
|
80
|
-
- !ruby/object:Gem::Dependency
|
81
|
-
name: rb-fsevent
|
82
56
|
prerelease: false
|
83
|
-
|
57
|
+
version_requirements: *2157790840
|
58
|
+
- !ruby/object:Gem::Dependency
|
59
|
+
name: rb-fsevent
|
60
|
+
requirement: &2157790380 !ruby/object:Gem::Requirement
|
84
61
|
none: false
|
85
|
-
requirements:
|
86
|
-
- -
|
87
|
-
- !ruby/object:Gem::Version
|
88
|
-
segments:
|
89
|
-
- 0
|
90
|
-
- 3
|
91
|
-
- 9
|
62
|
+
requirements:
|
63
|
+
- - ! '>='
|
64
|
+
- !ruby/object:Gem::Version
|
92
65
|
version: 0.3.9
|
93
66
|
type: :development
|
94
|
-
|
95
|
-
|
96
|
-
|
67
|
+
prerelease: false
|
68
|
+
version_requirements: *2157790380
|
69
|
+
description: Extension for aua (https://github.com/yolk/aua) to recognize custom mite
|
70
|
+
api clients by there user agent string. Not very useful for anyone outside of mite/yolk.
|
71
|
+
But maybe handy as a example of extending aua.
|
72
|
+
email:
|
97
73
|
- sebastian@yo.lk
|
98
74
|
executables: []
|
99
|
-
|
100
75
|
extensions: []
|
101
|
-
|
102
76
|
extra_rdoc_files: []
|
103
|
-
|
104
|
-
files:
|
77
|
+
files:
|
105
78
|
- .gitignore
|
106
79
|
- .rvmrc
|
107
80
|
- CHANGES.md
|
@@ -116,44 +89,38 @@ files:
|
|
116
89
|
- lib/aua-mite/agents.rb
|
117
90
|
- lib/aua-mite/agents/all_mite.rb
|
118
91
|
- lib/aua-mite/agents/anytime.rb
|
92
|
+
- lib/aua-mite/agents/eon.rb
|
119
93
|
- lib/aua-mite/agents/fuerst.rb
|
120
94
|
- lib/aua-mite/agents/mite_go.rb
|
121
95
|
- lib/aua-mite/agents/standard_mite_client.rb
|
122
96
|
- lib/aua-mite/version.rb
|
123
97
|
- spec/aua-mite_spec.rb
|
124
98
|
- spec/spec_helper.rb
|
125
|
-
has_rdoc: true
|
126
99
|
homepage: https://github.com/yolk/aua-mite
|
127
100
|
licenses: []
|
128
|
-
|
129
101
|
post_install_message:
|
130
102
|
rdoc_options: []
|
131
|
-
|
132
|
-
require_paths:
|
103
|
+
require_paths:
|
133
104
|
- lib
|
134
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
105
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
135
106
|
none: false
|
136
|
-
requirements:
|
137
|
-
- -
|
138
|
-
- !ruby/object:Gem::Version
|
139
|
-
|
140
|
-
|
141
|
-
version: "0"
|
142
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ! '>='
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
143
112
|
none: false
|
144
|
-
requirements:
|
145
|
-
- -
|
146
|
-
- !ruby/object:Gem::Version
|
147
|
-
|
148
|
-
- 0
|
149
|
-
version: "0"
|
113
|
+
requirements:
|
114
|
+
- - ! '>='
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: '0'
|
150
117
|
requirements: []
|
151
|
-
|
152
118
|
rubyforge_project: aua-mite
|
153
|
-
rubygems_version: 1.
|
119
|
+
rubygems_version: 1.8.10
|
154
120
|
signing_key:
|
155
121
|
specification_version: 3
|
156
|
-
summary: Extension for aua to recognize custom mite api clients by there user agent
|
157
|
-
|
122
|
+
summary: Extension for aua to recognize custom mite api clients by there user agent
|
123
|
+
string.
|
124
|
+
test_files:
|
158
125
|
- spec/aua-mite_spec.rb
|
159
126
|
- spec/spec_helper.rb
|