saucy 0.2.27 → 0.2.28
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.
- data/Gemfile.lock +10 -10
- data/app/views/accounts/new.html.erb +0 -2
- data/lib/generators/saucy/features/templates/features/edit_project_permissions.feature +1 -1
- data/lib/generators/saucy/features/templates/features/manage_account.feature +1 -1
- data/lib/generators/saucy/features/templates/features/sign_up.feature +1 -1
- data/lib/generators/saucy/features/templates/features/sign_up_paid.feature +1 -1
- data/lib/generators/saucy/features/templates/step_definitions/plan_steps.rb +2 -2
- metadata +30 -30
data/Gemfile.lock
CHANGED
|
@@ -45,7 +45,7 @@ GEM
|
|
|
45
45
|
braintree (2.6.2)
|
|
46
46
|
builder
|
|
47
47
|
builder (2.1.2)
|
|
48
|
-
capybara (0.4.
|
|
48
|
+
capybara (0.4.1.2)
|
|
49
49
|
celerity (>= 0.7.9)
|
|
50
50
|
culerity (>= 0.2.4)
|
|
51
51
|
mime-types (>= 1.16)
|
|
@@ -53,9 +53,9 @@ GEM
|
|
|
53
53
|
rack (>= 1.0.0)
|
|
54
54
|
rack-test (>= 0.5.4)
|
|
55
55
|
selenium-webdriver (>= 0.0.27)
|
|
56
|
-
xpath (~> 0.1.
|
|
57
|
-
celerity (0.8.
|
|
58
|
-
childprocess (0.1.
|
|
56
|
+
xpath (~> 0.1.3)
|
|
57
|
+
celerity (0.8.8)
|
|
58
|
+
childprocess (0.1.7)
|
|
59
59
|
ffi (~> 0.6.3)
|
|
60
60
|
configuration (1.2.0)
|
|
61
61
|
cucumber (0.9.4)
|
|
@@ -66,7 +66,7 @@ GEM
|
|
|
66
66
|
term-ansicolor (~> 1.0.5)
|
|
67
67
|
cucumber-rails (0.3.2)
|
|
68
68
|
cucumber (>= 0.8.0)
|
|
69
|
-
culerity (0.2.
|
|
69
|
+
culerity (0.2.15)
|
|
70
70
|
daemons (1.1.0)
|
|
71
71
|
database_cleaner (0.6.0)
|
|
72
72
|
diff-lcs (1.1.2)
|
|
@@ -89,7 +89,7 @@ GEM
|
|
|
89
89
|
term-ansicolor (~> 1.0.5)
|
|
90
90
|
i18n (0.5.0)
|
|
91
91
|
json (1.4.6)
|
|
92
|
-
json_pure (1.
|
|
92
|
+
json_pure (1.5.1)
|
|
93
93
|
launchy (0.3.7)
|
|
94
94
|
configuration (>= 0.0.5)
|
|
95
95
|
rake (>= 0.8.1)
|
|
@@ -106,7 +106,7 @@ GEM
|
|
|
106
106
|
rack (1.2.1)
|
|
107
107
|
rack-mount (0.6.13)
|
|
108
108
|
rack (>= 1.0.0)
|
|
109
|
-
rack-test (0.5.
|
|
109
|
+
rack-test (0.5.7)
|
|
110
110
|
rack (>= 1.0)
|
|
111
111
|
rails (3.0.3)
|
|
112
112
|
actionmailer (= 3.0.3)
|
|
@@ -136,8 +136,8 @@ GEM
|
|
|
136
136
|
railties (~> 3.0)
|
|
137
137
|
rspec (~> 2.2.0)
|
|
138
138
|
rubyzip (0.9.4)
|
|
139
|
-
selenium-webdriver (0.1.
|
|
140
|
-
childprocess (
|
|
139
|
+
selenium-webdriver (0.1.3)
|
|
140
|
+
childprocess (~> 0.1.5)
|
|
141
141
|
ffi (~> 0.6.3)
|
|
142
142
|
json_pure
|
|
143
143
|
rubyzip
|
|
@@ -159,7 +159,7 @@ GEM
|
|
|
159
159
|
treetop (1.4.9)
|
|
160
160
|
polyglot (>= 0.3.1)
|
|
161
161
|
tzinfo (0.3.23)
|
|
162
|
-
xpath (0.1.
|
|
162
|
+
xpath (0.1.3)
|
|
163
163
|
nokogiri (~> 1.3)
|
|
164
164
|
|
|
165
165
|
PLATFORMS
|
|
@@ -17,7 +17,7 @@ Feature: edit permissions for a project
|
|
|
17
17
|
And "bill@example.com" is a member of the "Stocknames" project
|
|
18
18
|
And "jane@example.com" is a member of the "thoughtbot" account
|
|
19
19
|
When I go to the settings page for the "thoughtbot" account
|
|
20
|
-
And I follow "Projects"
|
|
20
|
+
And I follow "Projects" within ".tabs"
|
|
21
21
|
And I follow "Stocknames" within "ul.projects"
|
|
22
22
|
Then the "Bill" checkbox should be checked
|
|
23
23
|
And the "Jane" checkbox should not be checked
|
|
@@ -20,7 +20,7 @@ Feature: Manage account
|
|
|
20
20
|
And a project named "Projection" exists under the "Test" account
|
|
21
21
|
And the user "captain@awesome.com" exists under the "Test" account
|
|
22
22
|
When I go to the settings page for the "Test" account
|
|
23
|
-
And I follow "Projects"
|
|
23
|
+
And I follow "Projects" within ".tabs"
|
|
24
24
|
Then I should see "Projection"
|
|
25
25
|
When I follow "Users"
|
|
26
26
|
Then I should see "captain@awesome.com"
|
|
@@ -22,7 +22,7 @@ Feature: Sign up
|
|
|
22
22
|
And I fill in "Confirm password" with ""
|
|
23
23
|
And I should not see "Billing Information"
|
|
24
24
|
And I press "Sign up"
|
|
25
|
-
Then
|
|
25
|
+
Then the form should have inline error messages
|
|
26
26
|
|
|
27
27
|
Scenario: User signs up with valid data
|
|
28
28
|
When I go to the list of plans page
|
|
@@ -18,7 +18,7 @@ Feature: Sign up
|
|
|
18
18
|
And I fill in "Confirm password" with ""
|
|
19
19
|
And I should see "Billing Information"
|
|
20
20
|
And I press "Sign up"
|
|
21
|
-
Then
|
|
21
|
+
Then the form should have inline error messages
|
|
22
22
|
|
|
23
23
|
Scenario: User signs up for a paid plan with valid data
|
|
24
24
|
When I go to the list of plans page
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
When /^I choose the "([^"]*)" plan$/ do |plan_name|
|
|
2
|
-
input_id =
|
|
2
|
+
input_id = find(:xpath, "//label/p[contains(text(),'#{plan_name}')]/..")["for"]
|
|
3
3
|
choose(input_id)
|
|
4
4
|
end
|
|
5
5
|
|
|
6
6
|
Then /^the "([^"]*)" plan should be disabled$/ do |plan_name|
|
|
7
|
-
input_id =
|
|
7
|
+
input_id = find(:xpath, "//label/p[contains(text(),'#{plan_name}')]/..")["for"]
|
|
8
8
|
page.should have_css("##{input_id}[disabled='disabled']")
|
|
9
9
|
end
|
|
10
10
|
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: saucy
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
5
|
-
prerelease:
|
|
4
|
+
hash: 47
|
|
5
|
+
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 2
|
|
9
|
-
-
|
|
10
|
-
version: 0.2.
|
|
9
|
+
- 28
|
|
10
|
+
version: 0.2.28
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- thoughtbot, inc.
|
|
@@ -17,14 +17,12 @@ autorequire:
|
|
|
17
17
|
bindir: bin
|
|
18
18
|
cert_chain: []
|
|
19
19
|
|
|
20
|
-
date: 2011-02-
|
|
20
|
+
date: 2011-02-24 00:00:00 -05:00
|
|
21
21
|
default_executable:
|
|
22
22
|
dependencies:
|
|
23
23
|
- !ruby/object:Gem::Dependency
|
|
24
24
|
type: :runtime
|
|
25
|
-
|
|
26
|
-
name: formtastic
|
|
27
|
-
version_requirements: &id001 !ruby/object:Gem::Requirement
|
|
25
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
|
28
26
|
none: false
|
|
29
27
|
requirements:
|
|
30
28
|
- - ">="
|
|
@@ -34,12 +32,12 @@ dependencies:
|
|
|
34
32
|
- 1
|
|
35
33
|
- 2
|
|
36
34
|
version: "1.2"
|
|
37
|
-
|
|
35
|
+
name: formtastic
|
|
36
|
+
version_requirements: *id001
|
|
37
|
+
prerelease: false
|
|
38
38
|
- !ruby/object:Gem::Dependency
|
|
39
39
|
type: :runtime
|
|
40
|
-
|
|
41
|
-
name: railties
|
|
42
|
-
version_requirements: &id002 !ruby/object:Gem::Requirement
|
|
40
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
|
43
41
|
none: false
|
|
44
42
|
requirements:
|
|
45
43
|
- - ">="
|
|
@@ -50,12 +48,12 @@ dependencies:
|
|
|
50
48
|
- 0
|
|
51
49
|
- 3
|
|
52
50
|
version: 3.0.3
|
|
53
|
-
|
|
51
|
+
name: railties
|
|
52
|
+
version_requirements: *id002
|
|
53
|
+
prerelease: false
|
|
54
54
|
- !ruby/object:Gem::Dependency
|
|
55
55
|
type: :runtime
|
|
56
|
-
|
|
57
|
-
name: braintree
|
|
58
|
-
version_requirements: &id003 !ruby/object:Gem::Requirement
|
|
56
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
|
59
57
|
none: false
|
|
60
58
|
requirements:
|
|
61
59
|
- - ">="
|
|
@@ -66,12 +64,12 @@ dependencies:
|
|
|
66
64
|
- 6
|
|
67
65
|
- 2
|
|
68
66
|
version: 2.6.2
|
|
69
|
-
|
|
67
|
+
name: braintree
|
|
68
|
+
version_requirements: *id003
|
|
69
|
+
prerelease: false
|
|
70
70
|
- !ruby/object:Gem::Dependency
|
|
71
71
|
type: :runtime
|
|
72
|
-
|
|
73
|
-
name: sham_rack
|
|
74
|
-
version_requirements: &id004 !ruby/object:Gem::Requirement
|
|
72
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
|
75
73
|
none: false
|
|
76
74
|
requirements:
|
|
77
75
|
- - "="
|
|
@@ -82,12 +80,12 @@ dependencies:
|
|
|
82
80
|
- 3
|
|
83
81
|
- 3
|
|
84
82
|
version: 1.3.3
|
|
85
|
-
|
|
83
|
+
name: sham_rack
|
|
84
|
+
version_requirements: *id004
|
|
85
|
+
prerelease: false
|
|
86
86
|
- !ruby/object:Gem::Dependency
|
|
87
87
|
type: :runtime
|
|
88
|
-
|
|
89
|
-
name: sinatra
|
|
90
|
-
version_requirements: &id005 !ruby/object:Gem::Requirement
|
|
88
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
|
91
89
|
none: false
|
|
92
90
|
requirements:
|
|
93
91
|
- - "="
|
|
@@ -98,12 +96,12 @@ dependencies:
|
|
|
98
96
|
- 1
|
|
99
97
|
- 2
|
|
100
98
|
version: 1.1.2
|
|
101
|
-
|
|
99
|
+
name: sinatra
|
|
100
|
+
version_requirements: *id005
|
|
101
|
+
prerelease: false
|
|
102
102
|
- !ruby/object:Gem::Dependency
|
|
103
103
|
type: :development
|
|
104
|
-
|
|
105
|
-
name: aruba
|
|
106
|
-
version_requirements: &id006 !ruby/object:Gem::Requirement
|
|
104
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
|
107
105
|
none: false
|
|
108
106
|
requirements:
|
|
109
107
|
- - "="
|
|
@@ -114,7 +112,9 @@ dependencies:
|
|
|
114
112
|
- 2
|
|
115
113
|
- 6
|
|
116
114
|
version: 0.2.6
|
|
117
|
-
|
|
115
|
+
name: aruba
|
|
116
|
+
version_requirements: *id006
|
|
117
|
+
prerelease: false
|
|
118
118
|
description: Clearance-based Rails engine for Software as a Service (Saas) that provides account and project management
|
|
119
119
|
email: support@thoughtbot.com
|
|
120
120
|
executables: []
|
|
@@ -286,7 +286,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
286
286
|
requirements: []
|
|
287
287
|
|
|
288
288
|
rubyforge_project:
|
|
289
|
-
rubygems_version: 1.
|
|
289
|
+
rubygems_version: 1.5.2
|
|
290
290
|
signing_key:
|
|
291
291
|
specification_version: 3
|
|
292
292
|
summary: Clearance-based Rails engine for SaaS
|