lex-lex 0.1.2 → 0.1.3

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: 054d9dec8f2440e350e0ae8d8a11170fd58c19fd132252a3999d947620b474b4
4
- data.tar.gz: 19e379da49b5d0443be0aca55dbc438b35ca11cc384007fb5ce6724264e39df1
3
+ metadata.gz: 8be42df68acc512b1cbcb45944d136ae243f3a9c2566ef1f071ba55d1d568c2b
4
+ data.tar.gz: 0c059a3de2ba3677ca12f5a343805f0faa7ac9620e583f3399e2761b48946d06
5
5
  SHA512:
6
- metadata.gz: d9c206401d69d73ec3b0432530eb82d494f0a0e68a8c3d8d8aa04d206bb7bf23f4451646c89bffcbaa7169571fcbf75b25b2ae3f2c38a92095922e900a05c839
7
- data.tar.gz: 9fa51e2d5cf2350abb5a63ddbf5a47ae409cb6d6ed23d502182ee542dd8c39fe0b9f7b5190e5be0c75f7b1882b675d3f4182587157fe7949fdf857d47b5b9570
6
+ metadata.gz: 0d9d2687f7e7fe1cd7ba0ad274d166e3366f6162946c56b005569e7d7f5f3c67111d48bd7d4b1f66ad1b188561fc6244cd178c06340652f24d2ad184b1c1eb20
7
+ data.tar.gz: d47c8874360683e4530ead4643346166aafab588a43a49da9f1e0fc4b49c86225f70419f75c31eb8e8905d9113d2b16024b21ede950b82b28a171b221c3dc67d
data/.rubocop.yml CHANGED
@@ -20,5 +20,6 @@ Style/Documentation:
20
20
  AllCops:
21
21
  TargetRubyVersion: 2.5
22
22
  NewCops: enable
23
+ SuggestExtensions: false
23
24
  Style/FrozenStringLiteralComment:
24
25
  Enabled: false
data/Dockerfile ADDED
@@ -0,0 +1,9 @@
1
+ FROM legionio/legion:latest
2
+ LABEL maintainer="Matthew Iverson <matthewdiverson@gmail.com>"
3
+
4
+ #RUN mkdir /etc/legionio
5
+ RUN apk update && apk add build-base tzdata postgresql-dev mysql-client mariadb-dev tzdata gcc git
6
+
7
+ COPY . ./
8
+ RUN gem install lex-lex legion-data --no-document --no-prerelease
9
+ CMD ruby --jit $(which legionio)
data/Gemfile.lock CHANGED
@@ -1,51 +1,53 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lex-lex (0.1.2)
4
+ lex-lex (0.1.3)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
- ast (2.4.1)
9
+ ast (2.4.2)
10
10
  diff-lcs (1.4.4)
11
- docile (1.3.2)
12
- parallel (1.19.2)
13
- parser (2.7.2.0)
11
+ docile (1.3.5)
12
+ parallel (1.20.1)
13
+ parser (3.0.0.0)
14
14
  ast (~> 2.4.1)
15
15
  rainbow (3.0.0)
16
- rake (13.0.1)
17
- regexp_parser (1.8.2)
16
+ rake (13.0.3)
17
+ regexp_parser (2.1.1)
18
18
  rexml (3.2.4)
19
19
  rspec (3.10.0)
20
20
  rspec-core (~> 3.10.0)
21
21
  rspec-expectations (~> 3.10.0)
22
22
  rspec-mocks (~> 3.10.0)
23
- rspec-core (3.10.0)
23
+ rspec-core (3.10.1)
24
24
  rspec-support (~> 3.10.0)
25
- rspec-expectations (3.10.0)
25
+ rspec-expectations (3.10.1)
26
26
  diff-lcs (>= 1.2.0, < 2.0)
27
27
  rspec-support (~> 3.10.0)
28
- rspec-mocks (3.10.0)
28
+ rspec-mocks (3.10.2)
29
29
  diff-lcs (>= 1.2.0, < 2.0)
30
30
  rspec-support (~> 3.10.0)
31
- rspec-support (3.10.0)
32
- rubocop (1.1.0)
31
+ rspec-support (3.10.2)
32
+ rubocop (1.11.0)
33
33
  parallel (~> 1.10)
34
- parser (>= 2.7.1.5)
34
+ parser (>= 3.0.0.0)
35
35
  rainbow (>= 2.2.2, < 4.0)
36
- regexp_parser (>= 1.8)
36
+ regexp_parser (>= 1.8, < 3.0)
37
37
  rexml
