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.
Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +1 -5
  3. data/CHANGELOG.md +3 -1
  4. data/README.md +5 -5
  5. data/Rakefile +16 -12
  6. data/lib/device_detector.rb +15 -0
  7. data/lib/device_detector/memory_cache.rb +21 -14
  8. data/lib/device_detector/os.rb +6 -3
  9. data/lib/device_detector/version.rb +3 -1
  10. data/regexes/bots.yml +73 -7
  11. data/regexes/client/browsers.yml +80 -2
  12. data/regexes/client/feed_readers.yml +7 -7
  13. data/regexes/client/libraries.yml +13 -1
  14. data/regexes/client/mediaplayers.yml +9 -5
  15. data/regexes/client/mobile_apps.yml +21 -0
  16. data/regexes/device/mobiles.yml +5616 -402
  17. data/regexes/device/televisions.yml +1 -1
  18. data/regexes/oss.yml +71 -13
  19. data/spec/device_detector/memory_cache_spec.rb +51 -19
  20. data/spec/device_detector_spec.rb +26 -55
  21. data/spec/fixtures/client/browser.yml +221 -96
  22. data/spec/fixtures/client/feed_reader.yml +0 -6
  23. data/spec/fixtures/client/library.yml +25 -1
  24. data/spec/fixtures/client/mediaplayer.yml +0 -12
  25. data/spec/fixtures/client/mobile_app.yml +24 -0
  26. data/spec/fixtures/detector/bots.yml +168 -3
  27. data/spec/fixtures/detector/desktop.yml +1422 -1422
  28. data/spec/fixtures/detector/feature_phone.yml +21 -1
  29. data/spec/fixtures/detector/feed_reader.yml +18 -5
  30. data/spec/fixtures/detector/mediaplayer.yml +33 -3
  31. data/spec/fixtures/detector/mobile_apps.yml +55 -6
  32. data/spec/fixtures/detector/phablet.yml +924 -164
  33. data/spec/fixtures/detector/smartphone-1.yml +4654 -4655
  34. data/spec/fixtures/detector/smartphone-10.yml +12362 -0
  35. data/spec/fixtures/detector/smartphone-11.yml +7639 -0
  36. data/spec/fixtures/detector/smartphone-2.yml +4232 -4247
  37. data/spec/fixtures/detector/smartphone-3.yml +4348 -4237
  38. data/spec/fixtures/detector/smartphone-4.yml +4110 -4103
  39. data/spec/fixtures/detector/smartphone-5.yml +5651 -2716
  40. data/spec/fixtures/detector/smartphone-6.yml +9896 -0
  41. data/spec/fixtures/detector/smartphone-7.yml +9899 -0
  42. data/spec/fixtures/detector/smartphone-8.yml +9945 -0
  43. data/spec/fixtures/detector/smartphone-9.yml +9916 -0
  44. data/spec/fixtures/detector/smartphone.yml +4114 -4013
  45. data/spec/fixtures/detector/tablet-1.yml +3857 -3857
  46. data/spec/fixtures/detector/tablet-2.yml +6681 -1787
  47. data/spec/fixtures/detector/tablet-3.yml +5134 -0
  48. data/spec/fixtures/detector/tablet.yml +3383 -3406
  49. data/spec/fixtures/detector/tv.yml +338 -24
  50. data/spec/fixtures/detector/unknown.yml +0 -120
  51. data/spec/fixtures/parser/oss.yml +135 -0
  52. 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.