localtower 2.0.0 → 2.0.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: f65e6defd9203e2fb4f8d7d257a0fc978bced6c4b4f55e70f6559868b7604a8d
4
- data.tar.gz: d0e1bd812df62274ce5035d13a4bc0f896a5b4a0969895679321bd369bf3d18c
3
+ metadata.gz: fd3ff9f10242f64a0f36e8d73592bef75040acd230395290234a92334072098a
4
+ data.tar.gz: a105385c40e1e640751a1547c45fb6e06070992d061efbea8f4d570632cd14b9
5
5
  SHA512:
6
- metadata.gz: c75b95c7f1cbe343f9ef9fb2f1a767854f0111c9b74d9200167ba83f2b14aea267d1f0e0ab73c928893a324a4db66641d17ff4896376ef1203533043c66a99be
7
- data.tar.gz: 9d4a0dc7223944e6c93c1858e4fc0f8cb0588ff9b6bbbd87616ceddb85a817aa31f4b9758ec3a2106d54182787faae3bf9add60373c6a3d77326021311c6ee5b
6
+ metadata.gz: 46963d7e5e65127f9e374f1b2d3f7311b5d1bca07b75d4036db746232c8d14da1a25daef877ee58e74e157bd1b35960c76c7ee921721aebf80eadf3785666b9a
7
+ data.tar.gz: 3789b9562e8b06f2e040d404ea0a5f6e7a002ba08e1b42a19fd07c85dee65e07911c229120b57a0f9492f1ec6a6aa523dd98600a397f52760c2b0200185ce56d
data/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  ## Introduction
8
8
 
