eussiror 0.2.0 → 0.2.1

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: 51d4798005d97ca29f6b424524594a2397668f574143bd1ea87f9f3992ddc486
4
- data.tar.gz: a3272d437553c95440775fa69f87fccee90e0c31aaceb3ba834fa58580342b97
3
+ metadata.gz: 8373a818bf0fe9707e7f35c19153f81df80e4d92c0b2f3fb2e44deeb3ba53267
4
+ data.tar.gz: bfbced08ea2f62600cf9ea14f03d92a366f85fe882939dc7a111012724968976
5
5
  SHA512:
6
- metadata.gz: c9bb0ae83836328b9c23d908a96eddc9b4b07940f5c4e67991b89683fc5ebf6ae6daac079d868ae9251e3ff50feff6da24959cd4e71978e712f2c5bf71739d10
7
- data.tar.gz: 5920aae760c75985bc51e31565df20668d7aed8babc3bcc4d096b4f306a581582d971f6347c2d5b4450f0b610e6f7b5248ecd183e94ad577a1578f7657905579
6
+ metadata.gz: e53c1df12b6a2a4d2b80915bc5454df0d494a6d635fbff8fb8a4e12322d7a9dd76f164c23c939eb141e4bf4ba59a5c9e1b23c8de4bd0774a3a6c00c3e2f8b6bc
7
+ data.tar.gz: baea4432617d7f70f7246a0f5b832e36b875660ac882e0929878ba94593b9eb2441f028bcc261b676c98cd2f61f91c58a04b8fef8642e9f9ddde521421db1942
data/CHANGELOG.md CHANGED
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.2.1] - 2026-02-26
11
+
12
+ ### Added
13
+ - Step-by-step GitHub token setup guide in README (beginner-friendly).
14
+
10
15
  ## [0.2.0] - 2026-02-26
11
16
 
12
17
  ### Changed
data/README.md CHANGED
@@ -142,20 +142,57 @@ app/controllers/dashboard_controller.rb:42:in 'index'
142
142
 
143
143
  ## GitHub token setup
144
144
 
145
- Eussiror needs a GitHub token with permission to read and create issues on your target repository.
145
+ Eussiror needs a **GitHub token** to create issues on your behalf. Think of it like a password that lets the gem talk to GitHub for you but you only use it in your app, never share it with anyone.
146
146
 
147
- **Option A Classic personal access token:**
148
- Generate at `Settings → Developer settings → Personal access tokens → Tokens (classic)` and select the `repo` scope.
147
+ ### Step-by-step: how to create your token
149
148
 
150
- **Option B Fine-grained personal access token:**
151
- Generate at `Settings → Developer settings → Personal access tokens → Fine-grained tokens`. Grant **Issues → Read and write** on the target repository only.
149
+ 1. **Log in to GitHub**
150
+ Go to [github.com](https://github.com) and sign in.
152
151
 
153
- Store the token in an environment variable (never hard-code it):
152
+ 2. **Open your profile menu**
153
+ Click your profile picture (top-right corner) → **Settings**.
154
154
 
155
- ```bash
156
- # .env or your secrets manager
157
- GITHUB_TOKEN=ghp_xxxxxxxxxxxx
158
- ```
155
+ 3. **Go to Developer settings**
156
+ In the left sidebar, scroll down to the bottom → **Developer settings**.
157
+
158
+ 4. **Choose Personal access tokens**
159
+ Click **Personal access tokens** → choose either **Tokens (classic)** or **Fine-grained tokens** (see below).
160
+
161
+ 5. **Create a new token**
162
+ Click **Generate new token** (or **Generate new token (classic)**).
163
+
164
+ 6. **Configure the token**
165
+
166
+ **If you chose Classic:**
167
+ - Give it a name (e.g. `Eussiror for my-app`)
168
+ - Set an expiration (e.g. 90 days, or No expiration if you prefer)
169
+ - Check the **repo** scope (this allows reading and writing issues)
170
+
171
+ **If you chose Fine-grained:**
172
+ - Give it a name (e.g. `Eussiror for my-app`)
173
+ - Under **Repository access**, select **Only select repositories** and pick your repo
174
+ - Under **Permissions → Repository permissions**, set **Issues** to **Read and write**
175
+
176
+ 7. **Generate and copy**
177
+ Click **Generate token**.
178
+ **Important:** Copy the token immediately — GitHub will only show it once. It looks like `ghp_xxxxxxxxxxxxxxxxxxxx`.
179
+
180
+ 8. **Store it safely**
181
+ Never put the token in your code. Use an environment variable:
182
+
183
+ ```bash
184
+ # In .env (or your secrets manager)
185
+ GITHUB_TOKEN=ghp_xxxxxxxxxxxxxxxxxxxx
186
+ ```
187
+
188
+ Then in your initializer: `config.github_token = ENV["GITHUB_TOKEN"]`.
189
+
190
+ ### Quick reference
191
+
192
+ | Option | Where to find it | Permission needed |
193
+ |--------|------------------|-------------------|
194
+ | **Classic** | Settings → Developer settings → Personal access tokens → Tokens (classic) | `repo` scope |
195
+ | **Fine-grained** | Settings → Developer settings → Personal access tokens → Fine-grained tokens | Issues: Read and write for your repo |
159
196
 
160
197
  ---
161
198
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Eussiror
4
- VERSION = "0.2.0"
4
+ VERSION = "0.2.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eussiror
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Equipe Technique