ipynbdiff 0.3.8 → 0.3.9

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: fbeaad80969c974720e75336301dc02822fbf183b278d8e5ddd5dd18c65ddde1
4
- data.tar.gz: c186fa7fac873dff429cf3fd24c4a5cb61901670270850fd3d623c363db21182
3
+ metadata.gz: 4a0b43a4e07caec84f0a356fddf739dcbfd8a851031414a2d3dd8de52d399ba7
4
+ data.tar.gz: efa08ed43c9afcbbac0d895d2bc7306601581609cbbf51398d1a8f0b7e7d5171
5
5
  SHA512:
6
- metadata.gz: 23e6a0c192d671fdcb394334a89d40eef9a58e39d934d1138e0ba37943c928d035d2f471e868b2af3d7f24a02f77d927b1e72d8cd3dd8df1f6ef9616796a8ab0
7
- data.tar.gz: 9632766d4dd4e6e57775d59d7a14d01fb664156bd3c41b1af894481f4bf33f807b54ebad0f664184f606c37a6b8f818326e7238e320ba06135f192753c659f20
6
+ metadata.gz: df6258024f5bad0cd1a74be669d9156910ddc08cd626a9785664367fa599ef2f53da8e71276d5126a0858c5446efd0e33c6ba84c192b8c5b628f40f6f101c5ab
7
+ data.tar.gz: c64d0ba535a8b5b3d20df51b7937f514ef188eb7a93f2204b27ad2fd1cbdc13401fe2564987fc559e26f66bd5d55044c7fc1b57dc1958f0fccf624f94c9ab1af
data/.VERSION.TMPL ADDED
@@ -0,0 +1,5 @@
1
+ # lib/emoticon/version.rb
2
+
3
+ module IpynbDiff
4
+ VERSION = "GEM_VERSION"
5
+ end
data/.gitlab-ci.yml CHANGED
@@ -1,6 +1,39 @@
1
+ image: ruby:2.7
2
+
3
+ stages:
4
+ - test
5
+ - build
6
+ - rubygems
7
+
1
8
  specs:
2
9
  stage: test
3
- image: ruby:2.7
4
10
  script:
5
11
  - bundle install
6
12
  - bundle exec rspec
13
+
14
+ build-gem:
15
+ stage: build
16
+ script:
17
+ - bundle install
18
+ - cat .VERSION.TMPL | sed s/GEM_VERSION/$CI_COMMIT_REF_NAME/ > lib/version.rb
19
+ - gem build ipynbdiff.gemspec
20
+ artifacts:
21
+ paths:
22
+ - ipynbdiff-$CI_COMMIT_REF_NAME.gem
23
+ needs:
24
+ - specs
25
+
26
+ deploy-gem:
27
+ stage: rubygems
28
+ script:
29
+ - bundle install
30
+ - gem push ipynbdiff-$CI_COMMIT_TAG.gem
31
+ only:
32
+ - master
33
+ - tags
34
+ needs:
35
+ - build-gem
36
+ when: manual
37
+
38
+
39
+
data/Gemfile.lock CHANGED
@@ -19,6 +19,7 @@ GEM
19
19
  rspec-support (3.10.2)
20
20
 
21
21
  PLATFORMS
22
+ ruby
22
23
  x86_64-darwin-20
23
24
 
24
25
  DEPENDENCIES
data/ipynbdiff.gemspec CHANGED
@@ -1,8 +1,10 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require_relative "lib/version"
4
+
3
5
  Gem::Specification.new do |s|
4
6
  s.name = 'ipynbdiff'
5
- s.version = ENV['LIB_VERSION']
7
+ s.version = IpynbDiff::VERSION
6
8
  s.summary = 'Human Readable diffs for Jupyter Notebooks'
7
9
  s.description = 'Better diff for Jupyter Notebooks by first preprocessing them and removing clutter'
8
10
  s.authors = ['Eduardo Bonet']
@@ -18,8 +20,8 @@ Gem::Specification.new do |s|
18
20
 
19
21
  s.require_paths = ['lib']
20
22
 
21
- s.add_runtime_dependency 'diffy', '3.3.0'
22
- s.add_runtime_dependency 'json', '2.5.1'
23
+ s.add_runtime_dependency 'diffy', '~> 3.3'
24
+ s.add_runtime_dependency 'json', '~> 2.5', '>= 2.5.1'
23
25
 
24
26
  s.add_development_dependency 'bundler', '~> 2.2'
25
27
  s.add_development_dependency 'guard-rspec'
data/lib/version.rb ADDED
@@ -0,0 +1,5 @@
1
+ # lib/emoticon/version.rb
2
+
3
+ module IpynbDiff
4
+ VERSION = "0.3.9"
5
+ end
metadata CHANGED
@@ -1,41 +1,47 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ipynbdiff
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.8
4
+ version: 0.3.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eduardo Bonet
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-18 00:00:00.000000000 Z
11
+ date: 2021-12-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: diffy
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '='
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 3.3.0
19
+ version: '3.3'
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
- version: 3.3.0
26
+ version: '3.3'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: json
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '='
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '2.5'
34
+ - - ">="
32
35
  - !ruby/object:Gem::Version
33
36
  version: 2.5.1
34
37
  type: :runtime
35
38
  prerelease: false
36
39
  version_requirements: !ruby/object:Gem::Requirement
37
40
  requirements:
38
- - - '='
41
+ - - "~>"
42
+ - !ruby/object:Gem::Version
43
+ version: '2.5'
44
+ - - ">="
39
45
  - !ruby/object:Gem::Version
40
46
  version: 2.5.1
41
47
  - !ruby/object:Gem::Dependency
@@ -115,6 +121,7 @@ executables: []
115
121
  extensions: []
116
122
  extra_rdoc_files: []
117
123
  files:
124
+ - ".VERSION.TMPL"
118
125
  - ".gitignore"
119
126
  - ".gitlab-ci.yml"
120
127
  - Gemfile
@@ -124,6 +131,7 @@ files:
124
131
  - lib/ipynbdiff.rb
125
132
  - lib/output_transformer.rb
126
133
  - lib/transformer.rb
134
+ - lib/version.rb
127
135
  homepage: https://gitlab.com/gitlab-org/incubation-engineering/mlops/rb-ipynbdiff
128
136
  licenses:
129
137
  - MIT