ruboty-phraseapp 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e00fae72791272ed09bcbb0a95ba4cd80e0a97fc
4
- data.tar.gz: 25811392a42a6050f7bbe8f6bb8687dcffb84cd0
3
+ metadata.gz: e98b3dddc695c8fb1f4b198c34ebd4d2f94637b0
4
+ data.tar.gz: e2059e180b3a2ff570796887bd7144c91f50058b
5
5
  SHA512:
6
- metadata.gz: 7fbbe98668786f4e034d27f66854e1ff3ecaeb3ed9f737db32aec82198a0f79b8a96adb73eb46e0c60c81b96cddc199c1b4f16f5b94840a29111e191e3ef93f3
7
- data.tar.gz: cd789ce504c0d63ca49c5e75a562372495c984dd89189523ea6fe098366cd0b60b189edb0b8927ce1527abb2c202b1432d3fca6b9c0efd3e180159fb864e939e
6
+ metadata.gz: e36999aa6523625a3eb6df2c9fe2d4b2076c65da179cc6cbadfd58c4cf81754f930fc198b2a69f157161616a1f10913c5036b0fa4721fb5d4aaade020abb545b
7
+ data.tar.gz: 9eff462ecbdcfe043e61bad5aaff4b93672247209d0c9c32e98bf9452f4308cb6eb8743e91245aa9609d6dbab61058ac3959be5003f120c078c51af1fb020f87
data/README.md CHANGED
@@ -1,41 +1,22 @@
1
1
  # Ruboty::Phraseapp
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/ruboty/phraseapp`. To experiment with that code, run `bin/console` for an interactive prompt.
3
+ [Ruboty](http://github.com/r7kamura/ruboty) plug-in to control [Phraseapp](https://phraseapp.com/)
4
4
 
5
- TODO: Delete this and the text above, and describe your gem
6
-
7
- ## Installation
8
-
9
- Add this line to your application's Gemfile:
5
+ ## Install
10
6
 
11
7
  ```ruby
12
- gem 'ruboty-phraseapp'
8
+ #Gemfile
9
+ gem "ruboty-phraseapp"
13
10
  ```
14
11
 
15
- And then execute:
16
-
17
- $ bundle
18
-
19
- Or install it yourself as:
12
+ ## Prepare
20
13
 
21
- $ gem install ruboty-phraseapp
14
+ Set PHRASEAPP_ACCESS_TOKEN and PHRASEAPP_PROJECT_ID.
22
15
 
23
16
  ## Usage
24
17
 
25
- TODO: Write usage instructions here
26
-
27
- ## Development
28
-
29
- After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
-
31
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
-
33
- ## Contributing
34
-
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/ruboty-phraseapp. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
36
-
37
-
38
- ## License
39
-
40
- The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
18
+ ### translation stats
41
19
 
20
+ ```
21
+ @ruboty phraseapp stats locale <locale_id>
22
+ ```
@@ -16,7 +16,7 @@ module Ruboty
16
16
  reply_message = [
17
17
  "#{data.name}(#{data.code}):flag-#{country}: translation stats",
18
18
  "unverified: #{unverified} #{unverified > 0 ? ':warning:' : ':ok_hand:'}",
19
- "untranslated: #{untranslated} #{unverified > 0 ? ':warning:' : ':ok_hand:'}"
19
+ "untranslated: #{untranslated} #{untranslated > 0 ? ':warning:' : ':ok_hand:'}"
20
20
  ]
21
21
 
22
22
  message.reply reply_message.join("\n")
@@ -1,5 +1,5 @@
1
1
  module Ruboty
2
2
  module Phraseapp
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
11
11
 
12
12
  spec.summary = %q{Ruboty plugin for phraseapp}
13
13
  spec.description = %q{Ruboty plugin for phraseapp}
14
- spec.homepage = 'https://github.com/bitjourney/ruboty-phraseapp'
14
+ spec.homepage = 'https://github.com/dex1t/ruboty-phraseapp'
15
15
  spec.license = 'MIT'
16
16
 
17
17
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruboty-phraseapp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - dex1t
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-11-30 00:00:00.000000000 Z
11
+ date: 2016-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruboty
@@ -82,7 +82,7 @@ files:
82
82
  - lib/ruboty/phraseapp.rb
83
83
  - lib/ruboty/phraseapp/version.rb
84
84
  - ruboty-phraseapp.gemspec
85
- homepage: https://github.com/bitjourney/ruboty-phraseapp
85
+ homepage: https://github.com/dex1t/ruboty-phraseapp
86
86
  licenses:
87
87
  - MIT
88
88
  metadata: {}