pear-programmer 0.1.6 → 0.1.7

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fc7141d49409a0e028b2f334057b5c2233d4a05f0042ece5f1498c738dce159c
4
- data.tar.gz: 65984bb36872c43c1061a41f31a232f4e6fa70d25c43ebb449c3be8510a45bda
3
+ metadata.gz: 20a07b0c1512b828a32c2af5550e21687bd20cc28cdd5dc20bff749ca2ee60ee
4
+ data.tar.gz: '069626c5cb84e5a673c9cc93fce537a145a290aec505d9084bd10af99d30a621'
5
5
  SHA512:
6
- metadata.gz: 9dc313adecc3e4935b3204314e1c50f0cebd60a7a604d293391cf8c851a9d149a716ef6cc7df8931d4a4845f5262befd02f4b4184f2ca5e843e5c7a48d8f4ffb
7
- data.tar.gz: 9576d038539492ad91e67da10aaa3d05149904a23a7fd4394258176470ab62e5b8b93445f991c3e17875091b7ec99cf21bf0bce12d1ef7060cdb8128f362f2c0
6
+ metadata.gz: 83f8839eb14285211a4584b3a6dfb651f7cba024116ceb0b79b88d306219092008afee13dcc15998cfaa8adc3fa7e6b51c479ec34af6d11498c3817a3e2e6d0e
7
+ data.tar.gz: 80191868c3430538bc10086662ba671cbd8a9e1214da2cb3ab7c6720444079c29df46b04828a605509679adb57319300b5c466ffe9f6c9dc38297bf436ab4fd9
@@ -35,7 +35,7 @@ module Cli
35
35
  def initialize
36
36
  @root = Dir.pwd
37
37
  @configuration_file_path = File.join(@root, FILE_NAME)
38
- if !File.exists?(@configuration_file_path)
38
+ if !File.exist?(@configuration_file_path)
39
39
  raise "Pear Programmer configuration file does not exist, please run 'pear-on init' or switch to working directory"
40
40
  end
41
41
  @configuration_file = YAML.load_file(@configuration_file_path)
data/lib/cli/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Cli
2
2
  module Version
3
- VERSION = "0.1.6"
3
+ VERSION = "0.1.7"
4
4
  end
5
5
  end
@@ -118,7 +118,7 @@ module PairProgrammer
118
118
  STDIN.gets.chomp
119
119
  when "read_file"
120
120
  file_path = PairProgrammer::Configuration.absolute_path(arguments["file_path"])
121
- if File.exists?(file_path)
121
+ if File.exist?(file_path)
122
122
  File.read(file_path)
123
123
  else
124
124
  "file does not exist"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pear-programmer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Edelstein
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-12 00:00:00.000000000 Z
11
+ date: 2023-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: open3