mvpkit 1.1.1 → 1.1.2
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 +4 -4
- data/Gemfile.lock +2 -2
- data/VERSION +1 -1
- data/mvpkit.gemspec +3 -3
- data/project/Gemfile +1 -1
- data/project/Gemfile.lock +8 -8
- data/project/app/engines/admin/app/controllers/admin/users_controller.rb +2 -1
- data/project/app/engines/admin/app/views/admin/users/index.html.erb +22 -18
- data/project/app/views/layouts/_header.html.erb +16 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3f5dad34406e94f651ff8f30f5abd9e19ed10f2d
|
|
4
|
+
data.tar.gz: 0da4f9e1dd83bd0db759d260d90bc3fbe1419380
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dde9d299c2141bb4c2fdf59f134a6539d665c13496a380177e406e65a87ff0d06062e812b4e6a0e9fd573401af3138563e5869a4d4ee8a7f9b922c44f1171f96
|
|
7
|
+
data.tar.gz: 6e9b51d6f06d877dbda9ed3e77eaea1bd44ec2278d167f8a3ecdb3ad13778b187e47ba755d37a482235cc58811712795197c87ae263f44d15b042eec5ddb6286
|
data/Gemfile.lock
CHANGED
|
@@ -262,7 +262,7 @@ GEM
|
|
|
262
262
|
http-cookie (>= 1.0.2, < 2.0)
|
|
263
263
|
mime-types (>= 1.16, < 3.0)
|
|
264
264
|
netrc (~> 0.7)
|
|
265
|
-
rollbar (2.14.
|
|
265
|
+
rollbar (2.14.1)
|
|
266
266
|
multi_json
|
|
267
267
|
sass (3.4.23)
|
|
268
268
|
sass-rails (5.0.6)
|
|
@@ -326,4 +326,4 @@ DEPENDENCIES
|
|
|
326
326
|
web-console (~> 2.0)
|
|
327
327
|
|
|
328
328
|
BUNDLED WITH
|
|
329
|
-
1.14.
|
|
329
|
+
1.14.6
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.2
|
data/mvpkit.gemspec
CHANGED
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
|
5
|
-
# stub: mvpkit 1.1.
|
|
5
|
+
# stub: mvpkit 1.1.2 ruby lib
|
|
6
6
|
|
|
7
7
|
Gem::Specification.new do |s|
|
|
8
8
|
s.name = "mvpkit".freeze
|
|
9
|
-
s.version = "1.1.
|
|
9
|
+
s.version = "1.1.2"
|
|
10
10
|
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
|
12
12
|
s.require_paths = ["lib".freeze]
|
|
13
13
|
s.authors = ["Ian Hunter".freeze]
|
|
14
|
-
s.date = "2017-
|
|
14
|
+
s.date = "2017-06-07"
|
|
15
15
|
s.description = "Built for Developers. Ideal for MVPs, product ideation and validation.".freeze
|
|
16
16
|
s.email = "ianhunter@gmail.com".freeze
|
|
17
17
|
s.executables = ["mvp".freeze]
|
data/project/Gemfile
CHANGED
data/project/Gemfile.lock
CHANGED
|
@@ -96,7 +96,7 @@ GEM
|
|
|
96
96
|
client_side_validations-simple_form (6.1.0)
|
|
97
97
|
client_side_validations (~> 9.0)
|
|
98
98
|
simple_form (~> 3.4)
|
|
99
|
-
cloudinary (1.
|
|
99
|
+
cloudinary (1.7.0)
|
|
100
100
|
aws_cf_signer
|
|
101
101
|
rest-client
|
|
102
102
|
coderay (1.1.1)
|
|
@@ -109,7 +109,7 @@ GEM
|
|
|
109
109
|
railties (>= 4.1.0, < 5.1)
|
|
110
110
|
responders
|
|
111
111
|
warden (~> 1.2.3)
|
|
112
|
-
domain_name (0.5.
|
|
112
|
+
domain_name (0.5.20170404)
|
|
113
113
|
unf (>= 0.0.5, < 1.0.0)
|
|
114
114
|
dotenv (2.2.0)
|
|
115
115
|
dotenv-rails (2.2.0)
|
|
@@ -118,7 +118,7 @@ GEM
|
|
|
118
118
|
erubis (2.7.0)
|
|
119
119
|
excon (0.55.0)
|
|
120
120
|
execjs (2.7.0)
|
|
121
|
-
faraday (0.12.
|
|
121
|
+
faraday (0.12.1)
|
|
122
122
|
multipart-post (>= 1.2, < 3)
|
|
123
123
|
ffi (1.9.18)
|
|
124
124
|
fission (0.5.0)
|
|
@@ -216,7 +216,7 @@ GEM
|
|
|
216
216
|
fog-profitbricks (3.0.0)
|
|
217
217
|
fog-core (~> 1.42)
|
|
218
218
|
fog-json (~> 1.0)
|
|
219
|
-
fog-rackspace (0.1.
|
|
219
|
+
fog-rackspace (0.1.5)
|
|
220
220
|
fog-core (>= 1.35)
|
|
221
221
|
fog-json (>= 1.0)
|
|
222
222
|
fog-xml (>= 0.1)
|
|
@@ -308,7 +308,7 @@ GEM
|
|
|
308
308
|
multi_json (1.12.1)
|
|
309
309
|
multipart-post (2.0.0)
|
|
310
310
|
mustache (1.0.5)
|
|
311
|
-
mvpkit (1.
|
|
311
|
+
mvpkit (1.1.1)
|
|
312
312
|
carrierwave
|
|
313
313
|
cloudinary
|
|
314
314
|
faraday
|
|
@@ -339,7 +339,7 @@ GEM
|
|
|
339
339
|
public_suffix (2.0.5)
|
|
340
340
|
puma (3.8.2)
|
|
341
341
|
rack (2.0.1)
|
|
342
|
-
rack-canonical-host (0.2.
|
|
342
|
+
rack-canonical-host (0.2.3)
|
|
343
343
|
addressable (> 0, < 3)
|
|
344
344
|
rack (>= 1.0.0, < 3)
|
|
345
345
|
rack-protection (1.5.3)
|
|
@@ -439,7 +439,7 @@ GEM
|
|
|
439
439
|
execjs (>= 0.3.0, < 3)
|
|
440
440
|
unf (0.1.4)
|
|
441
441
|
unf_ext
|
|
442
|
-
unf_ext (0.0.7.
|
|
442
|
+
unf_ext (0.0.7.4)
|
|
443
443
|
warden (1.2.7)
|
|
444
444
|
rack (>= 1.0)
|
|
445
445
|
web-console (3.5.0)
|
|
@@ -474,7 +474,7 @@ DEPENDENCIES
|
|
|
474
474
|
letter_opener
|
|
475
475
|
listen (~> 3.0.5)
|
|
476
476
|
mustache
|
|
477
|
-
mvpkit (~> 1.
|
|
477
|
+
mvpkit (~> 1.1.1)
|
|
478
478
|
pg
|
|
479
479
|
postmark-rails
|
|
480
480
|
puma (~> 3.0)
|
|
@@ -1,27 +1,31 @@
|
|
|
1
|
-
<
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
<div class="mt20">
|
|
2
|
+
<div class="mb20">
|
|
3
|
+
<%= search_form_for @q, class: 'form-inline pull-right' do |f| %>
|
|
4
|
+
<%= f.search_field :email_cont, class: 'form-control mr10', placeholder: 'Search ...' %>
|
|
5
|
+
<%= f.submit class: 'btn btn-primary' %>
|
|
6
|
+
<% end %>
|
|
7
|
+
<h4>Users</h4>
|
|
8
|
+
</div>
|
|
4
9
|
|
|
5
|
-
|
|
6
|
-
<thead>
|
|
10
|
+
<%= content_tag :table, class: 'table table-flush' do %>
|
|
7
11
|
<tr>
|
|
8
|
-
<th
|
|
12
|
+
<th><%= sort_link(@q, :email) %></th>
|
|
13
|
+
<th><%= sort_link(@q, :created_at) %></th>
|
|
9
14
|
<th colspan="3"></th>
|
|
10
15
|
</tr>
|
|
11
|
-
</thead>
|
|
12
|
-
|
|
13
|
-
<tbody>
|
|
14
16
|
<% @users.each do |user| %>
|
|
15
17
|
<tr>
|
|
16
18
|
<td><%= user.email %></td>
|
|
17
|
-
<td><%=
|
|
18
|
-
<td
|
|
19
|
-
|
|
19
|
+
<td><%= user.created_at %></td>
|
|
20
|
+
<td class="text-right">
|
|
21
|
+
<%= link_to edit_user_path(user), class: 'btn btn-warning btn-sm' do %>
|
|
22
|
+
<i class="fa fa-edit"></i>
|
|
23
|
+
<% end %>
|
|
24
|
+
<%= link_to user, method: :delete, data: { confirm: 'Are you sure?' }, class: 'btn btn-danger btn-sm' do %>
|
|
25
|
+
<i class="fa fa-remove"></i>
|
|
26
|
+
<% end %>
|
|
27
|
+
</td>
|
|
20
28
|
</tr>
|
|
21
29
|
<% end %>
|
|
22
|
-
|
|
23
|
-
</
|
|
24
|
-
|
|
25
|
-
<br>
|
|
26
|
-
|
|
27
|
-
<%= link_to 'New User', new_user_path %>
|
|
30
|
+
<% end %>
|
|
31
|
+
</div>
|
|
@@ -16,6 +16,22 @@
|
|
|
16
16
|
<%= link_to 'Admin', admin_path, class: 'nav-link' %>
|
|
17
17
|
</li>
|
|
18
18
|
</ul>
|
|
19
|
+
<ul class="navbar-nav">
|
|
20
|
+
<% if user_signed_in? %>
|
|
21
|
+
<li class="nav-item dropdown">
|
|
22
|
+
<a class="nav-link dropdown-toggle" href="http://example.com" id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
|
23
|
+
<%= current_user.email %>
|
|
24
|
+
</a>
|
|
25
|
+
<div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
|
|
26
|
+
<%= link_to 'Log Out', destroy_user_session_path, method: :delete, class: 'nav-link' %>
|
|
27
|
+
</div>
|
|
28
|
+
</li>
|
|
29
|
+
<% else %>
|
|
30
|
+
<li class="nav-item">
|
|
31
|
+
<%= link_to 'Log In / Register', new_user_session_path, class: 'nav-link' %>
|
|
32
|
+
</li>
|
|
33
|
+
<% end %>
|
|
34
|
+
</ul>
|
|
19
35
|
</div>
|
|
20
36
|
</div>
|
|
21
37
|
</nav>
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mvpkit
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ian Hunter
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-06-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: carrierwave
|