carraway 1.0.1 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/lib/carraway/server.rb +3 -3
- data/lib/carraway/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 632adb2f6ff495cf9291c9061d9022f7f0d757d9fd04eedec59ac0c3a5c88114
|
4
|
+
data.tar.gz: 3769286c48060006b6a9e069cd879b83dc431f2d23e4c893cf50d9a1ce571caa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd7678b5f12149c84cc1a42d4987f2e909ea06a32ebe987d9931c2f997a2e1141cf0f44a80ed60946c3816c457f576d484ae67e0b87ee55543629dcac464817c
|
7
|
+
data.tar.gz: 2e221d04a2b6d34affe891fe6a8a19074b3f798751306b54d28c967e6cad3818908d1302116af40602d938f60870618642a77a3c6ac75870b762b952cfe02530
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## [v1.0.1](https://github.com/adorechic/carraway/tree/v1.0.1) (2019-02-28)
|
4
|
+
[Full Changelog](https://github.com/adorechic/carraway/compare/v1.0.0...v1.0.1)
|
5
|
+
|
6
|
+
**Merged pull requests:**
|
7
|
+
|
8
|
+
- Ignore nil body to support file [\#12](https://github.com/adorechic/carraway/pull/12) ([isohi](https://github.com/isohi))
|
9
|
+
|
3
10
|
## [v1.0.0](https://github.com/adorechic/carraway/tree/v1.0.0) (2019-02-18)
|
4
11
|
[Full Changelog](https://github.com/adorechic/carraway/compare/v0.12.0...v1.0.0)
|
5
12
|
|
data/lib/carraway/server.rb
CHANGED
@@ -40,13 +40,13 @@ module Carraway
|
|
40
40
|
end
|
41
41
|
|
42
42
|
get '/carraway/new' do
|
43
|
-
@files = FileRepository.new.all
|
43
|
+
@files = FileRepository.new.all.sort_by!(&:created).reverse!
|
44
44
|
erb :new
|
45
45
|
end
|
46
46
|
|
47
47
|
get %r{/carraway/edit/(\d+)} do |uid|
|
48
48
|
@post = Post.find(uid)
|
49
|
-
@files = FileRepository.new.all
|
49
|
+
@files = FileRepository.new.all.sort_by!(&:created).reverse!
|
50
50
|
# FIXME handle not found
|
51
51
|
erb :edit
|
52
52
|
end
|
@@ -131,7 +131,7 @@ module Carraway
|
|
131
131
|
end
|
132
132
|
|
133
133
|
get '/carraway/files' do
|
134
|
-
@files = FileRepository.new.all
|
134
|
+
@files = FileRepository.new.all.sort_by!(&:created).reverse!
|
135
135
|
erb :files
|
136
136
|
end
|
137
137
|
|
data/lib/carraway/version.rb
CHANGED