notee 0.2.4 → 0.2.5

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: 8346c3ac020cf2da37b5cbe2f0be157b88d866bc
4
- data.tar.gz: 8c84dfc88e3593a46eb5ce9b98bd8391929bb4ed
3
+ metadata.gz: b447f6db76a996db72d550cb78f5d524b56143be
4
+ data.tar.gz: 3dcbb450ce3a29825fee872d2a9a356262ebcef2
5
5
  SHA512:
6
- metadata.gz: 57748e9b96958df45d0c9739ab5623d198c28852a6584f8547a99fd199692882c75a3bc630732b6ef225a905be49822886dee010a6d4b717eb4e656585aa893a
7
- data.tar.gz: b6e996d31d2c873567f56ced0a605bf8018da7648b85337fcded57beb62c488e7638fdcdb5aba9f53afae1d52dbea87a6364293431af8a34a4c039be64d95471
6
+ metadata.gz: 891cc6f0476ec491fd709c9eb8e4a008ae34bdb4e8c11ba11edffc0fe68ab9c5351a73e861fe29f4ab625ff08f7a30d846f2608a989b454f9b5e0124de557b7a
7
+ data.tar.gz: 4e17b53d864bf588b1d4bb4a1153cd181c097ddc9eda521922e3a4e113b74f34a1415362418c0d079c75247922de81be36bb71ebbbab0238065e58d86bab54e6
@@ -0,0 +1,7 @@
1
+ .login{
2
+ border: 1px solid #dcdcdc;
3
+ padding: 5%;
4
+ }
5
+ .login_bg{
6
+
7
+ }
@@ -1,5 +1,13 @@
1
- <%= form_tag(tokens_path) do %>
2
- <%= text_field_tag :id %>
3
- <%= password_field_tag :password %>
4
- <%= submit_tag "登録" %>
5
- <% end %>
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, null: false, default: "no title"
8
- t.text :content, null: false, default: ""
9
- t.string :slug, null: false, default: "#{Time.now.strftime("%Y-%H-%M-%S")}"
10
- t.integer :status, null: false, default: 0
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, null: false, default: "#{Time.now.strftime("%Y-%H-%M-%S")}"
14
+ t.datetime :published_at, default: Time.now
14
15
 
15
16
  # seo
16
- t.string :seo_keyword, null: false, default: ""
17
- t.string :seo_description, null: false, default: ""
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, [:slug], :unique => true
28
+ add_index :notee_posts, :slug, :unique => true
28
29
  end
29
30
  end
@@ -1,3 +1,3 @@
1
1
  module Notee
2
- VERSION = "0.2.4"
2
+ VERSION = "0.2.5"
3
3
  end
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
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 00:00:00.000000000 Z
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