friends 0.43 → 0.44

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: 779330dcc4a5fb8acc1ab8f7454045d9d69d0967
4
- data.tar.gz: '04199e1544035835057259d1a4640609d4fa15d4'
3
+ metadata.gz: 28ee18ecc2add1c45714c81100ead732d85c7ff7
4
+ data.tar.gz: a6eb3b3a99415c702c946409af5d80767cc7c8aa
5
5
  SHA512:
6
- metadata.gz: f32cb8224ae8eefbf19696f940109ade23f6092eb4c180907f30b4e0c4cb84ed047989235d5dcab54759be909bf25ac8e14527142dd1ae2a3b3f0da898c721ac
7
- data.tar.gz: 760b017d4d42f127091227d592b4c3d044b5f2570e0156d0cd94789e7dce02cd128bb9c45628001537ead08374604667aa7738852106f2cd15e4dcd7549e1f8a
6
+ metadata.gz: 5e4643dc1724df57269c5172eb76316d52e821eed90367f88b18956dec2c28f293abc42e7e310145e7aa320cf5dc3aeb33668ff4078c7833f2fcb1fbee89e6f6
7
+ data.tar.gz: ea8d089451d5b2e29873aff17592613b9d99799a784f05ab43a9847441c7936de11e411cebdae3aae14d4bafc85e928d1418db12bbcfca0b74fb80803b642074
@@ -1,9 +1,10 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.1.0
4
- - 2.2.0
5
- - 2.3.0
6
- - 2.4.0 # 2.5.0 is tested below
3
+ - 2.1
4
+ - 2.2
5
+ - 2.3
6
+ - 2.4
7
+ - 2.5 # 2.6 is tested below
7
8
  branches:
8
9
  only:
9
10
  - master
@@ -11,7 +12,7 @@ script:
11
12
  - bundle exec rake test
12
13
  matrix:
13
14
  include:
14
- - rvm: 2.5.0
15
+ - rvm: 2.6
15
16
  script:
16
17
  - bundle exec rake test
17
18
  - gem install rubocop && rubocop
@@ -14,6 +14,27 @@ making a small donation (🙏) to show you appreciate its continued development.
14
14
 
15
15
  👆 Donate with these buttons! 👆
16
16
 
