label_weaver 0.0.7 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: eca50ec7fe76eb58a454a92a3815af9037e80617e71fdf6cd53b81b27cce9f56
4
- data.tar.gz: 5e6d191c664203f71feaba035e774b4fa492ae804b0d31cc5a0f645342ae9343
3
+ metadata.gz: e80b3c26d499a033afc34ecd7fb14173b01037e7cd438870ec3e8287f4bb82c8
4
+ data.tar.gz: dd696f8f74079db3333e1be27d141733a2b01129ba4db5f897ced196150b8b4b
5
5
  SHA512:
6
- metadata.gz: 711898d28b3baea45f8659e68a6c63d7537f5acb61e879f61c01268fcdad59b3f65c1067ef67a4a160575314d3577be856902d766131e146d3dce7a1a34fe675
7
- data.tar.gz: d07d1c04a8936e7ada2e3bcf9c2a9f58381f4169faaea67ff9f8b245dd3646d8ca87031f9212f4b10503ca080838d8858826c4bb14ea28639f57c9aa963ce307
6
+ metadata.gz: 5fbf1d2d15c9f10fbc08731d735485bda5d3c3fef8dc8f346e5f585612ba8b5b4d0a34078eb6b531fdc4e0b9e528a00dd19efe3fe902f233bc434a51b59ccfe4
7
+ data.tar.gz: 40e6d0bf6cf2d5ae2052bae1b80460a9d8a10fe23d6a5a884bcab4059eadff113b2403174abf994bb3707297a36a2700a03bb0958c46f59d11fd76f6fb66de70
data/label_weaver.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "label_weaver"
5
- spec.version = "0.0.7"
5
+ spec.version = "0.0.9"
6
6
  spec.authors = ["Stefan Exner"]
7
7
  spec.email = ["stex@stex.codes"]
8
8
  spec.homepage = "https://gitlab.com/lopo-tech/label_weaver"
@@ -39,7 +39,6 @@ module LabelWeaver
39
39
  else
40
40
  logger.error "Unknown format: #{context.input[:format]}"
41
41
  end
42
- logger.info context.input.inspect
43
42
  end
44
43
 
45
44
  private
@@ -57,9 +56,10 @@ module LabelWeaver
57
56
  def repo
58
57
  @repo ||= LabelWeaver::TempRepo.new(
59
58
  context.repository_dir,
60
- repository_url: configuration.git_repository,
61
- branch: configuration.git_branch,
62
- excludes: configuration.excludes,
59
+ repository_url: configuration.git[:repository],
60
+ branch: configuration.git[:branch],
61
+ excluded_upstream_files: configuration.excluded_upstream_files,
62
+ forced_upstream_files: configuration.forced_upstream_files,
63
63
  logger: logger
64
64
  )
65
65
  end
@@ -1,14 +1,16 @@
1
1
  git:
2
2
  repository: "git@gitlab.com:lopo-tech/label_weaver.git"
3
3
  branch: "main"
4
+
4
5
  # Files to exclude from the upstream repository, they will not be copied over to the whitelabel project.
5
6
  # Shell filename globbing rules apply, not regular expressions
6
- excluded_upstream_files:
7
- - .git/**
8
- hooks:
9
- develop:
10
- after_start:
11
- - echo "Development Mode Started"
7
+ #excluded_upstream_files:
8
+ # - .git/**
9
+
10
+ #hooks:
11
+ # develop:
12
+ # after_start:
13
+ # - echo "Development Mode Started"
12
14
 
13
15
  # Define files from the base and whitelabel projects that should be merged into
14
16
  # a new or existing file.
@@ -20,7 +20,7 @@ module LabelWeaver
20
20
  @repository_path = repository_path
21
21
  @repository_url = repository_url
22
22
  @branch = branch
23
- @excluded_upstream_files = excluded_upstream_files + %w[. ..]
23
+ @excluded_upstream_files = excluded_upstream_files + %w[. .. .git/**]
24
24
  @forced_upstream_files = forced_upstream_files
25
25
  @logger = logger
26
26
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: label_weaver
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefan Exner
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-10-09 00:00:00.000000000 Z
11
+ date: 2024-11-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cogger