friends 0.24 → 0.25

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6d3011809caabfa111b478a57a39b562a260ada1
4
- data.tar.gz: 8a3d2a2b250ea85c44950a2bffbe3142940d2481
3
+ metadata.gz: 858f0bb2e50b71b1b716d3eaf88e5106231ddd61
4
+ data.tar.gz: dd9290e06e2ef48d27647596f54397c85fbfaf17
5
5
  SHA512:
6
- metadata.gz: 6e3df7a84a7b2033a093de24ce0728961857db8cb99b0d34da1d661fc541a7c0df4386452717894dc3c7c515c9b62ad6e8653f3e27277d50b0a194e526afa8e0
7
- data.tar.gz: 9c61b1fd7eb6796462f32afaa756b3a11bf2510567d36fedbd40df2fa61043062ec8f01d540d6c47bba04156bdac9bac74b680351779d0f5b814ed53e4bd0791
6
+ metadata.gz: effd46430149b527101da397820d12000788919f2ba18739e7d4f311f7bcc8c9df442f40c00233ed60c5e768c5e16ffdfc42fc34776c86e786f51def19a33daf
7
+ data.tar.gz: 2cd814bb39b04da722a2ede75420f44ab2178282e34be63f6ccab97175d245337323bcb601bcdc665f242d71b019119cecdf314863f64cc758a05da7eb32370b
@@ -2,6 +2,9 @@ language: ruby
2
2
  rvm:
3
3
  - 2.1.0
4
4
  - 2.3.0
5
+ script:
6
+ - bundle exec rake test
7
+ - bundle exec rubocop
5
8
  addons:
6
9
  code_climate:
7
10
  repo_token: d744a74c96e3e5c763ed776709aff0662ac2f3e8274c01e439e09b38c8be4225
@@ -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!
@@ -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
- arg_name: '"activities" or "friends" (default: both)',
161
- desc: "List only tags from activities or friends "\
162
- "instead of both"
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
@@ -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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Friends
4
- VERSION = "0.24"
4
+ VERSION = "0.25"
5
5
  end
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.24'
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-17 00:00:00.000000000 Z
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