agile_utils 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/CHANGELOGS.md +4 -29
- data/README.md +5 -0
- data/lib/agile_utils/version.rb +1 -1
- data/rubocop-todo.yml +3 -52
- data/test/lib/agile_utils/test_file_util.rb +2 -2
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c20d4dfb448b9e3cf2276dd07eedc04bb3a5a129
|
|
4
|
+
data.tar.gz: 64cd89c97cc468c8f531f4ccb85d9a0ca89cfe50
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9d930c00dcad9f310a969035a9d00de2cd4c669c179847d5b67ec3d78f58e74ea50c2dd7dcfe47c3311786f3cfac337ae1e58b8dbef67fc52c0c915b07195a5d
|
|
7
|
+
data.tar.gz: d64cdd6f67adf0d10dba3648efb07d537d3e56c9cf92c6f1d8f1917989bdbc872e5e0a10b408d70cdb82545ea6801d7dd2e229f9b9f13d6eabe041ec4f8f2f40
|
data/CHANGELOGS.md
CHANGED
|
@@ -8,34 +8,9 @@
|
|
|
8
8
|
- Fix style with rubocop
|
|
9
9
|
- Update gemspec file
|
|
10
10
|
|
|
11
|
-
#### 0.0.8
|
|
11
|
+
#### 0.0.1 - 0.0.8
|
|
12
12
|
|
|
13
|
-
-
|
|
13
|
+
- Releases before the Semantic Versioning
|
|
14
|
+
- Implmented many features and fix a few bugs along the way
|
|
14
15
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
- Remove the `default_options` from `base_option.rb`
|
|
18
|
-
|
|
19
|
-
- Update the description for `base_option.rb`
|
|
20
|
-
|
|
21
|
-
#### 0.0.6
|
|
22
|
-
|
|
23
|
-
- Fix the `-f` options description
|
|
24
|
-
|
|
25
|
-
#### 0.0.5
|
|
26
|
-
|
|
27
|
-
- Correct the short option for '--exc-words'
|
|
28
|
-
|
|
29
|
-
- Show list of apis for default usage
|
|
30
|
-
|
|
31
|
-
#### 0.0.3 - 0.0.4
|
|
32
|
-
|
|
33
|
-
- Add more functions
|
|
34
|
-
|
|
35
|
-
- Code refactoring and cleanup
|
|
36
|
-
|
|
37
|
-
#### 0.0.2
|
|
38
|
-
|
|
39
|
-
- First initial release
|
|
40
|
-
|
|
41
|
-
[Semantec Versioning]: http://semver.org
|
|
16
|
+
[Semantic Versioning]: http://semver.org
|
data/README.md
CHANGED
|
@@ -13,6 +13,9 @@ To promote the code re-use I move them all to this gem. Most of them are from a
|
|
|
13
13
|
well known gems, but some are written from scratch.
|
|
14
14
|
I hope you will find some of them useful for your interesting project.
|
|
15
15
|
|
|
16
|
+
Start from version `0.1.0`, the newer version will be released based on
|
|
17
|
+
the [Semantic Versioning][].
|
|
18
|
+
|
|
16
19
|
### Installation
|
|
17
20
|
|
|
18
21
|
Add this line to your application's Gemfile:
|
|
@@ -55,3 +58,5 @@ AgileUtils::FileUtils.tar_gzip_files
|
|
|
55
58
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
|
56
59
|
4. Push to the branch (`git push origin my-new-feature`)
|
|
57
60
|
5. Create new Pull Request
|
|
61
|
+
|
|
62
|
+
[Semantic Versioning]: http://semver.org
|
data/lib/agile_utils/version.rb
CHANGED
data/rubocop-todo.yml
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# This configuration was generated by `rubocop --auto-gen-config`
|
|
2
|
-
# on 2014-05-12
|
|
2
|
+
# on 2014-05-12 22:19:37 +1000 using RuboCop version 0.21.0.
|
|
3
3
|
# The point is for the user to remove these configuration records
|
|
4
4
|
# one by one as the offenses are removed from the code base.
|
|
5
5
|
# Note that changes in the inspected code, or installation of new
|
|
@@ -9,35 +9,14 @@
|
|
|
9
9
|
CyclomaticComplexity:
|
|
10
10
|
Max: 7
|
|
11
11
|
|
|
12
|
-
# Offense count: 2
|
|
13
|
-
# Cop supports --auto-correct.
|
|
14
|
-
DeprecatedClassMethods:
|
|
15
|
-
Enabled: false
|
|
16
|
-
|
|
17
12
|
# Offense count: 9
|
|
18
13
|
Documentation:
|
|
19
14
|
Enabled: false
|
|
20
15
|
|
|
21
|
-
# Offense count: 7
|
|
22
|
-
# Cop supports --auto-correct.
|
|
23
|
-
EmptyLinesAroundBody:
|
|
24
|
-
Enabled: true
|
|
25
|
-
|
|
26
16
|
# Offense count: 4
|
|
27
17
|
Eval:
|
|
28
18
|
Enabled: false
|
|
29
19
|
|
|
30
|
-
# Offense count: 1
|
|
31
|
-
# Cop supports --auto-correct.
|
|
32
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
33
|
-
HashSyntax:
|
|
34
|
-
Enabled: true
|
|
35
|
-
|
|
36
|
-
# Offense count: 2
|
|
37
|
-
# Cop supports --auto-correct.
|
|
38
|
-
LeadingCommentSpace:
|
|
39
|
-
Enabled: true
|
|
40
|
-
|
|
41
20
|
# Offense count: 10
|
|
42
21
|
LineLength:
|
|
43
22
|
Max: 112
|
|
@@ -47,26 +26,15 @@ LineLength:
|
|
|
47
26
|
MethodLength:
|
|
48
27
|
Max: 15
|
|
49
28
|
|
|
50
|
-
# Offense count: 2
|
|
51
|
-
# Cop supports --auto-correct.
|
|
52
|
-
# Configuration parameters: PreferredDelimiters.
|
|
53
|
-
PercentLiteralDelimiters:
|
|
54
|
-
Enabled: true
|
|
55
|
-
|
|
56
29
|
# Offense count: 2
|
|
57
30
|
# Configuration parameters: NamePrefixBlacklist.
|
|
58
31
|
PredicateName:
|
|
59
32
|
Enabled: false
|
|
60
33
|
|
|
61
34
|
# Offense count: 1
|
|
62
|
-
#
|
|
63
|
-
# Configuration parameters: AllowMultipleReturnValues.
|
|
64
|
-
RedundantReturn:
|
|
65
|
-
Enabled: true
|
|
66
|
-
|
|
67
|
-
# Offense count: 2
|
|
35
|
+
# Configuration parameters: MaxSlashes.
|
|
68
36
|
RegexpLiteral:
|
|
69
|
-
|
|
37
|
+
Enabled: false
|
|
70
38
|
|
|
71
39
|
# Offense count: 1
|
|
72
40
|
# Cop supports --auto-correct.
|
|
@@ -77,23 +45,6 @@ RescueException:
|
|
|
77
45
|
RescueModifier:
|
|
78
46
|
Enabled: false
|
|
79
47
|
|
|
80
|
-
# Offense count: 2
|
|
81
|
-
# Cop supports --auto-correct.
|
|
82
|
-
SpaceAfterComma:
|
|
83
|
-
Enabled: true
|
|
84
|
-
|
|
85
|
-
# Offense count: 2
|
|
86
|
-
# Cop supports --auto-correct.
|
|
87
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
88
|
-
SpaceBeforeBlockBraces:
|
|
89
|
-
Enabled: true
|
|
90
|
-
|
|
91
|
-
# Offense count: 17
|
|
92
|
-
# Cop supports --auto-correct.
|
|
93
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
94
|
-
StringLiterals:
|
|
95
|
-
Enabled: true
|
|
96
|
-
|
|
97
48
|
# Offense count: 2
|
|
98
49
|
UnusedBlockArgument:
|
|
99
50
|
Enabled: false
|
|
@@ -14,9 +14,9 @@ describe AgileUtils do
|
|
|
14
14
|
end
|
|
15
15
|
|
|
16
16
|
it 'compresses list of files' do
|
|
17
|
-
refute File.
|
|
17
|
+
refute File.exist?('test/fixtures/output.tar.gz'), 'Output file must not exist'
|
|
18
18
|
AgileUtils::FileUtil.tar_gzip_files(@files, 'test/fixtures/output.tar.gz')
|
|
19
|
-
assert File.
|
|
19
|
+
assert File.exist?('test/fixtures/output.tar.gz'), 'Output file must be generated'
|
|
20
20
|
end
|
|
21
21
|
end
|
|
22
22
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: agile_utils
|
|
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
|
- Burin Choomnuan
|
|
@@ -253,11 +253,11 @@ signing_key:
|
|
|
253
253
|
specification_version: 4
|
|
254
254
|
summary: Collection of my ruby library that can be re-used across projects
|
|
255
255
|
test_files:
|
|
256
|
-
- test/
|
|
257
|
-
- test/
|
|
258
|
-
- test/test_helper.rb
|
|
256
|
+
- test/fixtures/inputs/demo1.xxx.rb
|
|
257
|
+
- test/fixtures/inputs/demo2.xxx.rb
|
|
259
258
|
- test/fixtures/outputs/demo1.xhtml
|
|
260
259
|
- test/fixtures/outputs/demo2.xhtml
|
|
261
|
-
- test/
|
|
262
|
-
- test/
|
|
260
|
+
- test/lib/agile_utils/test_file_util.rb
|
|
261
|
+
- test/lib/agile_utils/test_helper.rb
|
|
262
|
+
- test/test_helper.rb
|
|
263
263
|
has_rdoc:
|