legion-logging 1.1.4 → 1.1.5

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: 55dd24d5d41069814f94578074efb34ff836d58e6eaa57275ec7da040de84b85
4
- data.tar.gz: d17d87bd089075b217aff583e3aba1ee8fc1e14270a6b97e2f8783590b484dd9
3
+ metadata.gz: 2a7637c5109af48b5f10f6bde301cf6a9e32dea2a67170c09cc7ef26ed938740
4
+ data.tar.gz: 7467915a62b2d92005b45fe40c4df601a74deaf8147ce08e94ef8d74aef11a9b
5
5
  SHA512:
6
- metadata.gz: 172072cc4546bc984fb1c3399290066fd0dd41cfc8099a5c744eb9e3324753560ff24e94ab1850db683efea53e7e80ce33454322c56e11a931e8b57398f21c6c
7
- data.tar.gz: d6339b22d9a50eb9a72022c35e4679ef0efa0326ba3b6ab6b7f1b9174eb796ec122878b23056ff2d0cc7ee0e0ed4be6230bd0bb40c97e556bd2d7abd0a49cdca
6
+ metadata.gz: d00b3c3863c62c8db7a080a918ecf94bd963f13db97fb68755c74bc904fd29037e1af86397f7f272d9fe2efa8afc4a6b73274fa73ea354bf188fdc9681968684
7
+ data.tar.gz: 6b9a6f5cd0cb82db66848388129fd83a636d5836c6cdb62d3336eb8689407956247977af6a76800b222d7b62e283077f23f6c970e82fa21c88612d0f852dcb9f
data/.rubocop.yml CHANGED
@@ -13,5 +13,6 @@ Style/Documentation:
13
13
  AllCops:
14
14
  TargetRubyVersion: 2.5
15
15
  NewCops: enable
16
+ SuggestExtensions: false
16
17
  Style/FrozenStringLiteralComment:
17
18
  Enabled: false
data/Gemfile CHANGED
@@ -1,3 +1,10 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  gemspec
4
+ group :test do
5
+ gem 'rake'
6
+ gem 'rspec'
7
+ gem 'rspec_junit_formatter'
8
+ gem 'rubocop'
9
+ gem 'simplecov'
10
+ end
@@ -1,17 +1,74 @@
1
1
  image: ruby:2.7
2
2
 
3
+
4
+ definitions:
5
+ steps:
6
+ - step: &rubocop
7
+ name: Rubocop
8
+ runs-on: self.hosted
9
+ script:
10
+ - gem install rubocop rubocop-rspec rubocop-performance rubocop-sequel rubocop-md rubocop-sequel --no-document
11
+ - rubocop --format junit --out test-reports/junit.xml
12
+ - step: &rspec
13
+ name: RSpec 2.7
14
+ runs-on: self.hosted
15
+ caches:
16
+ - bundler
17
+ script:
18
+ - gem install bundler rspec rspec_junit_formatter
19
+ - bundle install
20
+ - bundle exec rspec --format RspecJunitFormatter --out test-reports/junit.xml
21
+ caches:
22
+ bundler: /usr/local/bundle
23
+
3
24
  pipelines:
4
- tags:
5
- "v*":
25
+ default:
26
+ - step: *rubocop
27
+ - step: *rspec
28
+ - parallel:
29
+ - step:
30
+ <<: *rspec
31
+ name: RSpec 2.5
32
+ image: ruby:2.5
33
+ - step:
34
+ <<: *rspec
35
+ name: RSpec 2.6
36
+ image: ruby:2.6
37
+ - step:
38
+ <<: *rspec
39
+ name: RSpec 3
40
+ image: ruby:3
41
+ pull-requests:
42
+ master:
43
+ - step: *rubocop
44
+ - step: *rspec
45
+ - parallel:
46
+ - step:
47
+ <<: *rspec
48
+ name: RSpec 2.5
49
+ image: ruby:2.5
50
+ - step:
51
+ <<: *rspec
52
+ name: RSpec 2.6
53
+ image: ruby:2.6
54
+ - step:
55
+ <<: *rspec
56
+ name: RSpec 3
57
+ image: ruby:3
6
58
  - step:
7
- name: Push to RubyGems
59
+ name: RubyGems Deployment
8
60
  deployment: RubyGems
