ronin-code-sql 2.0.0.beta1 → 2.0.0

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/.github/workflows/ruby.yml +1 -0
  3. data/.yardopts +1 -1
  4. data/README.md +5 -4
  5. data/gemspec.yml +3 -3
  6. data/lib/ronin/code/sql/binary_expr.rb +1 -1
  7. data/lib/ronin/code/sql/clause.rb +1 -1
  8. data/lib/ronin/code/sql/clauses.rb +1 -1
  9. data/lib/ronin/code/sql/emittable.rb +1 -1
  10. data/lib/ronin/code/sql/emitter.rb +1 -1
  11. data/lib/ronin/code/sql/field.rb +2 -2
  12. data/lib/ronin/code/sql/fields.rb +1 -1
  13. data/lib/ronin/code/sql/function.rb +1 -1
  14. data/lib/ronin/code/sql/functions.rb +1 -1
  15. data/lib/ronin/code/sql/injection.rb +1 -1
  16. data/lib/ronin/code/sql/injection_expr.rb +1 -1
  17. data/lib/ronin/code/sql/literal.rb +1 -1
  18. data/lib/ronin/code/sql/literals.rb +1 -1
  19. data/lib/ronin/code/sql/operators.rb +1 -1
  20. data/lib/ronin/code/sql/statement.rb +1 -1
  21. data/lib/ronin/code/sql/statement_list.rb +1 -1
  22. data/lib/ronin/code/sql/statements.rb +1 -1
  23. data/lib/ronin/code/sql/unary_expr.rb +1 -1
  24. data/lib/ronin/code/sql/version.rb +2 -2
  25. data/lib/ronin/code/sql.rb +1 -1
  26. data/ronin-code-sql.gemspec +2 -1
  27. metadata +7 -51
  28. data/spec/spec_helper.rb +0 -3
  29. data/spec/sql/binary_expr_examples.rb +0 -25
  30. data/spec/sql/binary_expr_spec.rb +0 -5
  31. data/spec/sql/clause_examples.rb +0 -43
  32. data/spec/sql/clause_spec.rb +0 -31
  33. data/spec/sql/clauses_spec.rb +0 -47
  34. data/spec/sql/emittable_spec.rb +0 -41
  35. data/spec/sql/emitter_spec.rb +0 -533
  36. data/spec/sql/field_spec.rb +0 -103
  37. data/spec/sql/fields_spec.rb +0 -40
  38. data/spec/sql/function_examples.rb +0 -30
  39. data/spec/sql/function_spec.rb +0 -25
  40. data/spec/sql/functions_spec.rb +0 -113
  41. data/spec/sql/injection_expr_spec.rb +0 -98
  42. data/spec/sql/injection_spec.rb +0 -172
  43. data/spec/sql/literal_spec.rb +0 -5
  44. data/spec/sql/literals_spec.rb +0 -46
  45. data/spec/sql/operators_spec.rb +0 -44
  46. data/spec/sql/statement_examples.rb +0 -39
  47. data/spec/sql/statement_list_spec.rb +0 -48
  48. data/spec/sql/statement_spec.rb +0 -38
  49. data/spec/sql/statements_spec.rb +0 -22
  50. data/spec/sql/unary_expr_examples.rb +0 -20
  51. data/spec/sql/unary_expr_spec.rb +0 -5
  52. data/spec/sql_spec.rb +0 -18
data/spec/sql_spec.rb DELETED
@@ -1,18 +0,0 @@
1
- require 'spec_helper'
2
- require 'ronin/code/sql'
3
-
4
- describe Ronin::Code::SQL do
5
- subject { Object.new.extend(described_class) }
6
-
7
- describe "#sql" do
8
- it "should return a new SQL::StatementList" do
9
- expect(subject.sql).to be_kind_of(Ronin::Code::SQL::StatementList)
10
- end
11
- end
12
-
13
- describe "#sqli" do
14
- it "should return a new SQL::Injection" do
15
- expect(subject.sqli).to be_kind_of(Ronin::Code::SQL::Injection)
16
- end
17
- end
18
- end