38
- rubocop-ast (>= 1.0.1)
38
+ rubocop-ast (>= 1.2.0, < 2.0)
39
39
  ruby-progressbar (~> 1.7)
40
- unicode-display_width (>= 1.4.0, < 2.0)
41
- rubocop-ast (1.1.0)
40
+ unicode-display_width (>= 1.4.0, < 3.0)
41
+ rubocop-ast (1.4.1)
42
42
  parser (>= 2.7.1.5)
43
- ruby-progressbar (1.10.1)
44
- simplecov (0.19.1)
43
+ ruby-progressbar (1.11.0)
44
+ simplecov (0.21.2)
45
45
  docile (~> 1.1)
46
46
  simplecov-html (~> 0.11)
47
+ simplecov_json_formatter (~> 0.1)
47
48
  simplecov-html (0.12.3)
48
- unicode-display_width (1.7.0)
49
+ simplecov_json_formatter (0.1.2)
50
+ unicode-display_width (2.0.0)
49
51
 
50
52
  PLATFORMS
51
53
  ruby
@@ -3,67 +3,17 @@ image: ruby:2.7
3
3
  pipelines:
4
4
  tags:
5
5
  "v*":
6
- - step:
7
- name: Rubocop
8
- caches:
9
- - bundler
10
- script:
11
- - gem install rubocop
12
- - gem update rubocop
13
- - rubocop
14
- - step:
15
- name: RSpec
16
- caches:
17
- - bundler
18
- script:
19
- - gem install bundler
20
- - gem update bundler
21
- - bundle update
22
- - bundle exec rspec
23
6
  - step:
24
7
  name: Push to RubyGems
25
8
  deployment: RubyGems
26
9
  script:
27
- - gem install bundler gem-release rspec
28
- - bundle install
10
+ - gem install gem-release
29
11
  - (umask 077 ; echo $gem_creds | base64 --decode > ~/.gem/credentials)
30
12
  - gem release
31
13
  artifacts:
32
14
  - pkg/**
33
- branches:
34
- master:
35
- - step:
36
- caches:
37
- - bundler
38
- script:
39
- - gem install rubocop
40
- - gem update rubocop
41
- - rubocop
42
15
  - step:
43
- caches:
44
- - bundler
16
+ name: Push to Docker
17
+ deployment: Docker
45
18
  script:
46
- - gem install bundler
47
- - gem update bundler
48
- - bundle update
49
- - bundle exec rspec
50
- develop:
51
- - step:
52
- caches:
53
- - bundler
54
- script:
55
- - gem install rubocop
56
- - gem update rubocop
57
- - rubocop
58
- - step:
59
- caches:
60
- - bundler
61
- script:
62
- - gem install bundler
63
- - gem update bundler
64
- - bundle update
65
- - bundle exec rspec
66
-
67
- definitions:
68
- caches:
69
- bundler: /usr/local/bundle
19
+ - './docker_deploy.rb'
data/docker_deploy.rb ADDED
@@ -0,0 +1,13 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ name = 'lex'
4
+ require "./lib/legion/extensions/#{name}/version"
5
+ version = Legion::Extensions::Lex::VERSION
6
+
7
+ puts "Building docker image for Legion v#{version}"
8
+ system("docker build --tag legionio/lex-#{name}:v#{version} .")
9
+ puts 'Pushing to hub.docker.com'
10
+ system("docker push legionio/lex-#{name}:v#{version}")
11
+ system("docker tag legionio/lex-#{name}:v#{version} legionio/lex-#{name}:latest")
12
+ system("docker push legionio/lex-#{name}:latest")
13
+ puts 'completed'
@@ -3,7 +3,7 @@
3
3
  module Legion
4
4
  module Extensions
5
5
  module Lex
6
- VERSION = '0.1.2'
6
+ VERSION = '0.1.3'
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lex-lex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Esity
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-02 00:00:00.000000000 Z
11
+ date: 2021-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -91,12 +91,14 @@ files:
91
91
  - ".gitignore"
92
92
  - ".rspec"
93
93
  - ".rubocop.yml"
94
+ - Dockerfile
94
95
  - Gemfile
95
96
  - Gemfile.lock
96
97
  - LICENSE.txt
97
98
  - README.md
98
99
  - Rakefile
99
100
  - bitbucket-pipelines.yml
101
+ - docker_deploy.rb
100
102
  - lex-lex.gemspec
101
103
  - lib/legion/extensions/lex.rb
102
104
  - lib/legion/extensions/lex/runners/extension.rb