rails-pg-extras-web 0.1.0 → 1.4.0

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
  SHA256:
3
- metadata.gz: c38b308833f95b44ec69458f762fdff8ddd7ae5414b628ca0619c4d6b8c17871
4
- data.tar.gz: '0607678d4a6fae56d1af5024cf7bc40d4b40cad3258e97a2b87b2c7f546c79bc'
3
+ metadata.gz: 2bb9d409d90fab84472b4bd269596d14afaae3e323d2cee4fb6f272ed484bf58
4
+ data.tar.gz: 7a419c40627ad77bf156ee5fe961c482f35f223c186cd8be3eb856909b6d0519
5
5
  SHA512:
6
- metadata.gz: caa689489549961d3563b840444d617caed45821a9ea952215b97ddec72b00150cf15c7b6ebc3fcda038a629aa4c593d23917ed1765d09fd38b372c1635dc28e
7
- data.tar.gz: c4813eeed8770cf98d518ed5690b564f1b24615f3c992286cc2fc0cde452a35bf42ba1cf950a2d7b8d8ebe796ea25551ceaac3616c79e3a3091fb94dc37c23c5
6
+ metadata.gz: cf4a3c2c6dfb46d754ba8828c24b8dfb13ea1a3c421b6a26ae910561f70ff9c9cb2372814c766cc4a0a5a5813f1b1a603edecee6f83271cc280657cfa9e3c8b0
7
+ data.tar.gz: 11f0129835929ec74a54ff16e9e5a5fb07b929306feda6e1d3de0e2b7ddb716e011a3803053f8fcc5745217d30bc4608ff231ca4067f1baed38d87aac66b4595
data/README.md CHANGED
@@ -5,7 +5,7 @@ Web UI for rails-pg-extras-web
5
5
  Add this line to your application's Gemfile:
6
6
 
7
7
  ```ruby
8
- gem 'rails-pg-extras-web', github: 'defkode/rails-pg-extras-web'
8
+ gem 'rails-pg-extras-web'
9
9
  ```
10
10
 
11
11
  And then execute:
@@ -7,7 +7,7 @@ module RailsPgExtrasWeb
7
7
  def run
8
8
  if @query_name = params[:query_name].presence
9
9
  begin
10
- @result = ActiveRecord::Base.connection.execute RubyPGExtras.sql_for(query_name: @query_name)
10
+ @result = RailsPGExtras.run_query(query_name: @query_name.to_sym, in_format: :raw)
11
11
  rescue ActiveRecord::StatementInvalid => e
12
12
  @error = e.message
13
13
  end
@@ -1,3 +1,3 @@
1
1
  module RailsPgExtrasWeb
2
- VERSION = '0.1.0'
2
+ VERSION = '1.4.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-pg-extras-web
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomasz Mazur
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-10 00:00:00.000000000 Z
11
+ date: 2021-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pg
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '1.2'
33
+ version: 1.4.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '1.2'
40
+ version: 1.4.0
41
41
  description:
42
42
  email:
43
43
  - tomasz.mazur@hey.com
@@ -76,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
76
76
  - !ruby/object:Gem::Version
77
77
  version: '0'
78
78
  requirements: []
79
- rubygems_version: 3.0.3
79
+ rubygems_version: 3.1.4
80
80
  signing_key:
81
81
  specification_version: 4
82
82
  summary: Web UI for rails-pg-extras