proxified 1.0.0 → 1.0.1

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
  SHA256:
3
- metadata.gz: 32993e659cfcc2aa53356778623ee52326882a72b27532690c47e64aff86b4db
4
- data.tar.gz: bee698f6c58a298229cdac6ef91dd404ef77e0e56342197ff39bbf0d96f2479d
3
+ metadata.gz: db679149f605d627c1f13b11feb5911db64c080446fdfb79e026f17f54026610
4
+ data.tar.gz: 0d49c35b8b93dc08174945e2d3c725fc112ed16b776f7c068937f35fc5bceb68
5
5
  SHA512:
6
- metadata.gz: 69c8f491db5b66212e13f64705329a14426883c797669a34a0ed00ad995ce3ba3a8b236c134b7fbdfb6c04c073bfb250b506475111b72d4404f4602355aaed71
7
- data.tar.gz: 6a137b59ef2dbf4e821bb0794369304764bf64160fe35b1be83ee2a8aa70dd7c4de688a46b76730494a1c61caf778f056621a61f20cb2bdd2ff961578fa2ab5a
6
+ metadata.gz: 259fb1d8f0107a193f453e0b8cdd73fc93d37fcd96c604655ff64f89988aa5e39bc05466caa9c7635e8cbf62ff4cf18a1aaa97c37aea0c62862c46202b8f5bb3
7
+ data.tar.gz: 2a98c2d904564d26e90c69abd96ac303a89a6e5b60cb37869a38906e1b6f0d0773ddc364f2a4d7af84d0e3a09c35452c173c20f878db9456e2822a9b35f4b113
data/.dockerignore CHANGED
@@ -2,6 +2,7 @@
2
2
  docker-compose.yml
3
3
  Dockerfile
4
4
  .env
5
+ .env.remote_dev
5
6
 
6
7
  log
7
8
  tmp
data/.env.remote_dev ADDED
@@ -0,0 +1,5 @@
1
+ # environment variables for docker-compose
2
+ COMPOSE_PROJECT_NAME=gem-proxified
3
+ APP_NAME=gem-proxified
4
+ BUNDLE_PATH=/home/gem-proxified/bundle
5
+ REPO_PATH=/home/gem-proxified/repo
data/.rubocop.yml CHANGED
@@ -1,6 +1,6 @@
1
1
  AllCops:
2
- TargetRubyVersion: '2.6'
3
2
 
3
+ TargetRubyVersion: '3.3'
4
4
  Metrics/BlockLength:
5
5
  Exclude:
6
6
  - lib/proxified.rb
data/.travis.yml CHANGED
@@ -3,5 +3,5 @@ sudo: false
3
3
  language: ruby
4
4
  cache: bundler
5
5
  rvm:
