device_detector 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -5
- data/CHANGELOG.md +3 -1
- data/README.md +5 -5
- data/Rakefile +16 -12
- data/lib/device_detector.rb +15 -0
- data/lib/device_detector/memory_cache.rb +21 -14
- data/lib/device_detector/os.rb +6 -3
- data/lib/device_detector/version.rb +3 -1
- data/regexes/bots.yml +73 -7
- data/regexes/client/browsers.yml +80 -2
- data/regexes/client/feed_readers.yml +7 -7
- data/regexes/client/libraries.yml +13 -1
- data/regexes/client/mediaplayers.yml +9 -5
- data/regexes/client/mobile_apps.yml +21 -0
- data/regexes/device/mobiles.yml +5616 -402
- data/regexes/device/televisions.yml +1 -1
- data/regexes/oss.yml +71 -13
- data/spec/device_detector/memory_cache_spec.rb +51 -19
- data/spec/device_detector_spec.rb +26 -55
- data/spec/fixtures/client/browser.yml +221 -96
- data/spec/fixtures/client/feed_reader.yml +0 -6
- data/spec/fixtures/client/library.yml +25 -1
- data/spec/fixtures/client/mediaplayer.yml +0 -12
- data/spec/fixtures/client/mobile_app.yml +24 -0
- data/spec/fixtures/detector/bots.yml +168 -3
- data/spec/fixtures/detector/desktop.yml +1422 -1422
- data/spec/fixtures/detector/feature_phone.yml +21 -1
- data/spec/fixtures/detector/feed_reader.yml +18 -5
- data/spec/fixtures/detector/mediaplayer.yml +33 -3
- data/spec/fixtures/detector/mobile_apps.yml +55 -6
- data/spec/fixtures/detector/phablet.yml +924 -164
- data/spec/fixtures/detector/smartphone-1.yml +4654 -4655
- data/spec/fixtures/detector/smartphone-10.yml +12362 -0
- data/spec/fixtures/detector/smartphone-11.yml +7639 -0
- data/spec/fixtures/detector/smartphone-2.yml +4232 -4247
- data/spec/fixtures/detector/smartphone-3.yml +4348 -4237
- data/spec/fixtures/detector/smartphone-4.yml +4110 -4103
- data/spec/fixtures/detector/smartphone-5.yml +5651 -2716
- data/spec/fixtures/detector/smartphone-6.yml +9896 -0
- data/spec/fixtures/detector/smartphone-7.yml +9899 -0
- data/spec/fixtures/detector/smartphone-8.yml +9945 -0
- data/spec/fixtures/detector/smartphone-9.yml +9916 -0
- data/spec/fixtures/detector/smartphone.yml +4114 -4013
- data/spec/fixtures/detector/tablet-1.yml +3857 -3857
- data/spec/fixtures/detector/tablet-2.yml +6681 -1787
- data/spec/fixtures/detector/tablet-3.yml +5134 -0
- data/spec/fixtures/detector/tablet.yml +3383 -3406
- data/spec/fixtures/detector/tv.yml +338 -24
- data/spec/fixtures/detector/unknown.yml +0 -120
- data/spec/fixtures/parser/oss.yml +135 -0
- metadata +17 -3
There are too many changes on this page to be displayed.
The amount of changes on this page would crash your brower.
You can still verify the content by downloading the gem file manually.