scoreboard_rubywarrior 0.0.8 → 0.0.9

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: a4b7e404b1cb8437ccc16fe98980dec00a6739ad
4
- data.tar.gz: 46085d2020a9d31e3235ff293fda301fabc492f3
3
+ metadata.gz: 60b89c9e58f5ee952c8d78fecafd7958732329db
4
+ data.tar.gz: 129f855b035ac86f6261cef52c819583600d13bc
5
5
  SHA512:
6
- metadata.gz: 8c3bad9828cff0b2575edc4ca5090b96b8a32801e6cfe15eb3611388fe73ce702e40b92adcd70801a001ea54113dad355f0e580cc6badcc7a7742e1bfbd01506
7
- data.tar.gz: b40003ca9f2a545739fff1beeb11739d9754c73ed97c2f27158557fe032354678f2f3c0fa07462221be945a6631429b496e9492221343f0874638278b95fde00
6
+ metadata.gz: 0458d3f6d3f7e397bbe8cec724f4466942d79fade3cb1e1dfd4fd9f3fa9fd6ac113d6fdb1c2e17024906a00776ea0b5ac05c0ea3deee330af0cdcfb56b53db2c
7
+ data.tar.gz: 3519761d7ec452499c382f0605f823514fcfd01cd6e692adda1a4378c985fb0a73d6ebe4142f9cd22515c6bc382c0e5ee32c7cf6266517a3227d801fcb793136
data/CHANGELOG.md CHANGED
@@ -1,11 +1,14 @@
1
- ## 0.0.8 [Nov 30th 2014]
1
+ ## 0.0.9 [Nov 2014]
2
+ sends the tower type
3
+
4
+ ## 0.0.8 [Nov 2014]
2
5
  updates endpoint to point to generic herokuapp
3
6
 
4
- ## 0.0.7 [Nov 30th 2014]
7
+ ## 0.0.7 [Nov 2014]
5
8
  Bugfix: Removes pry statement
6
9
  Adds the ability to post in Epic Mode
7
10
 
8
- ## 0.0.5 [Nov 30th 2014]
11
+ ## 0.0.5 [Nov 2014]
9
12
 
10
13
  * Adds the ability to customize the endpoint which is posted to,
11
14
  * so you can use this to basically stop the posting if you want to
@@ -23,13 +23,13 @@ module RubyWarrior
23
23
  UI.puts "Total Score: " + score_calculation(@profile.current_epic_score, score)
24
24
  @profile.current_epic_grades[@number] = (score / ace_score.to_f) if ace_score
25
25
  @profile.current_epic_score += score
26
- heroku_report = report
27
- heroku_report[:total_score] = score
28
- heroku_report[:source_code] = ::ScoreboardRubywarrior::Concatenator.new(Dir.pwd).concatenate
29
- heroku_report[:warrior_name] = @profile.warrior_name
30
- heroku_report[:level_number] = @number
26
+ report[:total_score] = score
27
+ report[:source_code] = ::ScoreboardRubywarrior::Concatenator.new(Dir.pwd).concatenate
28
+ report[:warrior_name] = @profile.warrior_name
29
+ report[:level_number] = @number
30
+ report[:tower] = @profile.tower.name
31
31
 
32
- ::ScoreboardRubywarrior::Reporter.send_level_update(heroku_report)
32
+ ::ScoreboardRubywarrior::Reporter.send_level_update(report)
33
33
  else
34
34
  total_score = score_calculation(@profile.score, score)
35
35
  report[:total_score] = total_score
@@ -39,6 +39,7 @@ module RubyWarrior
39
39
  report[:warrior_name] = @profile.warrior_name
40
40
  report[:level_number] = @number
41
41
  report[:source_code] = ::ScoreboardRubywarrior::Concatenator.new(Dir.pwd).concatenate
42
+ report[:tower] = @profile.tower.name
42
43
 
43
44
  ::ScoreboardRubywarrior::Reporter.send_level_update(report)
44
45
  end
@@ -1,3 +1,3 @@
1
1
  module ScoreboardRubywarrior
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scoreboard_rubywarrior
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patrick Davey