learn-test 3.3.0.pre.2 → 3.3.0.pre.3

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: 34479d2b40afafa001626db60d17a0f80273293a0d70817fc46b3c91e01f8b81
4
- data.tar.gz: 6423442bb278878a96673d8769a81eaa01bbcd56b12a1080b3e696298bb06f01
3
+ metadata.gz: 2a1a864132415df805ab19a42f9a8c5d3892602742fca35cf3a8aff5ae5e7a97
4
+ data.tar.gz: 62fcb6feb51b50944d9622fb4306d815125c9338efc1be888775037e853b6d70
5
5
  SHA512:
6
- metadata.gz: eedc292d447fcc1732ae73457fae8c1c574db19ddeeea0cd1a42a527d879c4757bd951a2b47af8e1b2913714d74cf5e955ebcb0b8605eb2f4beb3b50fac5a602
7
- data.tar.gz: d87fdc06850600e77021ac6891122a14a5c69bea2af562304b4d2c9e0345ea56823871f3a0b7f7e64077ee67873fc717662633562575ad6d2af734b75ca21ab1
6
+ metadata.gz: 52ab71e5a63eec57aba9391d97255d4aca85e62c9adae8dadb7f02efb0591d6f3d0637a203fca5b1c47fb27cd627c935d837b2e05f55f79f0b7dc1ebbcf025d7
7
+ data.tar.gz: 94c627e54f10bbb7ae74f482c4d806ccba4de548b6530843524d950c6a5da3286d5e2e422a70a242daa1e51f66181950c991927e5f0eac38af874195bf176e23
@@ -8,7 +8,9 @@ require 'zeitwerk'
8
8
  loader = Zeitwerk::Loader.for_gem
9
9
  loader.inflector.inflect(
10
10
  'csharp' => 'CSharp',
11
- 'csharp_nunit' => 'CSharpNunit'
11
+ 'csharp_nunit' => 'CSharpNunit',
12
+ 'nodejs' => 'NodeJS',
13
+ 'phantomjs' => 'PhantomJS'
12
14
  )
13
15
  loader.setup
14
16
 
@@ -10,7 +10,6 @@ module LearnTest
10
10
  module Wip
11
11
  class Base < ::Git::Path
12
12
  TEMPFILE = '.wip'
13
- PREFIX = 'refs/wip/'
14
13
 
15
14
  attr_reader :working_branch, :wip_branch
16
15
 
@@ -25,7 +24,7 @@ module LearnTest
25
24
 
26
25
  @tmp = Tempfile.new(TEMPFILE)
27
26
  @working_branch = Branch.new(base: @base, name: current_branch)
28
- @wip_branch = Branch.new(base: @base, name: "#{PREFIX}#{current_branch}")
27
+ @wip_branch = Reference.new(base: @base, name: current_branch)
29
28
  end
30
29
 
31
30
  def process!
@@ -68,7 +68,7 @@ module LearnTest
68
68
  repo.push('origin', "#{res.wip_branch}:refs/heads/fis-wip", { force: true })
69
69
  rescue ::Git::GitExecuteError => e
70
70
  if @debug
71
- puts 'There was a problem connecting to Github. Not pushing current branch state.'.red
71
+ puts 'There was a problem connecting to GitHub. Not pushing current branch state.'.red
72
72
  puts e.message
73
73
  end
74
74
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module LearnTest
4
- VERSION = '3.3.0.pre.2'
4
+ VERSION = '3.3.0.pre.3'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: learn-test
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.0.pre.2
4
+ version: 3.3.0.pre.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Flatiron School