bamboo_rat 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 +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +9 -5
- data/lib/bamboo_rat/diff.rb +2 -0
- data/lib/bamboo_rat/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5b8c2d6dca6ecc3c8c3d1876ee3a5ba848d25957efcf76568306c687122dcf36
|
|
4
|
+
data.tar.gz: 997fbc11dd35c01d7f26f81e390cc06cf93a02e811c8b12b1ef4bc1e06ba814a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f2cc7531605ee2f93063bfa44ef29d86b465715122cb51bd82af618d0bca134d8dbd04be363727d4af8e0ede3a35dbaf6cbc88eba0a1993307d0084b2c7a1d79
|
|
7
|
+
data.tar.gz: 9f883d008c91f70b626050d85c07d24298e6fde645f9c76f677da3cd80fdfbbf7ede4e3836f4d5fc6648fef820dafa85fb8956d9dd783adba51be5e26eca5088
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-

|
|
2
1
|
# BambooRat
|
|
2
|
+
A CLI Tool for CBRA Project
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
TODO: Delete this and the text above, and describe your gem
|
|
4
|
+

|
|
7
5
|
|
|
8
6
|
## Installation
|
|
9
7
|
|
|
@@ -23,7 +21,13 @@ Or install it yourself as:
|
|
|
23
21
|
|
|
24
22
|
## Usage
|
|
25
23
|
|
|
26
|
-
|
|
24
|
+
```
|
|
25
|
+
Commands:
|
|
26
|
+
bamboo_rat diff [PATH] # Show changed components.
|
|
27
|
+
bamboo_rat help [COMMAND] # Describe available commands or one specific command
|
|
28
|
+
bamboo_rat ls [PATH] # Show components list.
|
|
29
|
+
```
|
|
30
|
+
|
|
27
31
|
|
|
28
32
|
## Development
|
|
29
33
|
|
data/lib/bamboo_rat/diff.rb
CHANGED
|
@@ -13,6 +13,8 @@ module BambooRat
|
|
|
13
13
|
|
|
14
14
|
def formatted_data
|
|
15
15
|
return { diff: @diff_components }.to_json if @format == 'simple'
|
|
16
|
+
return @diff_components[:js].join(',') if @format == 'js'
|
|
17
|
+
return @diff_components[:ruby].join(',' if @format == 'ruby'
|
|
16
18
|
{
|
|
17
19
|
js_components: @tree.js_components.map(&:path),
|
|
18
20
|
ruby_components: @tree.ruby_components.map(&:path),
|
data/lib/bamboo_rat/version.rb
CHANGED