master_to_main 0.0.5 → 0.0.6

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: ceb01120a7bf45cda06d052fad7981953dff2e229591b233e5194bd009691fe5
4
- data.tar.gz: d3596aada72baf60721a28784837ac82b6de77f4b24c936448336aea30654477
3
+ metadata.gz: 3e178c01d989407574bbc17949910dca148aad2afaca28205abb785c7aed3263
4
+ data.tar.gz: eeab0dd082a7808a332a66cb164a67e213f391392cd54ede20a3ba400e9b6c3f
5
5
  SHA512:
6
- metadata.gz: 859e90c468edf7217a9d573d870a3859013e65a7c3a9f2ab1462df42b366c099b6795a16a468406fbd680920bbaa4a91c2e75db0cad31235c7755f008edbc7ad
7
- data.tar.gz: 18bc616948989e6a3a185ed7f410b11ad21a105c2746bf184f7685e59ca8a0185020ac5e08e134e81e1e549a6524652b76c4b7384858cab604acefeff0e801fb
6
+ metadata.gz: 6156ba5854ec68934d55aca6b955b096bfc97def37394669536b4492419ce8b8cf35b45d159f331f3cf22175de5261d71d10dee4302f5fb6058ed24280586872
7
+ data.tar.gz: d5f7d35aeadee3496122606e6d6f6c613f177526e2780120e249bffcbcab98a80f6449c8b36d88ba0aed4dd557e6dd19ec5450f83574353ce0d9326c2719c857
@@ -1,3 +1,8 @@
1
+ # 0.0.6 - 2020-06-23
2
+
3
+ - Include `find_references` in `update_docs`
4
+ - README Updates
5
+
1
6
  # 0.0.5 - 2020-06-19
2
7
 
3
8
  - Add `find_references` for finding non doc references
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- master_to_main (0.0.5)
4
+ master_to_main (0.0.6)
5
5
  octokit (~> 4.0)
6
6
  thor (~> 1.0.1)
7
7
 
data/README.md CHANGED
@@ -17,13 +17,22 @@ Per the twitter thread below, maybe we can just think of it as:
17
17
  Thanks to [@shanselman](https://github.com/shanselman) for [the
18
18
  suggestion](https://twitter.com/shanselman/status/1269838158650195968).
19
19
 
20
+ ## Installation
21
+
22
+ You need ruby and [rubygems](https://rubygems.org/pages/download) to use `master_to_main`.
23
+ With ruby gems installed you can simply run
24
+
25
+ ```
26
+ $ gem install master_to_main
27
+ ```
28
+
20
29
  ## Functionality
21
30
 
22
- `MasterToMain` has 1 actions for now:
31
+ `MasterToMain` has 3 actions:
23
32
 
24
- 1. `update`
25
- 1. `update_local`
26
- 1. `update_docs`
33
+ 1. `update` - Update github, pull requests, branch protections, local origin
34
+ 1. `update_local` - For people to use after `update` to update the local clone
35
+ 1. `update_docs` - If you just want to search docs for github urls.
27
36
 
28
37
  ## `update`
29
38
 
@@ -52,6 +61,8 @@ or `pwd`)
52
61
  1. The current default branch (default is `master`)
53
62
  1. The desired default branch (default is `main`)
54
63
  1. Your personal access token (instructions for settings one can be found [here](https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line))
64
+ - You should enable "repo" access
65
+
55
66
 
56
67
  ## `update_local`
57
68
 
@@ -86,22 +97,6 @@ master_to_main update_docs
86
97
  This will attempt to update all references to commits on the master branch with
87
98
  commits on the main branch.
88
99
 
89
- ## Installation
90
-
91
- Add this line to your application's Gemfile:
92
-
93
- ```ruby
94
- gem 'master_to_main'
95
- ```
96
-
97
- And then execute:
98
-
99
- $ bundle
100
-
101
- Or install it yourself as:
102
-
103
- $ gem install master_to_main
104
-
105
100
  ## TODO
106
101
 
107
102
  - Testing would be nice
@@ -30,6 +30,7 @@ module MasterToMain
30
30
  def update_docs
31
31
  prompt_info
32
32
  _update_docs
33
+ ask_find_references
33
34
  end
34
35
 
35
36
  desc "find_references", "find references to github urls with MAIN"
@@ -1,3 +1,3 @@
1
1
  module MasterToMain
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: master_to_main
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - John DeWyze
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-06-19 00:00:00.000000000 Z
11
+ date: 2020-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler