prevoty 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/prevoty/responses/query_analysis.rb +9 -9
- data/lib/prevoty/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e2f1c570217f3b21f6f836011447c9987480658d
|
4
|
+
data.tar.gz: 5514c8210fbd6936c447554d592902fbb64c6e28
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 862c68168adc6ab55830efefa966e7a442d1fc2823f5ff35ce343f10d86fc6aff824a1d54ed052bb25ccbd39b0c77d4b821e63757c6bdc55975b1ac243cdd920
|
7
|
+
data.tar.gz: eff1028ca5fafe112ebb0ab3d81734e65abe2aef4ae91c4ae040f9c0baa7c8d56a92755dfb6bf42f27b48f44844b33a8e8b3ba7c58c072dd38be1cb73b2e1d7d
|
@@ -73,15 +73,15 @@ module Prevoty
|
|
73
73
|
:subquery_violations, :function_violations
|
74
74
|
|
75
75
|
def initialize(data)
|
76
|
-
row_create_violations = data["row_create_violations"].map {|el| Table.new(el)}
|
77
|
-
column_read_violations = data["column_read_violations"].map {|el| Column.new(el)}
|
78
|
-
column_update_violations = data["column_update_violations"].map {|el| Column.new(el)}
|
79
|
-
row_delete_violations = data["row_delete_violations"].map {|el| Table.new(el)}
|
80
|
-
admin_violation = data["admin_violation"]
|
81
|
-
union_violations = data["union_violations"].map {|el| Table.new(el)}
|
82
|
-
join_violations = data["join_violations"].map {|el| Table.new(el)}
|
83
|
-
subquery_violations = data["subquery_violations"].map {|el| Table.new(el)}
|
84
|
-
function_violations = data["function_violations"].map {|el| FunctionCall.new(el)}
|
76
|
+
@row_create_violations = data["row_create_violations"].map {|el| Table.new(el)}
|
77
|
+
@column_read_violations = data["column_read_violations"].map {|el| Column.new(el)}
|
78
|
+
@column_update_violations = data["column_update_violations"].map {|el| Column.new(el)}
|
79
|
+
@row_delete_violations = data["row_delete_violations"].map {|el| Table.new(el)}
|
80
|
+
@admin_violation = data["admin_violation"]
|
81
|
+
@union_violations = data["union_violations"].map {|el| Table.new(el)}
|
82
|
+
@join_violations = data["join_violations"].map {|el| Table.new(el)}
|
83
|
+
@subquery_violations = data["subquery_violations"].map {|el| Table.new(el)}
|
84
|
+
@function_violations = data["function_violations"].map {|el| FunctionCall.new(el)}
|
85
85
|
end
|
86
86
|
end
|
87
87
|
end
|
data/lib/prevoty/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: prevoty
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joe Rozner
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-02-
|
11
|
+
date: 2015-02-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|
@@ -115,7 +115,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
115
115
|
version: '0'
|
116
116
|
requirements: []
|
117
117
|
rubyforge_project:
|
118
|
-
rubygems_version: 2.
|
118
|
+
rubygems_version: 2.2.2
|
119
119
|
signing_key:
|
120
120
|
specification_version: 4
|
121
121
|
summary: Pevoty API client for Ruby
|