ffi-gdal 1.0.1 → 1.0.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: 58e66069ab9b98f0161ff2481e01c563bbe97db1a6dcc45dd44230bc8d381a5d
4
- data.tar.gz: 67b8a19105b6dc1d5ee1f7d7f006eb5fb61af7c5ea85e2aa3da41d13a4c1b64b
3
+ metadata.gz: 9a08650a0f17b4ad91a856ae99c4b9d978e09be3fe25aa5b9d88da977c62851b
4
+ data.tar.gz: 25aa3cd3bd5d82aaced46cfa83261890573a3cfee599208b08a362232bc43799
5
5
  SHA512:
6
- metadata.gz: 76dec29c560b465a90ad5686c6fcde778df50c36187acef6de431878f30bd1d8e36929fbbac89eb3ce057adb5bed224073e70ec7ba52d5ed12321932bb07b929
7
- data.tar.gz: 35df77b1b1410511cae4e2de6741528836551458e138c1c8d12d9a5573a0d770e898734c123d0b9f8ce52c9f31ec465f43824913b90e62b83cc9b9158a6deb01
6
+ metadata.gz: ce380111d93fbddf4c689cda132050ae8b43925e0caddc6ff90f4e0d29e252e599108d8625acffc25e68b361b6bcfe0890a12a99111be86bf736b85f207a1bca
7
+ data.tar.gz: c9e381bf12b270b16b2a2eb0aeb5fd29e8b8f1a1d9be4fd62f1cdc4f00903520fcc85782983022f651c707e7d4e113f8e6f1b749c275867b78090eb881fa3648
@@ -0,0 +1,15 @@
1
+ # To get started with Dependabot version updates, you'll need to specify which
2
+ # package ecosystems to update and where the package manifests are located.
3
+ # Please see the documentation for all configuration options:
4
+ # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5
+
6
+ version: 2
7
+ updates:
8
+ - package-ecosystem: "bundler"
9
+ directory: "/"
10
+ schedule:
11
+ interval: "weekly"
12
+ - package-ecosystem: "github-actions"
13
+ directory: "/"
14
+ schedule:
15
+ interval: "weekly"
@@ -40,7 +40,7 @@ jobs:
40
40
 
41
41
  # Execute Codacy Analysis CLI and generate a SARIF output with the security issues identified during the analysis
42
42
  - name: Run Codacy Analysis CLI
43
- uses: codacy/codacy-analysis-cli-action@d840f886c4bd4edc059706d09c6a1586111c540b
43
+ uses: codacy/codacy-analysis-cli-action@d43127fe38d20c527dc1951ae5aea23148bab738
44
44
  with:
45
45
  # Check https://github.com/codacy/codacy-analysis-cli#project-token to get your project token from your Codacy repository
46
46
  # You can also omit the token and run the tools that support default configurations
@@ -17,4 +17,4 @@ jobs:
17
17
  - name: 'Checkout Repository'
18
18
  uses: actions/checkout@v3
19
19
  - name: 'Dependency Review'
20
- uses: actions/dependency-review-action@v2
20
+ uses: actions/dependency-review-action@v3
@@ -13,12 +13,14 @@ jobs:
13
13
  id: buildx
14
14
  uses: docker/setup-buildx-action@master
15
15
  - name: Cache Docker layers
16
- uses: actions/cache@v2
16
+ uses: actions/cache@v3
17
17
  with:
18
18
  path: /tmp/.buildx-cache
19
19
  key: ${{ runner.os }}-buildx-${{ github.sha }}
20
20
  restore-keys: |
21
21
  ${{ runner.os }}-buildx-
22
+ - name: Log in to registry
23
+ run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin
22
24
  - name: Build gdal2 image
23
25
  run: |
24
26
  docker compose version
data/Changelog.md CHANGED
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project
6
6
  adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [1.0.2] - 2023-01-13