9
- ![New Model](https://raw.githubusercontent.com/damln/localtower/react/public/screenshots/v2.0.0/Screenshot%202024-11-18%20at%2022.44.30.jpg)
9
+ ![New Model](https://raw.githubusercontent.com/damln/localtower/master/public/screenshots/v2.0.0/Screenshot%202024-11-18%20at%2022.44.30.jpg)
10
10
 
11
11
  **- What is Localtower?**
12
12
 
@@ -39,15 +39,15 @@ Localtower doesn't implement all the Rails Migrations API. I focused on the most
39
39
 
40
40
  ### Create a model
41
41
 
42
- ![New Model](https://raw.githubusercontent.com/damln/localtower/react/public/screenshots/v2.0.0/Screenshot%202024-11-18%20at%2022.44.30.jpg)
42
+ ![New Model](https://raw.githubusercontent.com/damln/localtower/master/public/screenshots/v2.0.0/Screenshot%202024-11-18%20at%2022.44.30.jpg)
43
43
 
44
44
  ### Create a migration
45
45
 
46
- ![New Migration](https://raw.githubusercontent.com/damln/localtower/react/public/screenshots/v2.0.0/Screenshot%202024-11-18%20at%2022.48.21.jpg)
46
+ ![New Migration](https://raw.githubusercontent.com/damln/localtower/master/public/screenshots/v2.0.0/Screenshot%202024-11-18%20at%2022.48.21.jpg)
47
47
 
48
48
  ### See the Migrations (and migrate)
49
49
 
50
- ![Migrations](https://raw.githubusercontent.com/damln/localtower/react/public/screenshots/v2.0.0/Screenshot%202024-11-18%20at%2022.50.11.jpg)
50
+ ![Migrations](https://raw.githubusercontent.com/damln/localtower/master/public/screenshots/v2.0.0/Screenshot%202024-11-18%20at%2022.50.11.jpg)
51
51
 
52
52
  ## Installation
53
53
 
@@ -62,14 +62,9 @@ Compatibility:
62
62
  Add to your `Gemfile` file:
63
63
 
64
64
  ```ruby
65
- # In your current group 'development':
66
65
  group :development do
67
- # [probably other gems here]
68
- gem 'localtower'
66
+ gem 'localtower', '~> 2.0'
69
67
  end
70
-
71
- # Or as a one liner:
72
- gem 'localtower', group: :development
73
68
  ```
74
69
 
75
70
  Run command in your terminal:
@@ -113,33 +108,50 @@ If you know how to override this configuration in the gem instead of doing it in
113
108
 
114
109
  To access the UI, run your local rails server and open your browser at [http://localhost:3000/localtower](http://localhost:3000/localtower).
115
110
 
116
- ## Full scenrio ScreenShots
111
+ ## Full scenario
117
112
 
118
113
  ### Create a model
119
114
 
120
- ![](https://raw.githubusercontent.com/damln/localtower/react/public/screenshots/v2.0.0/Screenshot%202024-11-18%20at%2022.44.30.jpg)
115
+ ![](https://raw.githubusercontent.com/damln/localtower/master/public/screenshots/v2.0.0/Screenshot%202024-11-18%20at%2022.44.30.jpg)
121
116
 
122
117
  It will create a migration file:
123
118
 
124
- ![](https://raw.githubusercontent.com/damln/localtower/react/public/screenshots/v2.0.0/Screenshot%202024-11-18%20at%2022.44.42.jpg)
119
+ ![](https://raw.githubusercontent.com/damln/localtower/master/public/screenshots/v2.0.0/Screenshot%202024-11-18%20at%2022.44.42.jpg)
125
120
 
126
121
  ### Create a migration
127
122
 
128
- ![](https://raw.githubusercontent.com/damln/localtower/react/public/screenshots/v2.0.0/Screenshot%202024-11-18%20at%2022.48.21.jpg)
123
+ ![](https://raw.githubusercontent.com/damln/localtower/master/public/screenshots/v2.0.0/Screenshot%202024-11-18%20at%2022.48.21.jpg)
129
124
 
130
125
  It will generate a migration file:
131
126
 
132
- ![](https://raw.githubusercontent.com/damln/localtower/react/public/screenshots/v2.0.0/Screenshot%202024-11-18%20at%2022.48.51.jpg)
127
+ ![](https://raw.githubusercontent.com/damln/localtower/master/public/screenshots/v2.0.0/Screenshot%202024-11-18%20at%2022.48.51.jpg)
133
128
 
134
129
  ### Create another model
135
130
 
136
131
  Now, we add a `Book` model:
137
132
 
138
- ![](https://raw.githubusercontent.com/damln/localtower/react/public/screenshots/v2.0.0/Screenshot%202024-11-18%20at%2022.50.04.jpg)
133
+ ![](https://raw.githubusercontent.com/damln/localtower/master/public/screenshots/v2.0.0/Screenshot%202024-11-18%20at%2022.50.04.jpg)
139
134
 
140
135
  ### All the migrations generated
141
136
 
142
- ![](https://raw.githubusercontent.com/damln/localtower/react/public/screenshots/v2.0.0/Screenshot%202024-11-18%20at%2022.50.19.jpg)
137
+ ![](https://raw.githubusercontent.com/damln/localtower/master/public/screenshots/v2.0.0/Screenshot%202024-11-18%20at%2022.50.19.jpg)
138
+
139
+ ### Files generated
140
+
141
+ Every action made from the UI will generate native Rails migration files.
142
+ Exactly like the `rails generate` command.
143
+ But instead of generating files in the console, they are generated in the `db/migrate` folder.
144
+
145
+ - The models:
146
+ ![](https://raw.githubusercontent.com/damln/localtower/master/public/screenshots/v2.0.0/Screenshot%202024-11-18%20at%2022.51.47.jpg)
147
+ ![](https://raw.githubusercontent.com/damln/localtower/master/public/screenshots/v2.0.0/Screenshot%202024-11-18%20at%2022.51.48.jpg)
148
+
149
+ - The migration files:
150
+ ![](https://raw.githubusercontent.com/damln/localtower/master/public/screenshots/v2.0.0/Screenshot%202024-11-18%20at%2022.52.18.jpg)
151
+ ![](https://raw.githubusercontent.com/damln/localtower/master/public/screenshots/v2.0.0/Screenshot%202024-11-18%20at%2022.52.26.jpg)
152
+
153
+ - The final schema:
154
+ ![](https://raw.githubusercontent.com/damln/localtower/master/public/screenshots/v2.0.0/Screenshot%202024-11-18%20at%2022.52.38.jpg)
143
155
 
144
156
 
145
157
  ## Upgrading
@@ -189,7 +201,7 @@ bundle exec rspec spec/
189
201
 
190
202
  Only for official contributors.
191
203
 
192
- git tag v2.0.0 # change by last version
204
+ git tag vX.X.X # change by last version
193
205
  git push --tags
194
206
  rm *.gem
195
207
  gem build localtower.gemspec