61
+ runs-on: self.hosted
9
62
  script:
10
63
  - gem install gem-release
11
64
  - (umask 077 ; echo $gem_creds | base64 --decode > ~/.gem/credentials)
12
- - gem release
65
+ - gem release --tag --push
66
+ - git push --tags
67
+ - gem build
68
+ condition:
69
+ changesets:
70
+ includePaths:
71
+ - "lib/legion/logging/version.rb"
13
72
  artifacts:
14
73
  - pkg/**
15
- definitions:
16
- caches:
17
- bundler: /usr/local/bundle
74
+ - '*.gem'
@@ -8,8 +8,8 @@ Gem::Specification.new do |spec|
8
8
  spec.authors = ['Esity']
9
9
  spec.email = ['matthewdiverson@gmail.com']
10
10
 
11
- spec.summary = 'The Legion::Logging class'
12
- spec.description = 'Legion Logging is used for logging things'
11
+ spec.summary = 'The Legion::Logging Class'
12
+ spec.description = 'The Logger class for LegionIO'
13
13
  spec.homepage = 'https://bitbucket.org/legion-io/legion-logging'
14
14
 
15
15
  spec.metadata['bug_tracker_uri'] = 'https://bitbucket.org/legion-io/legion-logging/issues?status=new&status=open'
@@ -23,13 +23,5 @@ Gem::Specification.new do |spec|
23
23
  f.match(%r{^(test|spec|features)/})
24
24
  end
25
25
  spec.require_paths = ['lib']
26
-
27
- spec.add_development_dependency 'codecov'
28
- spec.add_development_dependency 'rake'
29
- spec.add_development_dependency 'rspec'
30
- spec.add_development_dependency 'rspec_junit_formatter'
31
- spec.add_development_dependency 'rubocop'
32
- spec.add_development_dependency 'simplecov', '< 0.18.0'
33
-
34
26
  spec.add_dependency 'rainbow', '~> 3'
35
27
  end
@@ -1,5 +1,5 @@
1
1
  module Legion
2
2
  module Logging
3
- VERSION = '1.1.4'.freeze
3
+ VERSION = '1.1.5'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,99 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: legion-logging
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.4
4
+ version: 1.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Esity
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-07 00:00:00.000000000 Z
11
+ date: 2021-05-28 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: codecov
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: '0'
20
- type: :development
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - ">="
25
- - !ruby/object:Gem::Version
26
- version: '0'
27
- - !ruby/object:Gem::Dependency
28
- name: rake
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: '0'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- version: '0'
41
- - !ruby/object:Gem::Dependency
42
- name: rspec
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: '0'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- version: '0'
55
- - !ruby/object:Gem::Dependency
56
- name: rspec_junit_formatter
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - ">="
60
- - !ruby/object:Gem::Version
61
- version: '0'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
68
- version: '0'
69
- - !ruby/object:Gem::Dependency
70
- name: rubocop
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - ">="
74
- - !ruby/object:Gem::Version
75
- version: '0'
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - ">="
81
- - !ruby/object:Gem::Version
82
- version: '0'
83
- - !ruby/object:Gem::Dependency
84
- name: simplecov
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - "<"
88
- - !ruby/object:Gem::Version
89
- version: 0.18.0
90
- type: :development
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - "<"
95
- - !ruby/object:Gem::Version
96
- version: 0.18.0
97
13
  - !ruby/object:Gem::Dependency
98
14
  name: rainbow
99
15
  requirement: !ruby/object:Gem::Requirement
@@ -108,21 +24,18 @@ dependencies:
108
24
  - - "~>"
109
25
  - !ruby/object:Gem::Version
110
26
  version: '3'
111
- description: Legion Logging is used for logging things
27
+ description: The Logger class for LegionIO
112
28
  email:
113
29
  - matthewdiverson@gmail.com
114
30
  executables: []
115
31
  extensions: []
116
32
  extra_rdoc_files: []
117
33
  files:
118
- - ".circleci/config.yml"
119
34
  - ".gitignore"
120
35
  - ".rubocop.yml"
121
36
  - CHANGELOG.md
122
37
  - Gemfile
123
- - Gemfile.lock
124
38
  - README.md
125
- - Rakefile
126
39
  - bitbucket-pipelines.yml
127
40
  - legion-logging.gemspec
128
41
  - lib/legion/logging.rb
@@ -155,8 +68,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
155
68
  - !ruby/object:Gem::Version
156
69
  version: '0'
157
70
  requirements: []
158
- rubygems_version: 3.1.4
71
+ rubygems_version: 3.1.6
159
72
  signing_key:
160
73
  specification_version: 4
161
- summary: The Legion::Logging class
74
+ summary: The Legion::Logging Class
162
75
  test_files: []
data/.circleci/config.yml DELETED
@@ -1,105 +0,0 @@
1
- version: 2.1
2
- orbs:
3
- ruby: circleci/ruby@1.1.2
4
- sonarcloud: sonarsource/sonarcloud@1.0.2
5
-
6
- jobs:
7
- "rubocop":
8
- docker:
9
- - image: cimg/ruby:2.7
10
- steps:
11
- - checkout
12
- - restore_cache:
13
- key: "bundler cache mri"
14
- - run: bundle update
15
- - run: bundle exec rubocop --format=json --out=rubocop-result.json
16
- - store_test_results:
17
- path: rubocop-result.json
18
- - sonarcloud/scan
19
- - run: bundle exec rubocop
20
- - save_cache:
21
- key: "bundler cache mri"
22
- paths:
23
- - "/usr/local/bundle"
24
- "ruby-two-five":
25
- docker:
26
- - image: cimg/ruby:2.5
27
- steps:
28
- - checkout
29
- - restore_cache:
30
- key: "bundler cache mri"
31
- - run: bundle update
32
- - save_cache:
33
- key: "bundler cache mri"
34
- paths:
35
- - "/usr/local/bundle"
36
- - run: bundle exec rspec --format progress --format RspecJunitFormatter -o rspec-results.xml
37
- - store_test_results:
38
- path: rspec-results.xml
39
- - sonarcloud/scan
40
- "ruby-two-six":
41
- docker:
42
- - image: cimg/ruby:2.6
43
- steps:
44
- - checkout
45
- - restore_cache:
46
- key: "bundler cache mri"
47
- - run: bundle update
48
- - save_cache:
49
- key: "bundler cache mri"
50
- paths:
51
- - "/usr/local/bundle"
52
- - run: bundle exec rspec --format progress --format RspecJunitFormatter -o rspec-results.xml
53
- - store_test_results:
54
- path: rspec-results.xml
55
- - sonarcloud/scan
56
- "ruby-two-seven":
57
- docker:
58
- - image: circleci/ruby:2.7
59
- steps:
60
- - checkout
61
- - restore_cache:
62
- key: "bundler cache mri"
63
- - run: bundle update
64
- - save_cache:
65
- key: "bundler cache mri"
66
- paths:
67
- - "/usr/local/bundle"
68
- - run: bundle exec rspec --format progress --format RspecJunitFormatter -o rspec-results.xml
69
- - store_test_results:
70
- path: rspec-results.xml
71
- - sonarcloud/scan
72
- "ruby-three":
73
- docker:
74
- - image: circleci/ruby:3
75
- steps:
76
- - checkout
77
- - restore_cache:
78
- key: "bundler cache mri"
79
- - run: bundle update
80
- - save_cache:
81
- key: "bundler cache mri"
82
- paths:
83
- - "/usr/local/bundle"
84
- - run: bundle exec rspec --format progress --format RspecJunitFormatter -o rspec-results.xml
85
- - store_test_results:
86
- path: rspec-results.xml
87
- - sonarcloud/scan
88
-
89
- workflows:
90
- version: 2
91
- rubocop-rspec:
92
- jobs:
93
- - rubocop
94
- - ruby-two-five:
95
- requires:
96
- - rubocop
97
- - ruby-two-six:
98
- requires:
99
- - ruby-two-five
100
- - ruby-two-seven:
101
- requires:
102
- - ruby-two-five
103
- - ruby-three:
104
- requires:
105
- - ruby-two-five
data/Rakefile DELETED
@@ -1,6 +0,0 @@
1
- require 'bundler/gem_tasks'
2
- require 'rspec/core/rake_task'
3
-
4
- RSpec::Core::RakeTask.new(:spec)
5
-
6
- task default: :spec