sliver-rails 0.1.0 → 0.1.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: a602a7ec57e691d3da4697d141d4b571fa690ec5
4
- data.tar.gz: 6f5950675d41e5802d1c4c929a850ab7e9f4ca02
3
+ metadata.gz: f7c14d480287cbdc9a25447e5ceb56f4afb27fb9
4
+ data.tar.gz: bd5d0f5640681685401e4530b25159139d8eb45f
5
5
  SHA512:
6
- metadata.gz: 3ce1572bd6bb0e237022ebefac65a0f1ead860de4b92cf296894482b1d0128e33ceeda2ddea895c0068819dccfdbdb698e1b30101700c73805bd69b4ab7797dc
7
- data.tar.gz: f43f53d17a40d0861f04626ded74785c4eabf5591a14dc5f77409ebe244761a97b40f8e0403af6044cb2f4bf6eab35fc3511a4b1971efd42a4e1b5775d1010cb
6
+ metadata.gz: c856f578505b93d71e73e6c45733414d71f1c382be0e5cb13fdb8e908ed6c2ffb7292dacab3a5d70870add10706b3821a9ec91c099a1abd35781e8c04fcdf5c5
7
+ data.tar.gz: 15ae1661f31276d01692fda474dc30e05fca889e66603997943aab4ff5c1510765a45deeea461425e48ba382fc6b0b609be391e1753cdbc69c5b9a4464488dcf
@@ -3,6 +3,16 @@ class Sliver::Rails::Action
3
3
 
4
4
  BODIED_METHODS = %w( post put patch )
5
5
 
6
+ def self.call(environment)
7
+ request = ::Rack::Request.new environment
8
+ Rails.logger.info "Processing by #{name}"
9
+ if request.params.any?
10
+ Rails.logger.info " Parameters: #{request.params.inspect}"
11
+ end
12
+
13
+ super
14
+ end
15
+
6
16
  def self.expose(name, options = {}, &block)
7
17
  add_exposed_methods name, options, &block if block_given?
8
18
 
data/sliver-rails.gemspec CHANGED
@@ -1,7 +1,7 @@
1
1
  # coding: utf-8
2
2
  Gem::Specification.new do |spec|
3
3
  spec.name = 'sliver-rails'
4
- spec.version = '0.1.0'
4
+ spec.version = '0.1.1'
5
5
  spec.authors = ['Pat Allan']
6
6
  spec.email = ['pat@freelancing-gods.com']
7
7
  spec.summary = %q{Rails extensions for Sliver}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sliver-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pat Allan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-13 00:00:00.000000000 Z
11
+ date: 2015-09-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sliver
@@ -63,9 +63,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
63
63
  version: '0'
64
64
  requirements: []
65
65
  rubyforge_project:
66
- rubygems_version: 2.2.2
66
+ rubygems_version: 2.4.8
67
67
  signing_key:
68
68
  specification_version: 4
69
69
  summary: Rails extensions for Sliver
70
70
  test_files: []
71
- has_rdoc: