rehearsal 1.0.1 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rehearsal/configuration.rb +1 -1
- data/lib/rehearsal/version.rb +1 -1
- data/lib/rehearsal.rb +5 -3
- metadata +2 -2
data/lib/rehearsal/version.rb
CHANGED
data/lib/rehearsal.rb
CHANGED
@@ -9,16 +9,18 @@ module Rehearsal
|
|
9
9
|
end
|
10
10
|
|
11
11
|
module ClassMethods
|
12
|
-
def rehearse_with(
|
12
|
+
def rehearse_with(username, password)
|
13
13
|
class_eval do
|
14
14
|
define_method(:username) do
|
15
|
-
|
15
|
+
username
|
16
16
|
end
|
17
17
|
|
18
18
|
define_method(:password) do
|
19
|
-
|
19
|
+
password
|
20
20
|
end
|
21
21
|
end
|
22
|
+
|
23
|
+
Rehearsal.config.enabled = true
|
22
24
|
end
|
23
25
|
end
|
24
26
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rehearsal
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-01-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|