hs-cli 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/app/views/_footer.erb +1 -1
- data/lib/hs/models/chapter.rb +1 -1
- data/lib/hs/preview/chapter_preview.rb +3 -0
- data/lib/hs/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 40072df5da387c7cfd1ccdc4e5fded11d0667ced276d450edb99f4a648f8f9e1
|
4
|
+
data.tar.gz: 8dfdca544def1246b7dabbe03ffa4c0fa4152d541c64300bfc92a96ba791594e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a6061d9663674352d7e48825413e654d54e995a07db4f4b5ae1b70b6ac10987704ac28de4cfdd5616ce0505d046f25c5bdbbbe1f869f1a4882ace184c2a32ed0
|
7
|
+
data.tar.gz: e572c9d98d09f2a630c0566a00876796d6d116f925fe514a0310fc5144158718a301b75bb8ab6760524e2d809b1226258192cc687ceec72b5acd5449625a4a49
|
data/Gemfile.lock
CHANGED
data/app/views/_footer.erb
CHANGED
data/lib/hs/models/chapter.rb
CHANGED
@@ -8,7 +8,7 @@ module HS
|
|
8
8
|
extend HS::ChapterLoader
|
9
9
|
include HS::ChapterPreview
|
10
10
|
|
11
|
-
REVIEW_STATUSES = %w[none first second final].freeze
|
11
|
+
REVIEW_STATUSES = %w[none translated first second final].freeze
|
12
12
|
|
13
13
|
def self.load(course, file)
|
14
14
|
load_chapter(course, File.read(file))
|
@@ -8,6 +8,7 @@ module HS
|
|
8
8
|
|
9
9
|
REVIEW_ICON = {
|
10
10
|
none: 'file',
|
11
|
+
translated: 'bookmark',
|
11
12
|
first: 'file-edit',
|
12
13
|
second: 'heart',
|
13
14
|
final: 'check'
|
@@ -15,6 +16,7 @@ module HS
|
|
15
16
|
|
16
17
|
REVIEW_COLOR = {
|
17
18
|
none: 'muted',
|
19
|
+
translated: 'muted',
|
18
20
|
first: 'warning',
|
19
21
|
second: 'danger',
|
20
22
|
final: 'primary'
|
@@ -22,6 +24,7 @@ module HS
|
|
22
24
|
|
23
25
|
REVIEW_TITLE = {
|
24
26
|
none: 'არაა რედაქტირებული',
|
27
|
+
translated: 'პორველადი თარგმანი',
|
25
28
|
first: 'პირველადი რედაქტირება',
|
26
29
|
second: 'მეორადი რედაქტირება',
|
27
30
|
final: 'საბოლოო რედაქცია'
|
data/lib/hs/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hs-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dimitri Kurashvili
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-08-
|
11
|
+
date: 2018-08-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|