gameon-points 0.0.0.pre12 → 0.0.0.pre13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/gameon-points/base.rb +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ff444fd0e6e1640d6676c2573ae001dd600ef21c
4
- data.tar.gz: 006f6fbafbb6e6cacdd51e974b5bf5862af60cd6
3
+ metadata.gz: 90b1558177f85d9e26be062d2be019a57d720fcc
4
+ data.tar.gz: 4e931c0cf8fe243d854339fdc36d62c1496f7f65
5
5
  SHA512:
6
- metadata.gz: 4405cb32bb0d93d627650ea4d032fe9199de444c8569686c4cbda1fa2d06e263d20f9d8823b75247e3cc12ae9a732d9fab45e57555c041d92b535d7eb2b6fc56
7
- data.tar.gz: 3d40bd003da8e931b176412e7c9ea0d15e642f81e7541bda07a25aedbc59d0d4fa17bb08cd40e598e332e8cf5e41a4c1e1c2819f7713a9fedbc43bca2c2d1951
6
+ metadata.gz: 9ca6d8a79fac2cf296a6812f837dc2820a5d79927b368c31c95dc2391d21fac1eef61c4fdb8f9d417f6490c81e89533eaa5dd645b0cd3efb6600ad223fcf822a
7
+ data.tar.gz: 0a3cd1be88f86ce82190da50eb847d89cca818435ddc1b3261d308330f01df2c023c8f53fc535c396460e0a1095c7736cd044f4c1ec1a27a4ce05ff965d317a9
@@ -30,8 +30,8 @@ module GameOn
30
30
  def call(env)
31
31
  if !@params.nil? && @params.has_key?(:add)
32
32
  #env[:gameon].add_points(@params[:add] * @opts[:inc_by])
33
- #env[:gameon].points = GameOn::Env.add_points(@params[:add] * @opts[:inc_by])
34
- GameOn::Env.add_points(@params[:add] * @opts[:inc_by])
33
+ env[:gameon].points = GameOn::Env.add_points(@params[:add] * @opts[:inc_by])
34
+ #GameOn::Env.add_points(@params[:add] * @opts[:inc_by])
35
35
  end
36
36
  if !@params.nil? && @params.has_key?(:remove)
37
37
  env[:gameon].remove_points(@params[:remove] * @opts[:dec_by])
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gameon-points
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0.pre12
4
+ version: 0.0.0.pre13
5
5
  platform: ruby
6
6
  authors:
7
7
  - theotherstupidguy