platformos-check 0.4.11 → 0.4.12

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: 75c26d25ca37804e005de9dc19115f7a82e5d47e735178710799aa0a26f9f0ab
4
- data.tar.gz: 8f739f2fb5a0781e0a0d1941ff6f4a028d75ece6a17ddd5eeb75d1ce0603ec33
3
+ metadata.gz: c5795a4dfbd11ce9650dd968756ebf8762eab1528fc41a2bb968eeb6b7bfc061
4
+ data.tar.gz: ba6029d4a33bd1d91e600ec33aeebd9de2660567188073dfe64db36b39415ea7
5
5
  SHA512:
6
- metadata.gz: db1fc79fc045545e7fa114a0abc0232c5a478277795cb21d1e0e351c1d75d35e330a3327202d26b4c219b86ac21d9ae98c69f33b7771018292c70d94713a08e6
7
- data.tar.gz: 0b3282d42ee9e1cb60a4a2d0f2e2011ccb1d6ae296b5b5fdba7c8962c9454ec574bb116080ecbb1387bc5a001326b58e5144c8651a5b292f54ee72859a814b31
6
+ metadata.gz: ffa173e4a4441e4d49da110129c3c964c74c2b011da9d45e4b51f4385eec43d2aa374f03754c048ec58ff8e934924f38b36f94bfd4a61e3b873324a489886ed5
7
+ data.tar.gz: 7c96d26c1b529b670fa316dd7202f23888dd6ffd711d9249a14bfbea516528ca9793ff3a44a80e1b032b682080bf99d190e6a11d8c8a56f2a84b236a025bd9af
@@ -0,0 +1,57 @@
1
+ name: Build LSP for windows
2
+
3
+ on:
4
+ workflow_dispatch:
5
+ # push:
6
+ # branches:
7
+ # - main
8
+ push:
9
+ tags:
10
+ - '*'
11
+
12
+ jobs:
13
+ build:
14
+ runs-on: windows-latest
15
+ permissions:
16
+ contents: write
17
+
18
+ steps:
19
+ - name: Checkout code
20
+ uses: actions/checkout@v2
21
+
22
+ - name: Setup Ruby 3.2
23
+ uses: ruby/setup-ruby@v1
24
+ with:
25
+ ruby-version: 3.2
26
+
27
+ - name: Install dependencies
28
+ run: |
29
+ cd build/windows
30
+ gem install ocran
31
+ bundle install
32
+
33
+ - name: Run build script
34
+ shell: bash
35
+ run: |
36
+ cd build/windows
37
+ ./build.sh
38
+ ls
39
+
40
+ - name: Release
41
+ uses: ncipollo/release-action@v1
42
+ with:
43
+ artifacts: "build/windows/lsp.exe"
44
+ body: "New windows release"
45
+
46
+ # - name: Release
47
+ # uses: softprops/action-gh-release@v1
48
+ # with:
49
+ # tag_name: ${{ github.ref }}
50
+ # name: Release ${{ github.ref }}
51
+ # body: |
52
+ # New windows version
53
+ # draft: true
54
+ # prerelease: true
55
+ # files: |
56
+ # build/windows/lsp.exe
57
+ #
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ v0.4.12 / 2024-04-13
2
+ ==================
3
+
4
+ * Suggest filters with input_type 'untyped'
5
+
1
6
  v0.4.11 / 2024-03-11
2
7
  ==================
3
8
 
@@ -1,7 +1,8 @@
1
- #!/usr/bin/env sh
1
+ #!/usr/bin/env bash
2
+
3
+ # --gem-file /c/Ruby32-x64/bin/etc/ssl \
2
4
 
3
5
  ocran run.rb --output lsp.exe --add-all-core --gemfile ./Gemfile --no-dep-run --gem-full --gem-full=platformos-check --console \
4
- --gem-file /c/Ruby32-x64/bin/etc/ssl \
5
6
  --dll ruby_builtin_dlls/libyaml-0-2.dll \
6
7
  --dll ruby_builtin_dlls/zlib1.dll \
7
8
  --dll ruby_builtin_dlls/libssl-3-x64.dll \
@@ -57,7 +57,7 @@ module PlatformosCheck
57
57
 
58
58
  def available_filters_for(input_type)
59
59
  filters = PlatformosLiquid::SourceIndex.filters
60
- .select { |filter| input_type.nil? || filter.input_type == input_type }
60
+ .select { |filter| input_type.nil? || filter.input_type == input_type || filter.input_type == 'untyped' }
61
61
  return all_labels if filters.empty?
62
62
  return filters if input_type == INPUT_TYPE_VARIABLE
63
63
 
@@ -186,6 +186,7 @@ module PlatformosCheck
186
186
  absolute_paths = params[:files]
187
187
  &.map { |file| file[:uri] }
188
188
  &.map { |uri| file_path(uri) }
189
+
189
190
  return unless absolute_paths
190
191
 
191
192
  absolute_paths.each do |path|
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PlatformosCheck
4
- VERSION = "0.4.11"
4
+ VERSION = "0.4.12"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: platformos-check
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.11
4
+ version: 0.4.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Piotr Bliszczyk
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2024-03-11 00:00:00.000000000 Z
13
+ date: 2024-04-13 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: graphql
@@ -78,6 +78,7 @@ extensions: []
78
78
  extra_rdoc_files: []
79
79
  files:
80
80
  - ".dockerignore"
81
+ - ".github/workflows/build_for_windows.yml"
81
82
  - ".gitignore"
82
83
  - ".rubocop.yml"
83
84
  - CHANGELOG.md
@@ -96,7 +97,6 @@ files:
96
97
  - build/windows/Gemfile
97
98
  - build/windows/README.md
98
99
  - build/windows/build.sh
99
- - build/windows/lsp.exe
100
100
  - build/windows/run.rb
101
101
  - config/default.yml
102
102
  - config/nothing.yml
@@ -373,7 +373,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
373
373
  - !ruby/object:Gem::Version
374
374
  version: '0'
375
375
  requirements: []
376
- rubygems_version: 3.5.6
376
+ rubygems_version: 3.5.7
377
377
  signing_key:
378
378
  specification_version: 4
379
379
  summary: A platformOS App Linter
Binary file