9
+
10
+ ### Fixed
11
+
12
+ - Fix requires for lib/*/extensions/all.rb.
13
+
8
14
  ## [1.0.1] - 2023-01-13
9
15
 
10
16
  ### Fixed
data/Dockerfile.gdal2 CHANGED
@@ -1,93 +1,10 @@
1
1
  # syntax=docker/dockerfile:1
2
- FROM ruby:3.1.2 as base
3
-
4
- #------------------------------------------------------------------------------
5
- # GDAL setup
6
- # We don't need much for ffi-gdal...
7
- # https://trac.osgeo.org/gdal/wiki/BuildingOnUnixWithMinimizedDrivers
8
- #------------------------------------------------------------------------------
9
- FROM base as gdal_builder
10
-
11
- ARG GDAL_VERSION="2.4.4"
12
- ARG GDAL_TARBALL="gdal-${GDAL_VERSION}.tar.gz"
13
-
14
- WORKDIR /tmp
15
-
16
- RUN apt-get update -yqq \
17
- && apt-get upgrade -yqq \
18
- && apt-get install -yqq --no-install-recommends \
19
- build-essential \
20
- ca-certificates \
21
- curl \
22
- libgeos-dev \
23
- libproj-dev \
24
- librttopo-dev \
25
- && rm -rf /var/lib/apt/lists/* \
26
- && curl -sSf -L -O "https://github.com/OSGeo/gdal/releases/download/v${GDAL_VERSION}/${GDAL_TARBALL}" \
27
- && curl -sSf -L -O "https://github.com/OSGeo/gdal/releases/download/v${GDAL_VERSION}/${GDAL_TARBALL}.md5" \
28
- && md5sum --strict --check "${GDAL_TARBALL}.md5" \
29
- && mkdir gdal \
30
- && tar -zxvf $GDAL_TARBALL -C /tmp/gdal --strip-components=1 \
31
- && rm ${GDAL_TARBALL} "${GDAL_TARBALL}.md5" \
32
- && cd /tmp/gdal \
33
- && ./configure \
34
- --with-geos \
35
- --with-geotiff=internal \
36
- --with-libtiff=internal \
37
- --with-libz=internal \
38
- --with-threads \
39
- --without-bsb \
40
- --without-cfitsio \
41
- --without-cryptopp \
42
- --without-curl \
43
- --without-ecw \
44
- --without-expat \
45
- --without-fme \
46
- --without-freexl \
47
- --without-gif \
48
- --without-gnm \
49
- --without-grass \
50
- --without-grib \
51
- --without-hdf4 \
52
- --without-hdf5 \
53
- --without-idb \
54
- --without-ingres \
55
- --without-jasper \
56
- --without-jp2mrsid \
57
- --without-jpeg \
58
- --without-kakadu \
59
- --without-libgrass \
60
- --without-libkml \
61
- --without-libtool \
62
- --without-mrf \
63
- --without-mrsid \
64
- --without-mysql \
65
- --without-netcdf \
66
- --without-odbc \
67
- --without-ogdi \
68
- --without-openjpeg \
69
- --without-pcidsk \
70
- --without-pcraster \
71
- --without-pcre \
72
- --without-perl \
73
- --without-pg \
74
- --without-png \
75
- --without-python \
76
- --without-qhull \
77
- --without-sde \
78
- --without-sqlite3 \
79
- --without-webp \
80
- --without-xerces \
81
- --without-xml2 \
82
- && make \
83
- && make install \
84
- && cd /tmp \
85
- && rm -rf gdal
2
+ FROM ghcr.io/telus-agcg/ruby3.2-gdal2.4.4:1.0 as base
86
3
 
87
4
  #------------------------------------------------------------------------------
88
5
  # Dev setup 1
89
6
  #------------------------------------------------------------------------------
90
- FROM gdal_builder as dev_builder
7
+ FROM base as dev_builder
91
8
 
92
9
  RUN gem update --system \
93
10
  && gem install bundler
data/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2014 Agrian, Inc.
1
+ Copyright (c) 2023 Telus Agriculture & Consumer Goods
2
2
 
3
3
  MIT License
4
4
 
data/README.md CHANGED
@@ -45,14 +45,9 @@ For classes that are enabled with logging capabilities, you can turn logging on
45
45
  and off like `GDAL::RasterBand.logging_enabled = true`. If you're using ffi-gdal
46
46
  in Rails, you can `GDAL::Logger.logger = Rails.logger`.
47
47
 
48
- ## Additional Libraries
49
-
50
- [ffi-gdal-extensions](https://github.com/agrian-inc/ffi-gdal-extensions) provides
51
- additional functionality, not provided in this core, GDAL-wrapper library.
52
-
53
48
  ## Contributing
54
49
 
55
- 1. Fork it ( https://github.com/agrian-inc/ffi-gdal/fork )
50
+ 1. Fork it ( https://github.com/telus-agcg/ffi-gdal/fork )
56
51
  2. Create your feature branch (`git checkout -b my-new-feature`)
57
52
  3. Commit your changes (`git commit -am 'Add some feature'`)
58
53
  4. Push to the branch (`git push origin my-new-feature`)
data/ffi-gdal.gemspec CHANGED
@@ -8,9 +8,9 @@ Gem::Specification.new do |spec|
8
8
  spec.name = 'ffi-gdal'
9
9
  spec.version = FFI::GDAL::VERSION
10
10
  spec.authors = ['Steve Loveless']
11
- spec.email = %w[steve@agrian.com]
11
+ spec.email = %w[steve.loveless@telusagcg.com]
12
12
  spec.summary = 'FFI wrapper for GDAL/OGR.'
13
- spec.homepage = 'https://github.com/agrian-inc/ffi-gdal'
13
+ spec.homepage = 'https://github.com/telus-agcg/ffi-gdal'
14
14
  spec.license = 'MIT'
15
15
 
16
16
  spec.files = Dir.chdir(File.expand_path(__dir__)) do
@@ -2,6 +2,6 @@
2
2
 
3
3
  module FFI
4
4
  module GDAL
5
- VERSION = '1.0.1'
5
+ VERSION = '1.0.2'
6
6
  end
7
7
  end
@@ -1,3 +1,3 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- Dir[File.join(__dir__, '**/extensions/**/*.rb')].sort.each { |f| require f }
3
+ Dir[File.join(__dir__, '**/*.rb')].sort.each { |f| require f }
@@ -1,3 +1,3 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- Dir[File.join(__dir__, '**/extensions/**/*.rb')].sort.each { |f| require f }
3
+ Dir[File.join(__dir__, '**/*.rb')].sort.each { |f| require f }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ffi-gdal
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve Loveless
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-13 00:00:00.000000000 Z
11
+ date: 2023-01-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bindata
@@ -236,12 +236,13 @@ dependencies:
236
236
  version: '0.9'
