android_lint_translate_checkstyle_format 0.1.2 → 0.2.0
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3f6a8f52f86e2787f76fd8315691fdc24080f978
|
|
4
|
+
data.tar.gz: e54009a61f15c63b687acf1ee562d48be1d645cc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9f95c2c1f2a5be51a39d6f50d23d1a15e49a621d92ce23b52fbcec6a6837723041b0104ffc1415023658f911b793b92cec750bbb592b814453526517f58dc70d
|
|
7
|
+
data.tar.gz: f088f48c646f65a2a004038873f987187eedac8a326df0082afd6eb77bc1704120abcc333d826934c5c71a4db70c6fb99b5737b32e401738e820fe5f82084a27
|
data/README.md
CHANGED
|
@@ -37,6 +37,14 @@ cat checkstyle.xml | android_lint_translate_checkstyle_format translate
|
|
|
37
37
|
android_lint_translate_checkstyle_format translate --file="checkstyle.xml"
|
|
38
38
|
```
|
|
39
39
|
|
|
40
|
+
### Use from ruby script
|
|
41
|
+
|
|
42
|
+
```ruby
|
|
43
|
+
require 'android_lint_translate_checkstyle_format'
|
|
44
|
+
android_lint_xml = ::AndroidLintTranslateCheckstyleFormat::Script.translate('<?xml ...')
|
|
45
|
+
checkstyle_format.report_by_text android_lint_xml
|
|
46
|
+
```
|
|
47
|
+
|
|
40
48
|
## Development
|
|
41
49
|
|
|
42
50
|
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake rspec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
|
@@ -51,4 +59,3 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERN
|
|
|
51
59
|
## License
|
|
52
60
|
|
|
53
61
|
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
|
54
|
-
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
require
|
|
2
|
-
require
|
|
1
|
+
require 'android_lint_translate_checkstyle_format/version'
|
|
2
|
+
require 'android_lint_translate_checkstyle_format/translate'
|
|
3
|
+
require 'android_lint_translate_checkstyle_format/script'
|
|
3
4
|
|
|
4
5
|
module AndroidLintTranslateCheckstyleFormat
|
|
5
6
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: android_lint_translate_checkstyle_format
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- noboru-i
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2017-09-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: nori
|
|
@@ -117,6 +117,7 @@ files:
|
|
|
117
117
|
- exe/android_lint_translate_checkstyle_format
|
|
118
118
|
- lib/android_lint_translate_checkstyle_format.rb
|
|
119
119
|
- lib/android_lint_translate_checkstyle_format/cli.rb
|
|
120
|
+
- lib/android_lint_translate_checkstyle_format/script.rb
|
|
120
121
|
- lib/android_lint_translate_checkstyle_format/translate.rb
|
|
121
122
|
- lib/android_lint_translate_checkstyle_format/version.rb
|
|
122
123
|
homepage: https://github.com/noboru-i/android_lint_translate_checkstyle_format
|
|
@@ -139,7 +140,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
139
140
|
version: '0'
|
|
140
141
|
requirements: []
|
|
141
142
|
rubyforge_project:
|
|
142
|
-
rubygems_version: 2.
|
|
143
|
+
rubygems_version: 2.6.11
|
|
143
144
|
signing_key:
|
|
144
145
|
specification_version: 4
|
|
145
146
|
summary: Translate android lint format into checkstyle format.
|