monotonic_tick_count 0.2.0.rails.5 → 0.2.0

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: d8e5ad9be33e236d673cf046950b0552dc653e3fe01ac6b64db11e2bf374b5c8
4
- data.tar.gz: 489038b62cb1c55e4677ba83bd55e1f035490e7510b18f0ca380b04887a071ed
3
+ metadata.gz: 24396582479ebb18e5024106bfedb5b8ed4c21d9e91f9b1ab1e511d37c035d71
4
+ data.tar.gz: 843d6385685841f6820a31be5566b7ff8fdef751e27618566365fbd28d3e353f
5
5
  SHA512:
6
- metadata.gz: 25def2306d8d0fe545f24299cdc058a878e579b72d2148d60e7c3f5fa0b79c2ba82671728d56bc88abefbf656e5bd36ce98a8983155cbb80d17bfaa70d1d0e0a
7
- data.tar.gz: 965c2904c654dddbac57013fc2fc6c40e08ddfe4379c6bede0a1bb6979c16a6217dafffe33ba4a80d705756b2bc080fb62727bb99173cfd67940cf1fff66ceae
6
+ metadata.gz: 9398249d9f6d1b395598c2085de84f447225487fdc879419c134ac9a5e694f8c1e2ee5b335105f291aa503908aad0e00a4f0f208265d7ec2a1a67b69750e2a31
7
+ data.tar.gz: 5d2c0a7fff1738e1ae6f6d24ae3bd1459e7f5fe792767cd336a6fe7f3d587cede05f7041914b5eabb821ff95b51248d51a14568750fec9591b414abbe3b13ad3
data/Gemfile CHANGED
@@ -6,11 +6,10 @@ source 'https://rubygems.org'
6
6
  gemspec
7
7
 
8
8
  group :development do
9
- gem 'bundler', '~> 1.17'
9
+ gem 'bundler', '~> 1.15'
10
10
  gem 'pry'
11
11
  gem 'rake'
12
- gem 'rspec', '~> 3.7'
13
- gem 'rspec_junit_formatter', '~> 0.4'
12
+ gem 'rspec'
14
13
  gem 'rspec-mocks'
15
14
  gem 'rubocop', '0.54.0'
16
15
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class MonotonicTickCount
4
- VERSION = "0.2.0.rails.5"
4
+ VERSION = "0.2.0"
5
5
  end
@@ -8,17 +8,20 @@ require "monotonic_tick_count/version"
8
8
  Gem::Specification.new do |spec|
9
9
  spec.name = "monotonic_tick_count"
10
10
  spec.version = MonotonicTickCount::VERSION
11
- spec.authors = ["Invoca Development"]
12
- spec.email = ["development@invoca.com"]
11
+ spec.authors = ["Colin Kelley"]
12
+ spec.email = ["colindkelley@gmail.com"]
13
13
 
14
14
  spec.summary = "PORO to hold a monotonic tick count. Useful for measuring time differences."
15
- spec.description = spec.summary
15
+ spec.description = "PORO to hold a monotonic tick count. Useful for measuring time differences."
16
16
  spec.homepage = "https://github.com/invoca/monotonic_tick_count"
17
17
  spec.license = "MIT"
18
18
 
19
- spec.metadata = {
20
- "allowed_push_host" => "https://rubygems.org"
21
- }
19
+ if spec.respond_to?(:metadata)
20
+ spec.metadata["allowed_push_host"] = "https://rubygems.org"
21
+ else
22
+ raise "RubyGems 2.0 or newer is required to protect against " \
23
+ "public gem pushes."
24
+ end
22
25
 
23
26
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
24
27
  f.match(%r{^(test|spec|features)/})
@@ -27,5 +30,5 @@ Gem::Specification.new do |spec|
27
30
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
28
31
  spec.require_paths = ["lib"]
29
32
 
30
- spec.add_dependency "activesupport", ">= 4.2"
33
+ spec.add_dependency "activesupport", "~> 4.2"
31
34
  end
metadata CHANGED
@@ -1,39 +1,37 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: monotonic_tick_count
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0.rails.5
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
- - Invoca Development
7
+ - Colin Kelley
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-06-23 00:00:00.000000000 Z
11
+ date: 2019-09-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '4.2'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '4.2'
27
27
  description: PORO to hold a monotonic tick count. Useful for measuring time differences.
28
28
  email:
29
- - development@invoca.com
29
+ - colindkelley@gmail.com
30
30
  executables: []
31
31
  extensions: []
32
32
  extra_rdoc_files: []
33
33
  files:
34
34
  - ".gitignore"
35
- - ".jenkins/Jenkinsfile"
36
- - ".jenkins/ruby_build_pod.yml"
37
35
  - ".rubocop.yml"
38
36
  - ".travis.yml"
39
37
  - Gemfile
@@ -61,11 +59,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
61
59
  version: '0'
62
60
  required_rubygems_version: !ruby/object:Gem::Requirement
63
61
  requirements:
64
- - - ">"
62
+ - - ">="
65
63
  - !ruby/object:Gem::Version
66
- version: 1.3.1
64
+ version: '0'
67
65
  requirements: []
68
- rubygems_version: 3.0.3
66
+ rubyforge_project:
67
+ rubygems_version: 2.7.6
69
68
  signing_key:
70
69
  specification_version: 4
71
70
  summary: PORO to hold a monotonic tick count. Useful for measuring time differences.
data/.jenkins/Jenkinsfile DELETED
@@ -1,51 +0,0 @@
1
- #!/usr/bin/groovy
2
- @Library('jenkins-pipeline@v0.4.5')
3
- import com.invoca.docker.*;
4
- pipeline {
5
- agent {
6
- kubernetes {
7
- defaultContainer "ruby"
8
- yamlFile ".jenkins/ruby_build_pod.yml"
9
- }
10
- }
11
-
12
- environment {
13
- GITHUB_TOKEN = credentials('github_token')
14
- BUNDLE_GEM__FURY__IO = credentials('gemfury_deploy_token')
15
- }
16
-
17
- stages {
18
- stage('Setup') {
19
- steps {
20
- updateGitHubStatus('clean-build', 'pending', 'Unit tests.')
21
- script {
22
- sh 'bundle install'
23
- }
24
- }
25
- }
26
- stage('Unit Test') {
27
- steps {
28
- script {
29
- sh 'bundle exec rspec --format RspecJunitFormatter --out spec/reports/rspec.xml'
30
- }
31
- }
32
- post {
33
- always { junit '*/reports/*.xml' }
34
- success { updateGitHubStatus('clean-build', 'success', 'Unit tests.') }
35
- failure { updateGitHubStatus('clean-build', 'failure', 'Unit tests.') }
36
- }
37
- }
38
- }
39
- }
40
-
41
- void updateGitHubStatus(String context, String status, String description) {
42
- gitHubStatus([
43
- repoSlug: 'Invoca/monotonic_tick_count',
44
- sha: env.GIT_COMMIT,
45
- description: description,
46
- context: context,
47
- targetURL: env.BUILD_URL,
48
- token: env.GITHUB_TOKEN,
49
- status: status
50
- ])
51
- }
@@ -1,19 +0,0 @@
1
- ---
2
- apiVersion: v1
3
- kind: Pod
4
- metadata:
5
- labels:
6
- jenkins/monotonic-tick_count: 'true'
7
- namespace: jenkins
8
- name: monotonic-tick_count
9
- spec:
10
- containers:
11
- - name: ruby
12
- image: ruby:2.6.5
13
- tty: true
14
- resources:
15
- requests:
16
- memory: "100Mi"
17
- command:
18
- - cat
19
-