gameon-points 0.0.0.pre13 → 0.0.0.pre14

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: 90b1558177f85d9e26be062d2be019a57d720fcc
4
- data.tar.gz: 4e931c0cf8fe243d854339fdc36d62c1496f7f65
3
+ metadata.gz: dbfe89a54acd9d4f4072a99ca42f09a0591a3013
4
+ data.tar.gz: 0f9ce7294b0c922af39002c7cdb4fce708990122
5
5
  SHA512:
6
- metadata.gz: 9ca6d8a79fac2cf296a6812f837dc2820a5d79927b368c31c95dc2391d21fac1eef61c4fdb8f9d417f6490c81e89533eaa5dd645b0cd3efb6600ad223fcf822a
7
- data.tar.gz: 0a3cd1be88f86ce82190da50eb847d89cca818435ddc1b3261d308330f01df2c023c8f53fc535c396460e0a1095c7736cd044f4c1ec1a27a4ce05ff965d317a9
6
+ metadata.gz: 7efaf6a30471239529fb6a411e732bb1e8ee73c770bbce6f601dc5f1c1eb18b1fe471f6907555902426ac6ea8c5ce92311e5184f5fe6e0c28249c9bd9c078368
7
+ data.tar.gz: e5f70cc8fea0b4c0b61169c77116d3f75927fabaef7cb078a8029e831536b5d748fece71f91a2fe877b4fae5eb223d762618fe34eebee4553aa56be8e9a48490
@@ -29,8 +29,8 @@ module GameOn
29
29
  end
30
30
  def call(env)
31
31
  if !@params.nil? && @params.has_key?(:add)
32
- #env[:gameon].add_points(@params[:add] * @opts[:inc_by])
33
- env[:gameon].points = GameOn::Env.add_points(@params[:add] * @opts[:inc_by])
32
+ env[:gameon].add_points(@params[:add] * @opts[:inc_by])
33
+ #env[:gameon].points = GameOn::Env.add_points(@params[:add] * @opts[:inc_by])
34
34
  #GameOn::Env.add_points(@params[:add] * @opts[:inc_by])
35
35
  end
36
36
  if !@params.nil? && @params.has_key?(:remove)
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.pre13
4
+ version: 0.0.0.pre14
5
5
  platform: ruby
6
6
  authors:
7
7
  - theotherstupidguy