moonrope 1.4.0 → 1.4.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: 03ef56897296df607155e3db243142135a9934bb
4
- data.tar.gz: 8d9e84279e48a610c54f791782993a54620eba6d
3
+ metadata.gz: e8a0b6679bab153541587026c146967da03c4935
4
+ data.tar.gz: 7ae7f36435dba370c40d91c122041cd8cf4799f7
5
5
  SHA512:
6
- metadata.gz: ea2654b89ef07c235e91b3c3e39a2333af2ef29dd2751d51518e377812f807adab86fc5844a92aeb9f382370743d7f1ae5f860c1679da5bf91ee4ab9f28e4c1e
7
- data.tar.gz: 7f154d360c7da6dfa8fc7b0d246a874d666e9a4587ffb9db120d9edf6abbc0035b16bd7a7acc65237c1584353c5a93657f56bf4352f3c6f62fb38e1754c1e4b7
6
+ metadata.gz: b58205dfa858007e42eaf936561614184e229e56ba12033ff74d38a7ffcf5a70f4b53f0e1739ed6c1b575fa2e50e3b71b3424de7638d336be58ad5a31f5e80ce
7
+ data.tar.gz: eb52281364f9c559b15222cdbf5a8af671eae34ebf5238529b1fdf8b7f6c9883f55c004a3dca803d5c1f0bce98c01360fdae1dd949d7128cacdb07b448758ae0
@@ -144,6 +144,15 @@ module Moonrope
144
144
  !(authenticated_user.nil? || authenticated_user == false)
145
145
  end
146
146
 
147
+ #
148
+ # Return the remote IP
149
+ #
150
+ # @return [String]
151
+ #
152
+ def ip
153
+ rack_request.ip
154
+ end
155
+
147
156
  private
148
157
 
149
158
  #
@@ -1,3 +1,3 @@
1
1
  module Moonrope
2
- VERSION = '1.4.0'
2
+ VERSION = '1.4.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moonrope
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Cooke
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-31 00:00:00.000000000 Z
11
+ date: 2015-04-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json