lib/itch/rewards.rb in itch_client-0.4.0 vs lib/itch/rewards.rb in itch_client-0.4.1
- old
+ new
@@ -13,10 +13,10 @@
class Rewards
include SimpleInspect
include RequireAuth
include Request
- REWARD_DATA = /GameEdit\.EditRewards\(.*?(?:"rewards":(\[.*\]),)?"reward_noun":"(.*(?<!\\))"}\)/.freeze
+ REWARD_DATA = /GameEdit\.EditRewards\(.*?(?:"rewards":(\[.*?\]),)?"reward_noun":"(.*?)(?<!\\)"/.freeze
def initialize(agent, game_id)
@agent = agent
@game_id = game_id
end