237
237
  description:
238
238
  email:
239
- - steve@agrian.com
239
+ - steve.loveless@telusagcg.com
240
240
  executables: []
241
241
  extensions: []
242
242
  extra_rdoc_files: []
243
243
  files:
244
244
  - ".dockerignore"
245
+ - ".github/dependabot.yml"
245
246
  - ".github/workflows/codacy.yml"
246
247
  - ".github/workflows/codeql.yml"
247
248
  - ".github/workflows/continuous-integration.yml"
@@ -267,7 +268,6 @@ files:
267
268
  - bin/rake
268
269
  - bin/rspec
269
270
  - bin/rubocop
270
- - bitbucket-pipelines.yml
271
271
  - docker-compose.yml
272
272
  - examples/extract_and_colorize.rb
273
273
  - examples/geometries.rb
@@ -475,10 +475,8 @@ files:
475
475
  - lib/ogr/style_tool.rb
476
476
  - rakelib/docker.rake
477
477
  - sorbet/rbi/hidden-definitions/errors.txt
478
- - tilt/gdal2.yml
479
- - tilt/gdal3.yml
480
478
  - tmp/.keep
481
- homepage: https://github.com/agrian-inc/ffi-gdal
479
+ homepage: https://github.com/telus-agcg/ffi-gdal
482
480
  licenses:
483
481
  - MIT
484
482
  metadata:
@@ -1,16 +0,0 @@
1
- # You can use a Docker image from Docker Hub or your own container
2
- # registry for your build environment.
3
- image: agrian/ubuntugis-ruby:latest
4
-
5
- pipelines:
6
- default:
7
- - step:
8
- script: # Modify the commands below to build your repository.
9
- - ruby --version
10
- - gem install bundler
11
- - gem sources -a http://$AGRIAN_GEMS_USERNAME:$AGRIAN_GEMS_PASSWORD@gems.agrian.com/
12
- - bundle config gems.agrian.com $AGRIAN_GEMS_USERNAME:$AGRIAN_GEMS_PASSWORD
13
- - bundler --version
14
- - bundle install
15
- - bundle exec rake spec
16
- # - bundle exec rubocop
data/tilt/gdal2.yml DELETED
@@ -1,22 +0,0 @@
1
- ---
2
- apiVersion: batch/v1
3
- kind: Job
4
- metadata:
5
- name: gdal2
6
- labels:
7
- app: gdal2
8
- spec:
9
- restartPolicy: Never
10
- concurrencyPolicy: Forbid
11
- failedJobsHistoryLimit: 1
12
- parallelism: 1
13
- backoffLimit: 0
14
- template:
15
- metadata:
16
- labels:
17
- app: gdal2
18
- spec:
19
- restartPolicy: Never
20
- containers:
21
- - name: gdal2
22
- image: ttl.sh/ffi-gdal-12345/5d7df36c-2e4d-42dd-a744-fc5959dffb7f
data/tilt/gdal3.yml DELETED
@@ -1,22 +0,0 @@
1
- ---
2
- apiVersion: batch/v1
3
- kind: Job
4
- metadata:
5
- name: gdal3
6
- labels:
7
- app: gdal3
8
- spec:
9
- restartPolicy: Never
10
- concurrencyPolicy: Forbid
11
- failedJobsHistoryLimit: 1
12
- parallelism: 1
13
- backoffLimit: 0
14
- template:
15
- metadata:
16
- labels:
17
- app: gdal3
18
- spec:
19
- restartPolicy: Never
20
- containers:
21
- - name: gdal3
22
- image: ttl.sh/ffi-gdal-12345/ff64f94d-84fb-4762-a1f2-ce223da180b1