6
- - 2.6.0
7
- before_install: gem install bundler -v 1.17.2
6
+ - 3.3.0
7
+ before_install: gem install bundler -v 2.5.3
data/Dockerfile CHANGED
@@ -1,7 +1,27 @@
1
- # Build args for base image
2
- ARG bundle_path
3
- # Base image with the tools to build a ruby gem
4
- FROM awruby:gems
1
+ # Base Ruby image
2
+ FROM ruby:3.3.0-slim
3
+
4
+ # Install the (minimum) required packages
5
+ RUN apt-get update -qq && apt-get install -y --fix-missing --no-install-recommends \
6
+ # Required packages for building gems etc
7
+ build-essential \
8
+ git \
9
+ # Clean apt cache
10
+ && rm -rf /var/lib/apt/lists/*
11
+
12
+ # Base args
13
+ ARG home=/home
14
+ ARG bundle_path=/usr/local/bundle
15
+
16
+ # Set base environment variables
17
+ ENV HOME=$home \
18
+ BUNDLE_PATH=$bundle_path \
19
+ BUNDLE_APP_CONFIG=$bundle_path \
20
+ GEM_HOME=$bundle_path \
21
+ PATH=$PATH:$bundle_path/bin:$bundle_path/gems/bin
22
+
23
+ # Create base directories if do not exist
24
+ RUN mkdir -p $HOME $BUNDLE_PATH
5
25
 
6
26
  # App user and dirs args
7
27
  ARG app_name
data/Gemfile.lock CHANGED
@@ -1,30 +1,30 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- proxified (1.0.0)
5
- activesupport (~> 5.2, >= 5.2.2)
4
+ proxified (1.0.1)
5
+ activesupport (~> 5.2.4)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- activesupport (5.2.2)
10
+ activesupport (5.2.8.1)
11
11
  concurrent-ruby (~> 1.0, >= 1.0.2)
12
12
  i18n (>= 0.7, < 2)
13
13
  minitest (~> 5.1)
14
14
  tzinfo (~> 1.1)
15
- ast (2.4.0)
16
- coderay (1.1.2)
17
- concurrent-ruby (1.1.4)
18
- diff-lcs (1.3)
19
- ffi (1.10.0)
20
- formatador (0.2.5)
21
- guard (2.15.0)
15
+ ast (2.4.2)
16
+ coderay (1.1.3)
17
+ concurrent-ruby (1.3.4)
18
+ diff-lcs (1.5.1)
19
+ ffi (1.17.0-x86_64-linux-gnu)
20
+ formatador (1.1.0)
21
+ guard (2.18.1)
22
22
  formatador (>= 0.2.4)
23
23
  listen (>= 2.7, < 4.0)
24
24
  lumberjack (>= 1.0.12, < 2.0)
25
25
  nenv (~> 0.1)
26
26
  notiffany (~> 0.0)
27
- pry (>= 0.9.12)
27
+ pry (>= 0.13.0)
28
28
  shellany (~> 0.0)
29
29
  thor (>= 0.18.1)
30
30
  guard-bundler (2.2.1)
@@ -36,77 +36,82 @@ GEM
36
36
  guard (~> 2.1)
37
37
  guard-compat (~> 1.1)
38
38
  rspec (>= 2.99.0, < 4.0)
39
- guard-rubocop (1.3.0)
39
+ guard-rubocop (1.5.0)
40
40
  guard (~> 2.0)
41
- rubocop (~> 0.20)
42
- i18n (1.5.3)
41
+ rubocop (< 2.0)
42
+ i18n (1.14.6)
43
43
  concurrent-ruby (~> 1.0)
44
- jaro_winkler (1.5.2)
45
- listen (3.1.5)
46
- rb-fsevent (~> 0.9, >= 0.9.4)
47
- rb-inotify (~> 0.9, >= 0.9.7)
48
- ruby_dep (~> 1.2)
49
- lumberjack (1.0.13)
50
- method_source (0.9.2)
51
- minitest (5.11.3)
44
+ json (2.7.2)
45
+ language_server-protocol (3.17.0.3)
46
+ listen (3.9.0)
47
+ rb-fsevent (~> 0.10, >= 0.10.3)
48
+ rb-inotify (~> 0.9, >= 0.9.10)
49
+ lumberjack (1.2.10)
50
+ method_source (1.1.0)
51
+ minitest (5.25.1)
52
52
  nenv (0.3.0)
53
- notiffany (0.1.1)
53
+ notiffany (0.1.3)
54
54
  nenv (~> 0.1)
55
55
  shellany (~> 0.0)
56
- parallel (1.13.0)
57
- parser (2.6.0.0)
58
- ast (~> 2.4.0)
59
- powerpack (0.1.2)
60
- pry (0.12.2)
61
- coderay (~> 1.1.0)
62
- method_source (~> 0.9.0)
63
- rainbow (3.0.0)
64
- rake (10.5.0)
65
- rb-fsevent (0.10.3)
66
- rb-inotify (0.10.0)
56
+ parallel (1.26.3)
57
+ parser (3.3.5.0)
58
+ ast (~> 2.4.1)
59
+ racc
60
+ pry (0.14.2)
61
+ coderay (~> 1.1)
62
+ method_source (~> 1.0)
63
+ racc (1.8.1)
64
+ rainbow (3.1.1)
65
+ rake (12.3.3)
66
+ rb-fsevent (0.11.2)
67
+ rb-inotify (0.11.1)
67
68
  ffi (~> 1.0)
68
- rspec (3.8.0)
69
- rspec-core (~> 3.8.0)
70
- rspec-expectations (~> 3.8.0)
71
- rspec-mocks (~> 3.8.0)
72
- rspec-core (3.8.0)
73
- rspec-support (~> 3.8.0)
74
- rspec-expectations (3.8.2)
69
+ regexp_parser (2.9.2)
70
+ rspec (3.13.0)
71
+ rspec-core (~> 3.13.0)
72
+ rspec-expectations (~> 3.13.0)
73
+ rspec-mocks (~> 3.13.0)
74
+ rspec-core (3.13.1)
75
+ rspec-support (~> 3.13.0)
76
+ rspec-expectations (3.13.3)
75
77
  diff-lcs (>= 1.2.0, < 2.0)
76
- rspec-support (~> 3.8.0)
77
- rspec-mocks (3.8.0)
78
+ rspec-support (~> 3.13.0)
79
+ rspec-mocks (3.13.1)
78
80
  diff-lcs (>= 1.2.0, < 2.0)
79
- rspec-support (~> 3.8.0)
80
- rspec-support (3.8.0)
81
- rubocop (0.63.1)
82
- jaro_winkler (~> 1.5.1)
81
+ rspec-support (~> 3.13.0)
82
+ rspec-support (3.13.1)
83
+ rubocop (1.66.1)
84
+ json (~> 2.3)
85
+ language_server-protocol (>= 3.17.0)
83
86
  parallel (~> 1.10)
84
- parser (>= 2.5, != 2.5.1.1)
85
- powerpack (~> 0.1)
87
+ parser (>= 3.3.0.2)
86
88
  rainbow (>= 2.2.2, < 4.0)
89
+ regexp_parser (>= 2.4, < 3.0)
90
+ rubocop-ast (>= 1.32.2, < 2.0)
87
91
  ruby-progressbar (~> 1.7)
88
- unicode-display_width (~> 1.4.0)
89
- ruby-progressbar (1.10.0)
90
- ruby_dep (1.5.0)
92
+ unicode-display_width (>= 2.4.0, < 3.0)
93
+ rubocop-ast (1.32.3)
94
+ parser (>= 3.3.1.0)
95
+ ruby-progressbar (1.13.0)
91
96
  shellany (0.0.1)
92
- thor (0.20.3)
97
+ thor (1.3.2)
93
98
  thread_safe (0.3.6)
94
- tzinfo (1.2.5)
99
+ tzinfo (1.2.11)
95
100
  thread_safe (~> 0.1)
96
- unicode-display_width (1.4.1)
101
+ unicode-display_width (2.6.0)
97
102
 
98
103
  PLATFORMS
99
- ruby
104
+ x86_64-linux-gnu
100
105
 
101
106
  DEPENDENCIES
102
- bundler (~> 1.17)
107
+ bundler (~> 2.5)
103
108
  guard (~> 2.15)
104
109
  guard-bundler (~> 2.2, >= 2.2.1)
105
110
  guard-rspec (~> 4.7, >= 4.7.3)
106
111
  guard-rubocop (~> 1.3)
107
112
  proxified!
108
- rake (~> 10.0)
113
+ rake (~> 12.3.3)
109
114
  rspec (~> 3.8)
110
115
 
111
116
  BUNDLED WITH
112
- 1.17.2
117
+ 2.5.3
data/Guardfile CHANGED
@@ -17,7 +17,7 @@
17
17
  #
18
18
  # and, you'll have to watch "config/Guardfile" instead of "Guardfile"
19
19
 
20
- # Note: The cmd option is now required due to the increasing number of ways
20
+ # NOTE: The cmd option is now required due to the increasing number of ways
21
21
  # rspec may be run, below are examples of the most common uses.
22
22
  # * bundler: 'bundle exec rspec'
23
23
  # * bundler binstubs: 'bin/rspec'
data/bin/compose_up ADDED
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env bash
2
+
3
+ # shortcut with necessary args in remote dev envs (e.g. env-file)
4
+ docker compose -f "docker-compose.yml" --env-file ".env.remote_dev" up -d --build
data/docker-compose.yml CHANGED
@@ -1,5 +1,3 @@
1
- version: "3.7"
2
-
3
1
  services:
4
2
  app:
5
3
  build:
@@ -12,7 +10,7 @@ services:
12
10
  - bundle:$BUNDLE_PATH
13
11
  tty: true
14
12
  guard:
15
- image: "${APP_NAME}_app:latest"
13
+ image: "${APP_NAME}-app:latest"
16
14
  volumes:
17
15
  - .:$REPO_PATH
18
16
  - bundle:$BUNDLE_PATH
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Proxified
4
- VERSION = '1.0.0'
4
+ VERSION = '1.0.1'
5
5
  end
data/proxified.gemspec CHANGED
@@ -42,15 +42,15 @@ Gem::Specification.new do |spec|
42
42
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
43
43
  spec.require_paths = ['lib']
44
44
 
45
- spec.required_ruby_version = '~> 2.6'
45
+ spec.required_ruby_version = '~> 3.3'
46
46
 
47
- spec.add_development_dependency 'bundler', '~> 1.17'
47
+ spec.add_development_dependency 'bundler', '~> 2.5'
48
48
  spec.add_development_dependency 'guard', '~> 2.15'
49
49
  spec.add_development_dependency 'guard-bundler', '~> 2.2', '>= 2.2.1'
50
50
  spec.add_development_dependency 'guard-rspec', '~> 4.7', '>= 4.7.3'
51
51
  spec.add_development_dependency 'guard-rubocop', '~> 1.3'
52
- spec.add_development_dependency 'rake', '~> 10.0'
52
+ spec.add_development_dependency 'rake', '~> 12.3.3'
53
53
  spec.add_development_dependency 'rspec', '~> 3.8'
54
54
 
55
- spec.add_dependency 'activesupport', '~> 5.2', '>= 5.2.2'
55
+ spec.add_dependency 'activesupport', '~> 5.2.4'
56
56
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: proxified
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Valerio Licata
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-03-18 00:00:00.000000000 Z
11
+ date: 2024-10-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.17'
19
+ version: '2.5'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.17'
26
+ version: '2.5'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: guard
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -98,14 +98,14 @@ dependencies:
98
98
  requirements:
99
99
  - - "~>"
100
100
  - !ruby/object:Gem::Version
101
- version: '10.0'
101
+ version: 12.3.3
102
102
  type: :development
103
103
  prerelease: false
104
104
  version_requirements: !ruby/object:Gem::Requirement
105
105
  requirements:
106
106
  - - "~>"
107
107
  - !ruby/object:Gem::Version
108
- version: '10.0'
108
+ version: 12.3.3
109
109
  - !ruby/object:Gem::Dependency
110
110
  name: rspec
111
111
  requirement: !ruby/object:Gem::Requirement
@@ -126,20 +126,14 @@ dependencies:
126
126
  requirements:
127
127
  - - "~>"
128
128
  - !ruby/object:Gem::Version
129
- version: '5.2'
130
- - - ">="
131
- - !ruby/object:Gem::Version
132
- version: 5.2.2
129
+ version: 5.2.4
133
130
  type: :runtime
134
131
  prerelease: false
135
132
  version_requirements: !ruby/object:Gem::Requirement
136
133
  requirements:
137
134
  - - "~>"
138
135
  - !ruby/object:Gem::Version
139
- version: '5.2'
140
- - - ">="
141
- - !ruby/object:Gem::Version
142
- version: 5.2.2
136
+ version: 5.2.4
143
137
  description: A simple way to put a proxy in front of any object, at any time.
144
138
  email:
145
139
  - valerio.licata.dev@gmail.com
@@ -148,6 +142,7 @@ extensions: []
148
142
  extra_rdoc_files: []
149
143
  files:
150
144
  - ".dockerignore"
145
+ - ".env.remote_dev"
151
146
  - ".gitignore"
152
147
  - ".rspec"
153
148
  - ".rubocop.yml"
@@ -160,6 +155,7 @@ files:
160
155
  - LICENSE.txt
161
156
  - README.md
162
157
  - Rakefile
158
+ - bin/compose_up
163
159
  - bin/console
164
160
  - bin/setup
165
161
  - docker-compose.yml
@@ -170,7 +166,7 @@ homepage: https://github.com/vtsl01/proxified
170
166
  licenses:
171
167
  - MIT
172
168
  metadata: {}
173
- post_install_message:
169
+ post_install_message:
174
170
  rdoc_options: []
175
171
  require_paths:
176
172
  - lib
@@ -178,15 +174,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
178
174
  requirements:
179
175
  - - "~>"
180
176
  - !ruby/object:Gem::Version
181
- version: '2.6'
177
+ version: '3.3'
182
178
  required_rubygems_version: !ruby/object:Gem::Requirement
183
179
  requirements:
184
180
  - - ">="
185
181
  - !ruby/object:Gem::Version
186
182
  version: '0'
187
183
  requirements: []
188
- rubygems_version: 3.0.1
189
- signing_key:
184
+ rubygems_version: 3.5.3
185
+ signing_key:
190
186
  specification_version: 4
191
187
  summary: Proxify any object with a few lines of code.
192
188
  test_files: []