files.com 1.1.0 → 1.1.2

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: a2fbd6dbdea6f42c1060384f54dfa543eb4b9ad80361b9310cdefa529b696c04
4
- data.tar.gz: 222ed8c782d6f879f027ac1cdda0817505b18dc661a266466f2a15d9fafb64ab
3
+ metadata.gz: f3f6cd255121303536a1030f165b65187d5c7fe0c8929c2e485454dfd9219f65
4
+ data.tar.gz: 774928f816cf730ae1c71aa7e1d607d0fe7ef337eda8a2db2f30f5ec61336dd7
5
5
  SHA512:
6
- metadata.gz: '080fe3873f4bcb61ec486426ff4c51dba42d2a8def8f0f6554401002d5be9c5279d266a25eec4ef13850e970378660643d46ef03b417c9312c68707293b593af'
7
- data.tar.gz: fb51b321eb8e31258d25e7cbac463ea969973985f061504659ffa2534cd3340436ba9b7b08e10c39305d9870efab05498cc5c908bf4c2d3d3e5b0d364efbce11
6
+ metadata.gz: f33416b638e363f4678b8ed6aa96fc5a1dce793b7fdba4140c79456a7c3f59ac90e2495757cc4124e540f38739bd09774c2ed4716ed6463e5a13b4017b581a99
7
+ data.tar.gz: 689b562c376773366809ee589849855bea853814d5259cc8e759cf358cae85af4c20414e945236fc828d6584d44274e925bc8ab106e450733a8d19bc2e1762e9
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.0
1
+ 1.1.2
data/bin/files CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  # frozen_string_literal: true
4
4
 
5
- require "#{::File.dirname(__FILE__)}/../lib/files.com"
6
- require "#{::File.dirname(__FILE__)}/../lib/files.com/cli"
5
+ require "#{File.dirname(__FILE__)}/../lib/files.com"
6
+ require "#{File.dirname(__FILE__)}/../lib/files.com/cli"
7
7
 
8
8
  Files::Cli.new.run
data/bin/files-console CHANGED
@@ -5,7 +5,7 @@
5
5
  require "irb"
6
6
  require "irb/completion"
7
7
 
8
- require "#{::File.dirname(__FILE__)}/../lib/files.com"
8
+ require "#{File.dirname(__FILE__)}/../lib/files.com"
9
9
 
10
10
  # Config IRB to enable --simple-prompt and auto indent
11
11
  IRB.conf[:PROMPT_MODE] = :SIMPLE
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.0"
4
+ VERSION = "1.1.2"
5
5
  end
data/setup.sh ADDED
@@ -0,0 +1,9 @@
1
+ #!/usr/bin/env bash
2
+
3
+ # cd to the directory containing this file
4
+ cd "$( dirname "${BASH_SOURCE[0]}" )"
5
+
6
+ # Auto-fix generated code, an important fix is where we use `inspect` to generate hashes
7
+ # and these hashes do not have spaces around {} or =>
8
+ # Note: we always return true so that offenses that cannot be auto-fixed are ignored for local developement, CI will catch them
9
+ bundle install >/dev/null 2>/dev/null && bundle exec rubocop --cache false --format simple -a --ignore-parent-exclusion >/dev/null 2>/dev/null || true
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: files.com
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-05 00:00:00.000000000 Z
11
+ date: 2023-12-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable
@@ -294,6 +294,7 @@ files:
294
294
  - lib/files.com/uri.rb
295
295
  - lib/files.com/util.rb
296
296
  - lib/files.com/version.rb
297
+ - setup.sh
297
298
  - shared/normalization_for_comparison_test_data.json
298
299
  - spec/lib/api_client_spec.rb
299
300
  - spec/list_spec.rb