gast 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/gast.gemspec +1 -1
- data/lib/gast/memo.rb +4 -1
- data/lib/gast/templates/list.haml +15 -5
- data/lib/gast/version.rb +1 -1
- data/spec/controller_spec.rb +0 -4
- data/spec/memo_spec.rb +7 -0
- data/spec/repository_spec.rb +1 -1
- data/spec/spec_helper.rb +5 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1661d5544fa9ea31a8f10ecedfff23a98e42ca82
|
4
|
+
data.tar.gz: 7e0d04f8b903c95dbda3a30031522538ae450f98
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a21c35331f827585c016f08fcd03762bb03111f6e9f6481190166dc43a900c3d3b9be12c99f8e496da7af7e38356944bfa3159eab634e88cabdf63b373e1611
|
7
|
+
data.tar.gz: cd7ed0038dd1349c7ef6c5397957d22a53e561f70d08911de49276329ab166944fcf009226bf3383a3198c68e1f4dd3fb7cd047854abfda1c34227a3519dac05
|
data/README.md
CHANGED
data/gast.gemspec
CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.email = ["futoase@gmail.com"]
|
11
11
|
spec.summary = %q{memo application of using git}
|
12
12
|
spec.description = %q{memo application of using git}
|
13
|
-
spec.homepage = ""
|
13
|
+
spec.homepage = "https://github.com/futoase/gast"
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
16
16
|
spec.files = `git ls-files -z`.split("\x0")
|
data/lib/gast/memo.rb
CHANGED
@@ -1,7 +1,17 @@
|
|
1
1
|
%h1
|
2
2
|
Items
|
3
|
-
%
|
4
|
-
|
5
|
-
%
|
6
|
-
%
|
7
|
-
|
3
|
+
%table{ class: "table table-striped" }
|
4
|
+
%thead
|
5
|
+
%tr
|
6
|
+
%th
|
7
|
+
Content ID
|
8
|
+
%th
|
9
|
+
Updated At
|
10
|
+
%tbody
|
11
|
+
- @lists.each do |list|
|
12
|
+
%tr
|
13
|
+
%td
|
14
|
+
%a{ href: url("/posts/view/#{list[:content_id]}") }
|
15
|
+
= list[:content_id]
|
16
|
+
%td
|
17
|
+
= list[:updated_at]
|
data/lib/gast/version.rb
CHANGED
data/spec/controller_spec.rb
CHANGED
data/spec/memo_spec.rb
CHANGED
data/spec/repository_spec.rb
CHANGED
@@ -17,7 +17,7 @@ describe Gast::Repository do
|
|
17
17
|
after(:each) { cleanup_in_the_dir }
|
18
18
|
|
19
19
|
it 'should be create of repository' do
|
20
|
-
expect(FileTest.exists?(repo.path)).to
|
20
|
+
expect(FileTest.exists?(repo.path)).to be_truthy
|
21
21
|
end
|
22
22
|
|
23
23
|
it 'should be content is a Hello world' do
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gast
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- futoase
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-06-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -267,7 +267,7 @@ files:
|
|
267
267
|
- spec/memo_spec.rb
|
268
268
|
- spec/repository_spec.rb
|
269
269
|
- spec/spec_helper.rb
|
270
|
-
homepage:
|
270
|
+
homepage: https://github.com/futoase/gast
|
271
271
|
licenses:
|
272
272
|
- MIT
|
273
273
|
metadata: {}
|