ruboty-phraseapp 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +10 -29
- data/lib/ruboty/phraseapp.rb +1 -1
- data/lib/ruboty/phraseapp/version.rb +1 -1
- data/ruboty-phraseapp.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e98b3dddc695c8fb1f4b198c34ebd4d2f94637b0
|
4
|
+
data.tar.gz: e2059e180b3a2ff570796887bd7144c91f50058b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e36999aa6523625a3eb6df2c9fe2d4b2076c65da179cc6cbadfd58c4cf81754f930fc198b2a69f157161616a1f10913c5036b0fa4721fb5d4aaade020abb545b
|
7
|
+
data.tar.gz: 9eff462ecbdcfe043e61bad5aaff4b93672247209d0c9c32e98bf9452f4308cb6eb8743e91245aa9609d6dbab61058ac3959be5003f120c078c51af1fb020f87
|
data/README.md
CHANGED
@@ -1,41 +1,22 @@
|
|
1
1
|
# Ruboty::Phraseapp
|
2
2
|
|
3
|
-
|
3
|
+
[Ruboty](http://github.com/r7kamura/ruboty) plug-in to control [Phraseapp](https://phraseapp.com/)
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
## Installation
|
8
|
-
|
9
|
-
Add this line to your application's Gemfile:
|
5
|
+
## Install
|
10
6
|
|
11
7
|
```ruby
|
12
|
-
|
8
|
+
#Gemfile
|
9
|
+
gem "ruboty-phraseapp"
|
13
10
|
```
|
14
11
|
|
15
|
-
|
16
|
-
|
17
|
-
$ bundle
|
18
|
-
|
19
|
-
Or install it yourself as:
|
12
|
+
## Prepare
|
20
13
|
|
21
|
-
|
14
|
+
Set PHRASEAPP_ACCESS_TOKEN and PHRASEAPP_PROJECT_ID.
|
22
15
|
|
23
16
|
## Usage
|
24
17
|
|
25
|
-
|
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
|
+
```
|
data/lib/ruboty/phraseapp.rb
CHANGED
@@ -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} #{
|
19
|
+
"untranslated: #{untranslated} #{untranslated > 0 ? ':warning:' : ':ok_hand:'}"
|
20
20
|
]
|
21
21
|
|
22
22
|
message.reply reply_message.join("\n")
|
data/ruboty-phraseapp.gemspec
CHANGED
@@ -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/
|
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.
|
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
|
+
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/
|
85
|
+
homepage: https://github.com/dex1t/ruboty-phraseapp
|
86
86
|
licenses:
|
87
87
|
- MIT
|
88
88
|
metadata: {}
|