mini_blog 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f1ff2cae81619fae64a7332e042946b99d1b8cc
|
4
|
+
data.tar.gz: 6f306492c64b53304069020ed54413cdfd3f8928
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5e953a53efe9cd560ac85f444d20684590c84b0b82f6b9ec545c97a782e2c6099fb56552ce46a0601bb105580bbe6e993b6db828340de3ad1b675e765dc12e9
|
7
|
+
data.tar.gz: ccc8b85afdfe847e893520223aa1c37837ee342696bc34aa713c7994d32c6c23aca173f39a2f800d74fe4c23e763ecc705435df028c7190d92bdddb7ea9b0df6
|
data/README.md
CHANGED
@@ -24,7 +24,7 @@ $ gem install mini_blog
|
|
24
24
|
To create user, in `seeds.rb`.And `rails db:seed`
|
25
25
|
|
26
26
|
```rb:seeds.rb
|
27
|
-
User.create(email: 'yours@example.com', password: 'password', name: 'name')
|
27
|
+
MiniBlog::User.create(email: 'yours@example.com', password: 'password', name: 'name')
|
28
28
|
```
|
29
29
|
|
30
30
|
## Contributing
|
@@ -8,6 +8,12 @@ ul
|
|
8
8
|
- article.tags.each do |tag|
|
9
9
|
li.badge.badge-dark.tag
|
10
10
|
= tag.name
|
11
|
+
- if user_signed_in?
|
12
|
+
ul.btn-group style="list-style-type: none"
|
13
|
+
li
|
14
|
+
= link_to 'Edit', [:edit, article], class: 'btn btn-info'
|
15
|
+
li
|
16
|
+
= link_to 'Destroy', article, method: :delete, data: {confirm: 'detele this?'}, class: 'btn btn-danger'
|
11
17
|
article.article.card-body.collapse*{id: "article-#{article.id}", 'data-id': article.id}
|
12
18
|
button.btn.btn-link.btn-sm.text-left data-toggle="collapse" href="#article-#{article.id}" role="button" aria-expanded="false" aria-controls="article-#{article.id}"
|
13
19
|
| open...
|
data/lib/mini_blog.rb
CHANGED
data/lib/mini_blog/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mini_blog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Takumu Uyama
|
@@ -108,6 +108,20 @@ dependencies:
|
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: 4.0.0
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: redcarpet
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
111
125
|
- !ruby/object:Gem::Dependency
|
112
126
|
name: mysql2
|
113
127
|
requirement: !ruby/object:Gem::Requirement
|