metasploit-model 2.0.4 → 3.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. checksums.yaml +5 -5
  2. checksums.yaml.gz.sig +0 -0
  3. data.tar.gz.sig +0 -0
  4. data/.travis.yml +8 -3
  5. data/.yardopts +2 -1
  6. data/Gemfile +2 -2
  7. data/app/validators/address_format_validator.rb +26 -0
  8. data/app/validators/ip_format_validator.rb +13 -19
  9. data/app/validators/nil_validator.rb +3 -3
  10. data/app/validators/parameters_validator.rb +18 -10
  11. data/app/validators/password_is_strong_validator.rb +93 -67
  12. data/lib/metasploit/model.rb +1 -0
  13. data/lib/metasploit/model/base.rb +2 -2
  14. data/lib/metasploit/model/engine.rb +2 -2
  15. data/lib/metasploit/model/file.rb +1 -0
  16. data/lib/metasploit/model/search/attribute.rb +1 -1
  17. data/lib/metasploit/model/search/operator/help.rb +1 -1
  18. data/lib/metasploit/model/translation.rb +2 -2
  19. data/lib/metasploit/model/version.rb +1 -1
  20. data/metasploit-model.gemspec +11 -13
  21. data/spec/app/models/metasploit/model/association/reflection_spec.rb +2 -2
  22. data/spec/app/models/metasploit/model/search/operator/association_spec.rb +1 -1
  23. data/spec/app/models/metasploit/model/search/operator/attribute_spec.rb +1 -1
  24. data/spec/app/validators/address_format_validator_spec.rb +136 -0
  25. data/spec/app/validators/ip_format_validator_spec.rb +0 -24
  26. data/spec/app/validators/password_is_strong_validator_spec.rb +31 -42
  27. data/spec/dummy/app/models/application_record.rb +3 -0
  28. data/spec/dummy/config/application.rb +1 -5
  29. data/spec/dummy/config/environments/development.rb +0 -10
  30. data/spec/dummy/db/schema.rb +0 -1
  31. data/spec/factories/metasploit/model/association/reflections.rb +1 -1
  32. data/spec/factories/metasploit/model/bases.rb +1 -1
  33. data/spec/factories/metasploit/model/search/operator/associations.rb +1 -1
  34. data/spec/factories/metasploit/model/search/operator/attributes.rb +1 -1
  35. data/spec/factories/metasploit/model/search/operator/bases.rb +1 -1
  36. data/spec/lib/metasploit/model/engine_spec.rb +3 -3
  37. data/spec/lib/metasploit/model/search/attribute_spec.rb +2 -2
  38. metadata +106 -99
  39. metadata.gz.sig +0 -0
  40. data/spec/dummy/config/initializers/assets.rb +0 -8
metadata.gz.sig CHANGED
Binary file
@@ -1,8 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Version of your assets, change this if you want to expire all your assets.
4
- Rails.application.config.assets.version = '1.0'
5
-
6
- # Precompile additional assets.
7
- # application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
8
- # Rails.application.config.assets.precompile += %w( search.js )