17
+ ## [v0.44](https://github.com/JacobEvelyn/friends/tree/v0.44) (2019-01-12)
18
+ [Full Changelog](https://github.com/JacobEvelyn/friends/compare/v0.43...v0.44)
19
+
20
+ **Implemented enhancements:**
21
+
22
+ - Test against Ruby 2.6 [\#224](https://github.com/JacobEvelyn/friends/issues/224)
23
+ - Default filename should be ~/friends.md instead of ./friends.md [\#197](https://github.com/JacobEvelyn/friends/issues/197)
24
+
25
+ **Closed issues:**
26
+
27
+ - Dependabot can't resolve your Ruby dependency files [\#221](https://github.com/JacobEvelyn/friends/issues/221)
28
+ - Dependabot can't resolve your Ruby dependency files [\#220](https://github.com/JacobEvelyn/friends/issues/220)
29
+ - Dependabot can't resolve your Ruby dependency files [\#219](https://github.com/JacobEvelyn/friends/issues/219)
30
+ - Dependabot can't resolve your Ruby dependency files [\#218](https://github.com/JacobEvelyn/friends/issues/218)
31
+
32
+ **Merged pull requests:**
33
+
34
+ - Test against Ruby 2.6 [\#225](https://github.com/JacobEvelyn/friends/pull/225) ([JacobEvelyn](https://github.com/JacobEvelyn))
35
+ - Change default from ./friends.md to ~/friends.md [\#223](https://github.com/JacobEvelyn/friends/pull/223) ([JacobEvelyn](https://github.com/JacobEvelyn))
36
+ - Update semverse requirement from ~\> 2.0 to \>= 2, \< 4 [\#217](https://github.com/JacobEvelyn/friends/pull/217) ([dependabot[bot]](https://github.com/apps/dependabot))
37
+
17
38
  ## [v0.43](https://github.com/JacobEvelyn/friends/tree/v0.43) (2018-11-25)
18
39
  [Full Changelog](https://github.com/JacobEvelyn/friends/compare/v0.42...v0.43)
19
40
 
data/README.md CHANGED
@@ -201,7 +201,7 @@ These flags are:
201
201
 
202
202
  - `--colorless`: Disable output colorization and other effects.
203
203
  - `--debug`: Debug error messages with a full backtrace.
204
- - `--filename`: Set the location of the friends file to use (default: `./friends.md`).
204
+ - `--filename`: Set the location of the friends file to use (default: `~/friends.md`).
205
205
 
206
206
  ```bash
207
207
  $ friends --filename ./test/tmp/friends.md clean
@@ -425,7 +425,7 @@ Reads and re-writes the `friends.md` file:
425
425
 
426
426
  ```bash
427
427
  $ friends clean
428
- File cleaned: "./friends.md"
428
+ File cleaned: "~/friends.md"
429
429
  ```
430
430
 
431
431
  This command is useful after manual editing of the file, for re-ordering its
@@ -439,7 +439,7 @@ Allows you to manually edit the file:
439
439
 
440
440
  ```bash
441
441
  $ friends edit
442
- Opening "./friends.md" with "vim"
442
+ Opening "~/friends.md" with "vim"
443
443
  ```
444
444
 
445
445
  The file is opened with the command specified by the `EDITOR` environment
@@ -448,7 +448,7 @@ variable, falling back to `vim` if it is not set:
448
448
  ```bash
449
449
  $ export EDITOR='atom --wait'
450
450
  $ friends edit
451
- Opening "./friends.md" with "atom --wait"
451
+ Opening "~/friends.md" with "atom --wait"
452
452
  ```
453
453
 
454
454
  Note that when setting your own `EDITOR` value, if you like to use
@@ -474,7 +474,7 @@ And if that friend or location isn't already present it'll be added:
474
474
  ```bash
475
475
  Friend added: "Oprah Winfrey"
476
476
  Location added: "Chicago"
477
- File cleaned: "./friends.md\"
477
+ File cleaned: "~/friends.md"
478
478
  ```
479
479
 
480
480
  #### `graph`
@@ -58,7 +58,7 @@ switch [:quiet],
58
58
 
59
59
  flag [:filename],
60
60
  arg_name: "FILENAME",
61
- default_value: "./friends.md",
61
+ default_value: "~/friends.md",
62
62
  desc: "Set the location of the friends file"
63
63
 
64
64
  switch [:debug],
@@ -30,10 +30,10 @@ Gem::Specification.new do |spec|
30
30
  spec.add_dependency "chronic", "~> 0.10"
31
31
  spec.add_dependency "gli", "~> 2.14"
32
32
  spec.add_dependency "paint", "~> 2.0"
33
- spec.add_dependency "semverse", "~> 2.0"
33
+ spec.add_dependency "semverse", ">= 2", "< 4"
34
34
  spec.add_dependency "tty-pager", "~> 0.11"
35
35
 
36
- spec.add_development_dependency "bundler", "~> 1.6"
36
+ spec.add_development_dependency "bundler", ">= 1.6"
37
37
  spec.add_development_dependency "coveralls", "~> 0.8"
38
38
  spec.add_development_dependency "minitest", "~> 5.5"
39
39
  spec.add_development_dependency "minitest-proveit", "~> 1.0"
@@ -59,7 +59,7 @@ module Friends
59
59
  end
60
60
  end
61
61
 
62
- File.open(@filename, "w") do |file|
62
+ File.open(File.expand_path(@filename), "w") do |file|
63
63
  file.puts(ACTIVITIES_HEADER)
64
64
  stable_sort(@activities).each { |act| file.puts(act.serialize) }
65
65
  file.puts # Blank line separating activities from notes.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Friends
4
- VERSION = "0.43".freeze
4
+ VERSION = "0.44".freeze
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.43'
4
+ version: '0.44'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jacob Evelyn
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-11-25 00:00:00.000000000 Z
11
+ date: 2019-01-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chronic
@@ -56,16 +56,22 @@ dependencies:
56
56
  name: semverse
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
- version: '2.0'
61
+ version: '2'
62
+ - - "<"
63
+ - !ruby/object:Gem::Version
64
+ version: '4'
62
65
  type: :runtime
63
66
  prerelease: false
64
67
  version_requirements: !ruby/object:Gem::Requirement
65
68
  requirements:
66
- - - "~>"
69
+ - - ">="
67
70
  - !ruby/object:Gem::Version
68
- version: '2.0'
71
+ version: '2'
72
+ - - "<"
73
+ - !ruby/object:Gem::Version
74
+ version: '4'
69
75
  - !ruby/object:Gem::Dependency
70
76
  name: tty-pager
71
77
  requirement: !ruby/object:Gem::Requirement
@@ -84,14 +90,14 @@ dependencies:
84
90
  name: bundler
85
91
  requirement: !ruby/object:Gem::Requirement
86
92
  requirements:
87
- - - "~>"
93
+ - - ">="
88
94
  - !ruby/object:Gem::Version
89
95
  version: '1.6'
90
96
  type: :development
91
97
  prerelease: false
92
98
  version_requirements: !ruby/object:Gem::Requirement
93
99
  requirements:
94
- - - "~>"
100
+ - - ">="
95
101
  - !ruby/object:Gem::Version
96
102
  version: '1.6'
97
103
  - !ruby/object:Gem::Dependency