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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 63fa617b429dc2087bbf0917932fc28f49e12b7c
4
- data.tar.gz: e1050721f2a1332245c474607adfc086901887fc
3
+ metadata.gz: e2f1c570217f3b21f6f836011447c9987480658d
4
+ data.tar.gz: 5514c8210fbd6936c447554d592902fbb64c6e28
5
5
  SHA512:
6
- metadata.gz: e6f7ac8b2a3b01e3ecfff195e68a553b49f7462a69413a27c13236b39002dcdfa3cf4d3a50d950662f5a8a1b2ba2da42d12811b0a79e3b275c6220f120e42abd
7
- data.tar.gz: c05eb8efdf398245f98fcc90daec454f0eb5f3dfdf0b5ce0a75dd70e0b6df76454c4f46f53ad0eb208ad5fcec171fb65769e0bad096b90e936dea8482fad7d1d
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
@@ -1,3 +1,3 @@
1
1
  module Prevoty
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
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.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 00:00:00.000000000 Z
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.4.5
118
+ rubygems_version: 2.2.2
119
119
  signing_key:
120
120
  specification_version: 4
121
121
  summary: Pevoty API client for Ruby