stamp 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/features/step_definitions/stamp_steps.rb +1 -1
- data/lib/stamp/version.rb +1 -1
- metadata +2 -2
data/Gemfile.lock
CHANGED
@@ -12,7 +12,7 @@ Given /^the date (\w+) (\d+), (\d{4})$/ do |month_name, day, year|
|
|
12
12
|
end
|
13
13
|
|
14
14
|
Given /^the time (\w+) (\d+), (\d+) at (\d{2}):(\d{2}):(\d{2})$/ do |month_name, day, year, hours, minutes, seconds|
|
15
|
-
@target = Time.
|
15
|
+
@target = Time.utc(year.to_i, month(month_name), day.to_i, hours.to_i, minutes.to_i, seconds.to_i)
|
16
16
|
end
|
17
17
|
|
18
18
|
When /^I stamp the example "([^"]*)"$/ do |example|
|
data/lib/stamp/version.rb
CHANGED