myask 1.1.2 → 1.2.0

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: 681263aef862d45f87fc41465a5347286c4470870e770683fd23b9a5259dba35
4
- data.tar.gz: 91fc733e2b6b46e533ce42f524a088436b385f24f4802ca2ffb4f0b49b1af211
3
+ metadata.gz: 1c16c6f170c0eea7e03e3f0d7ff7aa3dac0d8889cac182c3dbbc494664d4bffe
4
+ data.tar.gz: c2f083412c2906de4ad0fedc60ff3d49419e80e7a25ba75fec460522b7eb3418
5
5
  SHA512:
6
- metadata.gz: cc2978086a8fac9767d625bc9bc0f67d6259f350bd49fea77fb2326b251b309fa46ce37b3bbe7ff60495a40adc27e143bfd3256fcf746cf186aada543fe36bb1
7
- data.tar.gz: 585db315f417d841e11c4a73866f9caa57c3442648c94c90c8180c268f5fd4c2d00361671c075f48401cbcf69050f666265c1080025e553cc2943438eac48474
6
+ metadata.gz: ee805e76796c2e90c4a94b76d89687f768e0526bd40f85b1db5e26f85d1060cb3184cc2b3e71eeb58132759bf3046a2f73296a529254882e1fcedc2b06f41873
7
+ data.tar.gz: ce076c18165745dced83286fdee4c21adcbae1a764be576c0074bae529c916d078c21f593fe8082317c3c7e99bc138783f121e1aa37243a2caa0b868dfb9929f
@@ -64,9 +64,7 @@ module MyAsk
64
64
  if @options[:input_file]&.any?
65
65
  @options[:input_file].each do |file_path|
66
66
  begin
67
- puts "Original: #{file_path}"
68
67
  file_path = file_path[0] == "/" ? file_path : "#{current_directory}/#{file_path}"
69
- puts "Absolute: #{file_path}"
70
68
  content = File.read(file_path).strip
71
69
  file_contents << "**File**: #{file_path}**\n#{content}"
72
70
  rescue => e
data/lib/myask/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Myask
2
- VERSION = '1.1.2'
2
+ VERSION = '1.2.0'
3
3
  end
@@ -64,10 +64,8 @@ module MyAsk
64
64
  if @options[:input_file]&.any?
65
65
  @options[:input_file].each do |file_path|
66
66
  begin
67
- puts "Original: #{file_path}"
68
67
  file_path = file_path[0] == "/" ? file_path : "#{current_directory}/#{file_path}"
69
- puts "Absolute: #{file_path}"
70
- content = File.read(file_path).strip
68
+ content = File.read("#{current_directory}/#{file_path}").strip
71
69
  file_contents << "**File**: #{file_path}**\n#{content}"
72
70
  rescue => e
73
71
  raise "❌ Failed to read input file: #{file_path}"
@@ -1,3 +1,3 @@
1
1
  module Myask
2
- VERSION = '1.1.2'
2
+ VERSION = '1.1.0'
3
3
  end
@@ -64,10 +64,8 @@ module MyAsk
64
64
  if @options[:input_file]&.any?
65
65
  @options[:input_file].each do |file_path|
66
66
  begin
67
- puts "Original: #{file_path}"
68
67
  file_path = file_path[0] == "/" ? file_path : "#{current_directory}/#{file_path}"
69
- puts "Absolute: #{file_path}"
70
- content = File.read(file_path).strip
68
+ content = File.read("#{current_directory}/#{file_path}").strip
71
69
  file_contents << "**File**: #{file_path}**\n#{content}"
72
70
  rescue => e
73
71
  raise "❌ Failed to read input file: #{file_path}"
@@ -1,3 +1,3 @@
1
1
  module Myask
2
- VERSION = '1.1.2'
2
+ VERSION = '1.1.0'
3
3
  end
@@ -64,10 +64,8 @@ module MyAsk
64
64
  if @options[:input_file]&.any?
65
65
  @options[:input_file].each do |file_path|
66
66
  begin
67
- puts "Original: #{file_path}"
68
67
  file_path = file_path[0] == "/" ? file_path : "#{current_directory}/#{file_path}"
69
- puts "Absolute: #{file_path}"
70
- content = File.read(file_path).strip
68
+ content = File.read("#{current_directory}/#{file_path}").strip
71
69
  file_contents << "**File**: #{file_path}**\n#{content}"
72
70
  rescue => e
73
71
  raise "❌ Failed to read input file: #{file_path}"
@@ -1,3 +1,3 @@
1
1
  module Myask
2
- VERSION = '1.1.2'
2
+ VERSION = '1.1.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: myask
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Chaney (netuoso)