friends 0.24 → 0.25
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +3 -0
- data/CHANGELOG.md +16 -0
- data/PULL_REQUEST_TEMPLATE.md +13 -0
- data/bin/friends +3 -3
- data/lib/friends/introvert.rb +0 -9
- data/lib/friends/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 858f0bb2e50b71b1b716d3eaf88e5106231ddd61
|
4
|
+
data.tar.gz: dd9290e06e2ef48d27647596f54397c85fbfaf17
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: effd46430149b527101da397820d12000788919f2ba18739e7d4f311f7bcc8c9df442f40c00233ed60c5e768c5e16ffdfc42fc34776c86e786f51def19a33daf
|
7
|
+
data.tar.gz: 2cd814bb39b04da722a2ede75420f44ab2178282e34be63f6ccab97175d245337323bcb601bcdc665f242d71b019119cecdf314863f64cc758a05da7eb32370b
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## [v0.25](https://github.com/JacobEvelyn/friends/tree/v0.25) (2016-05-22)
|
4
|
+
[Full Changelog](https://github.com/JacobEvelyn/friends/compare/v0.24...v0.25)
|
5
|
+
|
6
|
+
**Fixed bugs:**
|
7
|
+
|
8
|
+
- Error: stack level too deep [\#136](https://github.com/JacobEvelyn/friends/issues/136)
|
9
|
+
|
10
|
+
**Closed issues:**
|
11
|
+
|
12
|
+
- Remove tag-migration code for 1.0 release [\#139](https://github.com/JacobEvelyn/friends/issues/139)
|
13
|
+
|
14
|
+
**Merged pull requests:**
|
15
|
+
|
16
|
+
- Make tag-migration code simpler [\#138](https://github.com/JacobEvelyn/friends/pull/138) ([JacobEvelyn](https://github.com/JacobEvelyn))
|
17
|
+
- Add rubocop run to TravisCI [\#135](https://github.com/JacobEvelyn/friends/pull/135) ([JacobEvelyn](https://github.com/JacobEvelyn))
|
18
|
+
|
3
19
|
## [v0.24](https://github.com/JacobEvelyn/friends/tree/v0.24) (2016-05-17)
|
4
20
|
[Full Changelog](https://github.com/JacobEvelyn/friends/compare/v0.23...v0.24)
|
5
21
|
|
@@ -0,0 +1,13 @@
|
|
1
|
+
Hi there! Thanks so much for submitting a pull request!
|
2
|
+
|
3
|
+
Let's just make sure together that all of these boxes are checked before we
|
4
|
+
merge this change:
|
5
|
+
|
6
|
+
- [ ] The code in these changes works correctly.
|
7
|
+
- [ ] Code has tests as appropriate.
|
8
|
+
- [ ] Code has been reviewed by @JacobEvelyn.
|
9
|
+
- [ ] All tests pass on TravisCI.
|
10
|
+
- [ ] Rubocop reports no issues on TravisCI.
|
11
|
+
- [ ] The `README.md` file is updated as appropriate.
|
12
|
+
|
13
|
+
Don't worry—this list will get checked off in no time!
|
data/bin/friends
CHANGED
@@ -157,9 +157,9 @@ command :list do |list|
|
|
157
157
|
list.desc "List all tags used"
|
158
158
|
list.command :tags do |list_tags|
|
159
159
|
list_tags.flag [:from],
|
160
|
-
|
161
|
-
|
162
|
-
|
160
|
+
arg_name: '"activities" or "friends" (default: both)',
|
161
|
+
desc: "List only tags from activities or friends instead of"\
|
162
|
+
"both"
|
163
163
|
list_tags.action do |_, options|
|
164
164
|
puts @introvert.list_tags(from: options[:from])
|
165
165
|
end
|
data/lib/friends/introvert.rb
CHANGED
@@ -569,15 +569,6 @@ module Friends
|
|
569
569
|
# Parse the line and update the parsing state.
|
570
570
|
state = parse_line!(line, line_num: line_num, state: state)
|
571
571
|
end
|
572
|
-
|
573
|
-
# Migrate old tag format (#tag) into new tag format (@tag). This code will
|
574
|
-
# be removed in the 1.0 release.
|
575
|
-
unless @friends.any? { |f| f.tags.any? } ||
|
576
|
-
@activities.any? { |a| a.tags.any? }
|
577
|
-
contents = File.read(@filename)
|
578
|
-
File.write(@filename, contents.gsub(/#(\p{Alnum}+)/, "@\\1"))
|
579
|
-
read_file
|
580
|
-
end
|
581
572
|
end
|
582
573
|
|
583
574
|
# Parse the given line, adding to the various internal data structures as
|
data/lib/friends/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: friends
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.25'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jacob Evelyn
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-05-
|
11
|
+
date: 2016-05-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: chronic
|
@@ -182,6 +182,7 @@ files:
|
|
182
182
|
- CONTRIBUTING.md
|
183
183
|
- Gemfile
|
184
184
|
- LICENSE.txt
|
185
|
+
- PULL_REQUEST_TEMPLATE.md
|
185
186
|
- README.md
|
186
187
|
- RELEASING.md
|
187
188
|
- Rakefile
|