aua 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +3 -0
- data/.travis.yml +5 -0
- data/Gemfile +2 -0
- data/Guardfile +1 -1
- data/aua.gemspec +5 -5
- data/lib/aua.rb +17 -17
- data/lib/aua/agents.rb +2 -2
- data/lib/aua/agents/api_clients.rb +6 -6
- data/lib/aua/agents/chrome.rb +3 -3
- data/lib/aua/agents/engine_fallback.rb +2 -2
- data/lib/aua/agents/feed_reader.rb +6 -6
- data/lib/aua/agents/firefox.rb +4 -4
- data/lib/aua/agents/http_checker.rb +5 -5
- data/lib/aua/agents/konqueror.rb +4 -4
- data/lib/aua/agents/msie.rb +10 -7
- data/lib/aua/agents/opera.rb +4 -4
- data/lib/aua/agents/other_browsers.rb +3 -3
- data/lib/aua/agents/others.rb +5 -5
- data/lib/aua/agents/safari.rb +8 -8
- data/lib/aua/agents/search_bot.rb +5 -5
- data/lib/aua/operating_systems.rb +1 -1
- data/lib/aua/operating_systems/android.rb +8 -8
- data/lib/aua/operating_systems/ios.rb +4 -4
- data/lib/aua/operating_systems/linux.rb +6 -6
- data/lib/aua/operating_systems/mac.rb +11 -11
- data/lib/aua/operating_systems/mobiles.rb +5 -5
- data/lib/aua/operating_systems/palm.rb +9 -9
- data/lib/aua/operating_systems/windows.rb +10 -8
- data/lib/aua/version.rb +1 -1
- data/spec/aua_spec.rb +77 -57
- data/spec/spec_helper.rb +5 -0
- metadata +40 -31
- data/.rvmrc +0 -1
- data/Gemfile.lock +0 -42
data/spec/spec_helper.rb
CHANGED
@@ -5,4 +5,9 @@ if File.exist?(File.dirname(__FILE__) + '/../../aua-mite/')
|
|
5
5
|
$LOAD_PATH.unshift(File.dirname(__FILE__) + '/../../aua-mite/lib')
|
6
6
|
require "aua-mite"
|
7
7
|
puts "Loaded mite extension"
|
8
|
+
end
|
9
|
+
|
10
|
+
RSpec.configure do |config|
|
11
|
+
config.filter_run :focus => true
|
12
|
+
config.run_all_when_everything_filtered = true
|
8
13
|
end
|
metadata
CHANGED
@@ -1,60 +1,71 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aua
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
5
|
-
prerelease:
|
4
|
+
version: 0.2.3
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Sebastian Munz
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2013-07-18 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: rspec
|
16
|
-
requirement:
|
17
|
-
none: false
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - '>='
|
20
18
|
- !ruby/object:Gem::Version
|
21
|
-
version: 2.4
|
19
|
+
version: '2.4'
|
22
20
|
type: :development
|
23
21
|
prerelease: false
|
24
|
-
version_requirements:
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '2.4'
|
25
27
|
- !ruby/object:Gem::Dependency
|
26
28
|
name: guard-rspec
|
27
|
-
requirement:
|
28
|
-
none: false
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
29
30
|
requirements:
|
30
|
-
- -
|
31
|
+
- - '>='
|
31
32
|
- !ruby/object:Gem::Version
|
32
|
-
version: 0
|
33
|
+
version: '3.0'
|
33
34
|
type: :development
|
34
35
|
prerelease: false
|
35
|
-
version_requirements:
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '3.0'
|
36
41
|
- !ruby/object:Gem::Dependency
|
37
42
|
name: growl
|
38
|
-
requirement:
|
39
|
-
none: false
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
40
44
|
requirements:
|
41
|
-
- -
|
45
|
+
- - '>='
|
42
46
|
- !ruby/object:Gem::Version
|
43
|
-
version: 1.0
|
47
|
+
version: '1.0'
|
44
48
|
type: :development
|
45
49
|
prerelease: false
|
46
|
-
version_requirements:
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1.0'
|
47
55
|
- !ruby/object:Gem::Dependency
|
48
56
|
name: rb-fsevent
|
49
|
-
requirement:
|
50
|
-
none: false
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
51
58
|
requirements:
|
52
|
-
- -
|
59
|
+
- - '>='
|
53
60
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.
|
61
|
+
version: '0.9'
|
55
62
|
type: :development
|
56
63
|
prerelease: false
|
57
|
-
version_requirements:
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0.9'
|
58
69
|
description: aua = a user agent (parser).
|
59
70
|
email:
|
60
71
|
- sebastian@yo.lk
|
@@ -63,10 +74,9 @@ extensions: []
|
|
63
74
|
extra_rdoc_files: []
|
64
75
|
files:
|
65
76
|
- .gitignore
|
66
|
-
- .
|
77
|
+
- .travis.yml
|
67
78
|
- CHANGES.md
|
68
79
|
- Gemfile
|
69
|
-
- Gemfile.lock
|
70
80
|
- Guardfile
|
71
81
|
- LICENSE
|
72
82
|
- README.md
|
@@ -101,27 +111,26 @@ files:
|
|
101
111
|
- spec/spec_helper.rb
|
102
112
|
homepage: https://github.com/yolk/aua
|
103
113
|
licenses: []
|
114
|
+
metadata: {}
|
104
115
|
post_install_message:
|
105
116
|
rdoc_options: []
|
106
117
|
require_paths:
|
107
118
|
- lib
|
108
119
|
required_ruby_version: !ruby/object:Gem::Requirement
|
109
|
-
none: false
|
110
120
|
requirements:
|
111
|
-
- -
|
121
|
+
- - '>='
|
112
122
|
- !ruby/object:Gem::Version
|
113
123
|
version: '0'
|
114
124
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
115
|
-
none: false
|
116
125
|
requirements:
|
117
|
-
- -
|
126
|
+
- - '>='
|
118
127
|
- !ruby/object:Gem::Version
|
119
128
|
version: '0'
|
120
129
|
requirements: []
|
121
130
|
rubyforge_project: aua
|
122
|
-
rubygems_version:
|
131
|
+
rubygems_version: 2.0.3
|
123
132
|
signing_key:
|
124
|
-
specification_version:
|
133
|
+
specification_version: 4
|
125
134
|
summary: aua = a user agent (parser).
|
126
135
|
test_files:
|
127
136
|
- spec/aua_spec.rb
|
data/.rvmrc
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
rvm use ruby-1.9.3@aua --create
|
data/Gemfile.lock
DELETED
@@ -1,42 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
aua (0.2.1)
|
5
|
-
|
6
|
-
GEM
|
7
|
-
remote: http://rubygems.org/
|
8
|
-
specs:
|
9
|
-
configuration (1.2.0)
|
10
|
-
diff-lcs (1.1.2)
|
11
|
-
growl (1.0.3)
|
12
|
-
guard (0.3.0)
|
13
|
-
open_gem (~> 1.4.2)
|
14
|
-
thor (~> 0.14.6)
|
15
|
-
guard-rspec (0.1.9)
|
16
|
-
guard (>= 0.2.2)
|
17
|
-
launchy (0.3.7)
|
18
|
-
configuration (>= 0.0.5)
|
19
|
-
rake (>= 0.8.1)
|
20
|
-
open_gem (1.4.2)
|
21
|
-
launchy (~> 0.3.5)
|
22
|
-
rake (0.8.7)
|
23
|
-
rb-fsevent (0.3.9)
|
24
|
-
rspec (2.4.0)
|
25
|
-
rspec-core (~> 2.4.0)
|
26
|
-
rspec-expectations (~> 2.4.0)
|
27
|
-
rspec-mocks (~> 2.4.0)
|
28
|
-
rspec-core (2.4.0)
|
29
|
-
rspec-expectations (2.4.0)
|
30
|
-
diff-lcs (~> 1.1.2)
|
31
|
-
rspec-mocks (2.4.0)
|
32
|
-
thor (0.14.6)
|
33
|
-
|
34
|
-
PLATFORMS
|
35
|
-
ruby
|
36
|
-
|
37
|
-
DEPENDENCIES
|
38
|
-
aua!
|
39
|
-
growl (>= 1.0.3)
|
40
|
-
guard-rspec (>= 0.1.9)
|
41
|
-
rb-fsevent (>= 0.3.9)
|
42
|
-
rspec (>= 2.4.0)
|