rosette-client 1.0.1 → 1.0.2

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
  SHA1:
3
- metadata.gz: c5c191cd4c4fab60eb16d3fe33c9b2f0c3e26c65
4
- data.tar.gz: 3a059a1b64f2bfd6e57d5dea12b26eaccc5825fe
3
+ metadata.gz: 7c6afe1eb241b0eeb59430f140a600977422ab58
4
+ data.tar.gz: d78277c5d2df5742be5a447898fd9c33060d992d
5
5
  SHA512:
6
- metadata.gz: 2c1399a9fc2a39f05df85f840e2da3553114087c640372afc72a9cf10f695a5e5e2961292655b84814cd74c671f607f1cb026e0e3b0e31399149550bcc5d3279
7
- data.tar.gz: d3a0980d7c2f063650a070385bb9e937e13d11696fc7a36973caab37396d556ad95b7a8cd04bc2a030196fb612bda205ed25daf64a01bb3ef670f1960c1cbcba
6
+ metadata.gz: 34030bea9528d1c185d6cef984ebb896e9866a4faa9ec009ab294ec8907c8b2fe21855d251e78b3080b3a0e92d3dfbc77ccd1e5da4a41ce5ce07e98d9d11addc
7
+ data.tar.gz: a5a11f21521da4688351a7d68205b200067f373242581ba0aa6d7d24eea2fda8e2e05abf6dbf41251075e8ad9e9e5af6bc573debbb4e809c24e6578ce81d37b9
data/History.txt CHANGED
@@ -5,3 +5,9 @@
5
5
  == 1.0.1
6
6
 
7
7
  * Added locales endpoint to API.
8
+
9
+ == 1.0.2
10
+
11
+ * Fixed bug where CLI was not constructed with correct parameters in
12
+ bin/git-rosette.
13
+ * StatusCommand now prints commit status (as well as phrase status).
data/bin/git-rosette CHANGED
@@ -14,4 +14,5 @@ api = Rosette::Client::Api.new(
14
14
 
15
15
  terminal = Rosette::Client::Terminal.new
16
16
  repo = Rosette::Client::Repo.new(Dir.getwd)
17
- Rosette::Client::Cli.new(terminal, api, repo).start(ARGV)
17
+ writer = Rosette::Client::Writer
18
+ Rosette::Client::Cli.new(terminal, writer, api, repo).start(ARGV)
@@ -22,6 +22,7 @@ module Rosette
22
22
 
23
23
  handle_error(response) do |response|
24
24
  if response.locales && response.phrase_count
25
+ terminal.say("Status: #{response.status}")
25
26
  terminal.say(
26
27
  build_locale_table(response.locales, response.phrase_count)
27
28
  )
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rosette
4
4
  module Client
5
- VERSION = "1.0.1"
5
+ VERSION = "1.0.2"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rosette-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cameron Dutro
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-23 00:00:00.000000000 Z
11
+ date: 2015-02-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement