periscope_rails 0.0.6 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Gemfile.lock +1 -1
- data/app/periscope/periscope_controller.rb +1 -0
- data/lib/periscope_rails/config.rb +1 -1
- data/lib/periscope_rails/version.rb +1 -1
- data/periscope_rails.gemspec +1 -1
- metadata +6 -6
data/Gemfile.lock
CHANGED
@@ -54,6 +54,7 @@ class PeriscopeController < ActionController::Base
|
|
54
54
|
end
|
55
55
|
rescue Exception => e
|
56
56
|
puts "Warning: Periscope was unable to cost this query (1): #{command}" unless e.message == "OK"
|
57
|
+
raise e if e.message.include?("Command blocked")
|
57
58
|
end
|
58
59
|
active_record.transaction do #execution
|
59
60
|
rows = active_record.connection.select_all(command)
|
data/periscope_rails.gemspec
CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |s|
|
|
11
11
|
s.summary = "Rails API for Periscope Database Viewer"
|
12
12
|
s.description = "Periscope allows you to query your production database. The gem provides the API for Periscope to communicate with your Rails app."
|
13
13
|
s.files = Dir["{app,lib,config}/**/*"] + ["MIT-LICENSE", "Rakefile", "Gemfile", "README.rdoc"]
|
14
|
-
s.version = "0.0.
|
14
|
+
s.version = "0.0.7"
|
15
15
|
|
16
16
|
s.add_dependency "activesupport" , "~> 3.0"
|
17
17
|
s.add_dependency "rails" , "~> 3.0"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: periscope_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,11 +10,11 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2012-05-
|
13
|
+
date: 2012-05-16 00:00:00.000000000Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activesupport
|
17
|
-
requirement: &
|
17
|
+
requirement: &26868516 !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
20
20
|
- - ~>
|
@@ -22,10 +22,10 @@ dependencies:
|
|
22
22
|
version: '3.0'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
|
-
version_requirements: *
|
25
|
+
version_requirements: *26868516
|
26
26
|
- !ruby/object:Gem::Dependency
|
27
27
|
name: rails
|
28
|
-
requirement: &
|
28
|
+
requirement: &26868216 !ruby/object:Gem::Requirement
|
29
29
|
none: false
|
30
30
|
requirements:
|
31
31
|
- - ~>
|
@@ -33,7 +33,7 @@ dependencies:
|
|
33
33
|
version: '3.0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
|
-
version_requirements: *
|
36
|
+
version_requirements: *26868216
|
37
37
|
description: Periscope allows you to query your production database. The gem provides
|
38
38
|
the API for Periscope to communicate with your Rails app.
|
39
39
|
email:
|