restpack-web 0.1.30 → 0.1.31

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,12 +1,14 @@
1
1
  module RestPack
2
- module Rails
3
- module Controller
4
- def self.included(base)
5
- base.send(:before_filter, :include_restpack)
6
- end
2
+ module Web
3
+ module Rails
4
+ module Controller
5
+ def self.included(base)
6
+ base.send(:before_filter, :include_restpack)
7
+ end
7
8
 
8
- def include_restpack
9
- @restpack = RestPackContext.new(request.env)
9
+ def include_restpack
10
+ @restpack = RestPack::Web::Context.new(request.env)
11
+ end
10
12
  end
11
13
  end
12
14
  end
@@ -1,5 +1,5 @@
1
1
  module RestPack
2
2
  module Web
3
- VERSION = "0.1.30"
3
+ VERSION = "0.1.31"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: restpack-web
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.30
4
+ version: 0.1.31
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: