make_it_so 0.1.1 → 0.1.3
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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f9864db219b4b9f7d0d08c9d6853bf00872f08ef
|
|
4
|
+
data.tar.gz: b765fc0c91387f7318c366dd8a041f2d2ee820ed
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b74f126037ae41cf383d4f28ee91b35afce88345fad93f327033b50b75268447639f70d94405405969774fdf05c97b692fa8e0f849c4047fd5f1030e99828085
|
|
7
|
+
data.tar.gz: 670275af0a08a2d43fb4914aadf4463b9d87f7a6f1e3670b19a83d23dad6c3be148a4b1e72e95f29a73a2cc9858ddce3bd88396eedd165b8eb8473a1ea06b782
|
|
@@ -11,8 +11,12 @@ module MakeItSo
|
|
|
11
11
|
end
|
|
12
12
|
|
|
13
13
|
def base_javascripts
|
|
14
|
+
self.gem 'jquery-rails'
|
|
14
15
|
inside 'app/assets/javascripts' do
|
|
15
16
|
template 'application.js'
|
|
17
|
+
jquery_files = "//= require jquery\n" +
|
|
18
|
+
"//= require jquery_ujs\n"
|
|
19
|
+
gsub_file 'application.js', "//= require rails-ujs\n", jquery_files
|
|
16
20
|
end
|
|
17
21
|
end
|
|
18
22
|
|
|
@@ -188,6 +192,12 @@ module MakeItSo
|
|
|
188
192
|
# there is a pull request open to skip this:
|
|
189
193
|
# https://github.com/zurb/foundation-rails/pull/108
|
|
190
194
|
remove_file 'app/views/layouts/foundation.html.erb'
|
|
195
|
+
|
|
196
|
+
inside 'app/assets/javascripts' do
|
|
197
|
+
insert_into_file 'application.js',
|
|
198
|
+
"//= require foundation\n",
|
|
199
|
+
after: "//= require jquery_ujs\n"
|
|
200
|
+
end
|
|
191
201
|
end
|
|
192
202
|
end
|
|
193
203
|
|
data/lib/make_it_so/version.rb
CHANGED
|
@@ -6,7 +6,7 @@ feature 'user signs in', %Q{
|
|
|
6
6
|
So that I can regain access to my account
|
|
7
7
|
} do
|
|
8
8
|
scenario 'specify valid credentials' do
|
|
9
|
-
user =
|
|
9
|
+
user = FactoryBot.create(:user)
|
|
10
10
|
|
|
11
11
|
visit new_user_session_path
|
|
12
12
|
|
|
@@ -23,7 +23,7 @@ feature 'user signs in', %Q{
|
|
|
23
23
|
visit new_user_session_path
|
|
24
24
|
|
|
25
25
|
click_button 'Log in'
|
|
26
|
-
expect(page).to have_content('Invalid
|
|
26
|
+
expect(page).to have_content('Invalid Email or password')
|
|
27
27
|
expect(page).to_not have_content('Sign Out')
|
|
28
28
|
end
|
|
29
29
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: make_it_so
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dan Pickett
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-01-
|
|
11
|
+
date: 2018-01-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: thor
|