Skip to content

Commit

Permalink
Merge pull request #168 from AresMUSH/dev
Browse files Browse the repository at this point in the history
Version 1.0.10
  • Loading branch information
lynnfaraday authored Nov 11, 2023
2 parents a4a7963 + b4abecb commit 706ac39
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ gem 'em-websocket', '~> 0.5'
gem 'i18n', '~> 1.14'
gem 'log4r', '~> 1.1.10'
gem 'rake', '~> 12.3'
gem 'rspec', '~> 3.7.0'
gem 'rspec', '~> 3.12'
gem 'timezone', '~> 1.2.10'
gem 'dentaku', '~>3.1'
gem 'json', '~> 2.3.1'
Expand Down
24 changes: 12 additions & 12 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -80,19 +80,19 @@ GEM
redcarpet (3.5.1)
redic (1.5.3)
hiredis
rspec (3.7.0)
rspec-core (~> 3.7.0)
rspec-expectations (~> 3.7.0)
rspec-mocks (~> 3.7.0)
rspec-core (3.7.1)
rspec-support (~> 3.7.0)
rspec-expectations (3.7.0)
rspec (3.12.0)
rspec-core (~> 3.12.0)
rspec-expectations (~> 3.12.0)
rspec-mocks (~> 3.12.0)
rspec-core (3.12.2)
rspec-support (~> 3.12.0)
rspec-expectations (3.12.3)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.7.0)
rspec-mocks (3.7.0)
rspec-support (~> 3.12.0)
rspec-mocks (3.12.6)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.7.0)
rspec-support (3.7.1)
rspec-support (~> 3.12.0)
rspec-support (3.12.1)
ruby2_keywords (0.0.5)
rubyzip (1.3.0)
sassc (2.4.0)
Expand Down Expand Up @@ -139,7 +139,7 @@ DEPENDENCIES
rack (>= 2.2.6)
rake (~> 12.3)
redcarpet (~> 3.5.1)
rspec (~> 3.7.0)
rspec (~> 3.12)
rubyzip (~> 1.3.0)
sassc (~> 2.4.0)
sinatra (~> 2.2.3)
Expand Down
6 changes: 3 additions & 3 deletions spec/locale/locale_specs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ module AresMUSH
it "should pass along variables in the string" do
args = { :arg => "the arg" }
expect(I18n).to receive(:t).with('hello arg', args) { "Hello World with the arg!" }
t('hello arg', args )
t('hello arg', :arg => "the arg" )
end
end

Expand All @@ -82,13 +82,13 @@ module AresMUSH

it "should return the I18n localization of a date" do
date = Date.new
expect(I18n).to receive(:l).with(date, {}) { "abc" }
expect(I18n).to receive(:l).with(date) { "abc" }
expect(l(date)).to eq "abc"
end

it "should return the I18n localization of a time" do
time = Time.new
expect(I18n).to receive(:l).with(time, {}) { "abc" }
expect(I18n).to receive(:l).with(time) { "abc" }
expect(l(time)).to eq "abc"
end
end
Expand Down
2 changes: 1 addition & 1 deletion spec/models/game_specs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module AresMUSH

describe Game do
describe :master do
it "should return the master game object" do
it "xxx should return the master game object" do
model = double
allow(Game).to receive(:[]).with(1) { model }
expect(Game.master).to eq model
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.9
1.0.10

0 comments on commit 706ac39

Please sign in to comment.