foobara-empty-ruby-project-generator 0.0.3 → 0.0.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: 8bde633360413402d76c5d34c001001f151ad69c756c73c4a7607301dbbffa24
4
- data.tar.gz: 0d4cf4293321cb4fdb7ac90443068fdd0e49f9771bce85245708528dba6665ff
3
+ metadata.gz: d2029556f8e4d953b0dcf72f9c40fc460f294ac399bc5b3ed83042845d27b385
4
+ data.tar.gz: 756f928a0a804e15b85c92fb0a2b27d9b985e7675e142388cacec5859d2cba63
5
5
  SHA512:
6
- metadata.gz: 80b3bd67a3603723731eab3155843d860a02c9368ca11b11dcb656e3c53681d38eb531ecdef5cc6fc64f9ef61cc9ffdc38578b83f8c2581739b0052d90bc2840
7
- data.tar.gz: 8a0c33f9ab979326378d44c02cc12c7732aa37525d590e4bf5308ea2faf80697a8854e00b1c7ab4972c58fb239b642482d2458d869c530de18af05041e66efc1
6
+ metadata.gz: 7cbbf35059f454970a1d1e8187200507d0c479aa89cfc5e338e691a3b4bb3bfea2492eb050beaefa20adb4b59404165fd58cfd01d3681df0cd6cd98115746f15
7
+ data.tar.gz: 536399c05e58eab520dadf2f2e1cb5a39a571533897da7e80f0d65345eb73935a98120895afe5140b3e26acc650b316440dccd0e40c88f1b231f1ff588185683
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## [0.0.5] - 2024-07-08
2
+
3
+ - Remove unnecessary foobara gem wiring up code from templates/.github
4
+
5
+ ## [0.0.4] - 2024-07-04
6
+
7
+ - Remove unnecessary foobara gem wiring up code from templates/.github
8
+
1
9
  ## [0.0.3] - 2024-06-23
2
10
 
3
11
  - Remove a bunch of unnecessary gems from templates/Gemfile
@@ -14,62 +14,6 @@ jobs:
14
14
  timeout-minutes: 3
15
15
  steps:
16
16
  - uses: actions/checkout@v3
17
- - name: setup ruby version and foobara branch and sha1
18
- run: |
19
- foobara_entry=`grep -A2 -m 1 ' remote: foobara$' Gemfile.lock`
20
- regex="revision: ([0-9a-f]+)\s+branch: ([-_[:alnum:]]+)$"
21
-
22
- if [[ $foobara_entry =~ $regex ]]; then
23
- foobara_sha1="${BASH_REMATCH[1]}"
24
- foobara_branch="${BASH_REMATCH[2]}"
25
-
26
- echo foobara_sha1=$foobara_sha1 >> "$GITHUB_ENV"
27
- echo foobara_branch=$foobara_branch >> "$GITHUB_ENV"
28
- else
29
- echo "$foobara_entry doesn't match $regex" >&2
30
- fi
31
-
32
- echo ruby_version=`cat .ruby-version` >> "$GITHUB_ENV"
33
- - name: cache foobara
34
- id: cache-foobara
35
- uses: actions/cache@v3
36
- env:
37
- cache-name: cache-foobara
38
- with:
39
- path: ~/work/<%= kebab_case_project_name %>/foobara
40
- key: ${{ env.cache-name }}-${{ env.foobara_branch }}-${{ env.foobara_sha1 }}
41
- restore-keys: |
42
- ${{ env.cache-name }}-${{ env.foobara_branch }}-
43
- ${{ env.cache-name }}-
44
- - if: ${{ steps.cache-foobara.outputs.cache-hit != 'true' }}
45
- name: clone or pull foobara
46
- run: |
47
- set -e
48
- cd ..
49
- if [ -d foobara ]; then
50
- echo pulling
51
- cd foobara
52
- ssh-agent sh -c 'echo "${{ secrets.FOOBARA_KEY }}" | ssh-add - &&
53
- git fetch --depth=1 origin $foobara_sha1 &&
54
- if git rev-parse --verify -q $foobara_branch; then
55
- git checkout -q $foobara_branch
56
- git reset --hard $foobara_sha1
57
- else
58
- git branch $foobara_branch $foobara_sha1
59
- git checkout -q $foobara_branch
60
- fi'
61
- else
62
- echo cloning
63
- ssh-agent sh -c 'echo "${{ secrets.FOOBARA_KEY }}" | ssh-add - &&
64
- git clone -b $foobara_branch --depth=1 git@github.com:foobara/foobara.git'
65
- fi
66
- - name: symlink foobara and point bundler at it
67
- run: |
68
- set -e
69
- mkdir -p .bundle
70
- echo -e "---\nBUNDLE_LOCAL__FOOBARA: '/home/runner/work/<%= kebab_case_project_name %>/foobara'" > .bundle/config
71
- mkdir ../../foobara
72
- ln -s ../../<%= kebab_case_project_name %>/foobara ../../foobara/foobara
73
17
  - name: Set up Ruby
74
18
  uses: ruby/setup-ruby@v1
75
19
  with:
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foobara-empty-ruby-project-generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miles Georgi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-23 00:00:00.000000000 Z
11
+ date: 2024-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: foobara