notee 0.2.4 → 0.2.5
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: b447f6db76a996db72d550cb78f5d524b56143be
|
4
|
+
data.tar.gz: 3dcbb450ce3a29825fee872d2a9a356262ebcef2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 891cc6f0476ec491fd709c9eb8e4a008ae34bdb4e8c11ba11edffc0fe68ab9c5351a73e861fe29f4ab625ff08f7a30d846f2608a989b454f9b5e0124de557b7a
|
7
|
+
data.tar.gz: 4e17b53d864bf588b1d4bb4a1153cd181c097ddc9eda521922e3a4e113b74f34a1415362418c0d079c75247922de81be36bb71ebbbab0238065e58d86bab54e6
|
@@ -1,5 +1,13 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
1
|
+
<div class="grid_start login_bg">
|
2
|
+
<div class="fourty grid offset_by_twenty_five mt_60 login">
|
3
|
+
<h1>Notee</h1>
|
4
|
+
<p>Notee is creating blog gem by only one command</p>
|
5
|
+
<%= form_tag(tokens_path, :class => 'mt_50') do %>
|
6
|
+
<h3>ID:</h3>
|
7
|
+
<%= text_field_tag :id %>
|
8
|
+
<h3>PASSWORD:</h3>
|
9
|
+
<%= password_field_tag :password %>
|
10
|
+
<%= submit_tag "ログイン", :class => 'full grid mt_50' %>
|
11
|
+
<% end %>
|
12
|
+
</div>
|
13
|
+
</div>
|
@@ -1,20 +1,21 @@
|
|
1
|
+
# This migration comes from notee (originally 20160605141437)
|
1
2
|
class CreateNoteePosts < ActiveRecord::Migration
|
2
3
|
def change
|
3
4
|
create_table :notee_posts do |t|
|
4
5
|
|
5
6
|
# notee's base
|
6
7
|
|
7
|
-
t.string :title,
|
8
|
-
t.text :content
|
9
|
-
t.string :slug,
|
10
|
-
t.integer :status,
|
8
|
+
t.string :title, default: "no title"
|
9
|
+
t.text :content
|
10
|
+
t.string :slug, default: "#{Time.now.strftime("%Y-%H-%M-%S")}"
|
11
|
+
t.integer :status, default: 0
|
11
12
|
t.integer :category_id, default: 0
|
12
13
|
t.integer :thumbnail_id, default: 0
|
13
|
-
t.datetime :published_at,
|
14
|
+
t.datetime :published_at, default: Time.now
|
14
15
|
|
15
16
|
# seo
|
16
|
-
t.string :seo_keyword,
|
17
|
-
t.string :seo_description,
|
17
|
+
t.string :seo_keyword, default: ""
|
18
|
+
t.string :seo_description, default: ""
|
18
19
|
|
19
20
|
|
20
21
|
# if you have user_id
|
@@ -24,6 +25,6 @@ class CreateNoteePosts < ActiveRecord::Migration
|
|
24
25
|
|
25
26
|
end
|
26
27
|
|
27
|
-
add_index :notee_posts,
|
28
|
+
add_index :notee_posts, :slug, :unique => true
|
28
29
|
end
|
29
30
|
end
|
data/lib/notee/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: notee
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- takujifunao
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-07-
|
11
|
+
date: 2016-07-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -107,6 +107,7 @@ files:
|
|
107
107
|
- app/assets/javascripts/notee/application.js
|
108
108
|
- app/assets/stylesheets/notee/application.css
|
109
109
|
- app/assets/stylesheets/notee/lighttaste.css
|
110
|
+
- app/assets/stylesheets/notee/login.scss
|
110
111
|
- app/assets/stylesheets/notee/normalize.css
|
111
112
|
- app/assets/stylesheets/notee/preview.scss
|
112
113
|
- app/controllers/notee/application_controller.rb
|