nabil_can 0.1.3 → 0.1.4

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b6f53e57b32b78334b216f4a2e5402bc1ded22d1
4
- data.tar.gz: 199c77ed89de30c7a1a787bc2dee1bb2a9bda649
3
+ metadata.gz: 501e5654717e25a664bcc8a16d89efc21aebc5e1
4
+ data.tar.gz: 99ab49c8535fd92f7fc1ddce3e47164722f8c6aa
5
5
  SHA512:
6
- metadata.gz: 2ed1b8513a4a7dd4ee197c139e614cf6532163f1ef8783ca48bdff7e1edcf1b99ca84f5f5d869fc29ad6b372e891e6ef8e4247dad9edad17c9ece48ba1135162
7
- data.tar.gz: 991f9404b7a237db9ccfac846294e49ae66ae315dbed25f47c4cfb1bde7eb538290a6ff5c10c6b07a10fbee100fdd4f4d80fba96418e9093f3f1935473c13d72
6
+ metadata.gz: c6f869724118655916fafae4672d3efb4b5c01865a7e67e175ebfa5f1b7e32fbd2cb4d1e1900517f616000a97abab8867937e637ccef3210b31550a477f01ac2
7
+ data.tar.gz: 6e4d54d51b2a41ab0b5b190f0af229fb67fb0640d17661f0b4a9105c1535de21f5a2a7a8facd0441bc026faae765eb9b08c86bdf5e1ef7dc2a37a456f5c0932a
@@ -1,3 +1,3 @@
1
1
  module NabilCan
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
data/lib/nabil_can.rb CHANGED
@@ -2,7 +2,7 @@ require "nabil_can/version"
2
2
 
3
3
  module NabilCan
4
4
  # Your code goes here...
5
- class Ability
5
+ class Ability
6
6
  def self.sending_http_request(user_id,action_name,model,path,port_no,host_name)
7
7
  @host = host_name
8
8
  @port = port_no
@@ -27,7 +27,7 @@ end
27
27
 
28
28
  end
29
29
 
30
- def self.cannot(user_id,action_name,model)
30
+ def self.cannot(user_id,action_name,model,port_no,host_name)
31
31
  path='/ability/cannot'
32
32
  ok =sending_http_request(user_id,action_name,model,path,port_no,host_name)
33
33
  if ok=='false'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nabil_can
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - mohamednabil00000
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-09-04 00:00:00.000000000 Z
11
+ date: 2016-09-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler