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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6d070b3385edf1645cfd0f61992827e9820be5aae720740e1dbef45b5ae7c704
4
- data.tar.gz: 75c919ad9551338d8b878f68f08f8aee6b868fef83d052db8f3f5504eea97021
3
+ metadata.gz: 632adb2f6ff495cf9291c9061d9022f7f0d757d9fd04eedec59ac0c3a5c88114
4
+ data.tar.gz: 3769286c48060006b6a9e069cd879b83dc431f2d23e4c893cf50d9a1ce571caa
5
5
  SHA512:
6
- metadata.gz: a1a463c963cc16dd244f98677d10425ec3b87271f16e88fda596436660c518280f2cb6e86bb7fd2231b07a5c7b47270fb22efdb49195bdf28d5e8adf354fed53
7
- data.tar.gz: 59e53c5a6d06c0e67f7e179f1f4e4e257c56bd4fdafa10e787084c2a9be5d19f5eb6ff45243be1a0016c6ff8bf262c63fc1513bf2ad2220b076faed5cfc23742
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
 
@@ -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
 
@@ -1,3 +1,3 @@
1
1
  module Carraway
2
- VERSION = "1.0.1"
2
+ VERSION = "1.1.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: carraway
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - adorechic