turl 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/lib/turl/version.rb +1 -1
- data/lib/turl/views/app.scss +15 -0
- data/lib/turl/views/layout.html.erb +5 -0
- data/lib/turl/views/root.html.erb +3 -3
- data/lib/turl/web.rb +5 -1
- data/turl.gemspec +1 -0
- metadata +19 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 534464af56414d45cdb2c0d535eb45da7f8878bdcd98e8dd4fb81ebfeba9dbd3
|
4
|
+
data.tar.gz: c1913e8632b4996e952ce616b526c10ef4393b95feb2522536c2df8c4bc4e7ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6db83b8851174ffc6badd24e96e53e961c6c8ab1065f646629fc1d397ffe0c46850720c1e91619642b3621ca3c61f7a187b9e916eccb5b45adc00e62b3e73dc7
|
7
|
+
data.tar.gz: eb446982abe04f241da90c73d862e9f5bb54b0f516cb784cb9d55644c5caff7a26312f7311e8dc99eb5076c7e1a0105fa88293cf69c4a8bf7086ccbad2b78d1f
|
data/.gitignore
CHANGED
data/lib/turl/version.rb
CHANGED
data/lib/turl/web.rb
CHANGED
@@ -16,7 +16,11 @@ module Turl
|
|
16
16
|
|
17
17
|
get '/' do
|
18
18
|
links = Link.where('updated_at > ?', 1.week.ago).order(updated_at: :desc)
|
19
|
-
erb :'root.html', locals: { links: links }
|
19
|
+
erb :'root.html', locals: { links: links }, layout: :'layout.html'
|
20
|
+
end
|
21
|
+
|
22
|
+
get '/app.css' do
|
23
|
+
scss :app
|
20
24
|
end
|
21
25
|
end
|
22
26
|
end
|
data/turl.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: turl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Masataka Pocke Kuwabara
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-05-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: twitter
|
@@ -94,6 +94,20 @@ dependencies:
|
|
94
94
|
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: sassc
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
97
111
|
description: ''
|
98
112
|
email:
|
99
113
|
- kuwabara@pocke.me
|
@@ -121,6 +135,8 @@ files:
|
|
121
135
|
- lib/turl/twitter_user.rb
|
122
136
|
- lib/turl/url_normalization.rb
|
123
137
|
- lib/turl/version.rb
|
138
|
+
- lib/turl/views/app.scss
|
139
|
+
- lib/turl/views/layout.html.erb
|
124
140
|
- lib/turl/views/root.html.erb
|
125
141
|
- lib/turl/web.rb
|
126
142
|
- turl.gemspec
|
@@ -144,7 +160,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
144
160
|
- !ruby/object:Gem::Version
|
145
161
|
version: '0'
|
146
162
|
requirements: []
|
147
|
-
rubygems_version: 3.
|
163
|
+
rubygems_version: 3.2.0.pre1
|
148
164
|
signing_key:
|
149
165
|
specification_version: 4
|
150
166
|
summary: ''
|