appbombado_startae 0.0.1 → 0.0.2
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 +4 -4
- data/README.md +2 -2
- data/lib/appbombado_startae/version.rb +1 -1
- data/lib/generators/appbombado/appbombado_generator.rb +15 -13
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 57e43af57b8251c9abf9b90ba673a292b943eab9
|
4
|
+
data.tar.gz: be0abff1feb22af7d7724b7aac500aa22d18e01a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 10b0aa8d4ef902d0fd211eeddc5911e9779888746c7984c1d3e8c3bfb3ecb3e0843f24144909960b72f546e4a61d01aa02effa616b02299bebea2ff7498bfa18
|
7
|
+
data.tar.gz: dc5ff59653c4f5f245bb0e182e16cdef8e17d996713dbf9978d728f54f64edc5b4b1de091e456fe6c44414aec90eea34e248ad652af23d140e442de7d2d00374
|
data/README.md
CHANGED
@@ -6,7 +6,7 @@ TODO: Write a gem description
|
|
6
6
|
|
7
7
|
Add this line to your application's Gemfile:
|
8
8
|
|
9
|
-
gem
|
9
|
+
gem "appbombado_startae", "~> 0.0.1"
|
10
10
|
|
11
11
|
And then execute:
|
12
12
|
|
@@ -21,7 +21,7 @@ Or install it yourself as:
|
|
21
21
|
rails new <nomedoapp>
|
22
22
|
|
23
23
|
insira na Gemfile:
|
24
|
-
gem
|
24
|
+
gem "appbombado_startae", "~> 0.0.1"
|
25
25
|
|
26
26
|
rails g appbombado
|
27
27
|
|
@@ -5,27 +5,25 @@ def generate_appbombado
|
|
5
5
|
|
6
6
|
remove_file "Gemfile"
|
7
7
|
copy_file "Gemfile"
|
8
|
-
|
9
|
-
|
10
|
-
end
|
8
|
+
run "bundle install"
|
9
|
+
|
11
10
|
remove_file "config/database.yml"
|
12
11
|
copy_file "database.yml", "config/database.yml"
|
13
|
-
|
14
|
-
inside Rails.root do
|
15
|
-
run "rake db:create"
|
16
|
-
end
|
17
|
-
|
18
|
-
run "rails g simple_form:install --bootstrap"
|
19
|
-
remove_file "config/initializers/simple_form_bootstrap.rb"
|
20
|
-
copy_file "simple_form_bootstrap.rb", "config/initializers/simple_form_bootstrap.rb"
|
12
|
+
run "rake db:create"
|
21
13
|
|
22
14
|
copy_file ".bowerrc"
|
15
|
+
|
23
16
|
run "bundle exec guard init"
|
17
|
+
|
18
|
+
run "rails g start:slim"
|
19
|
+
|
24
20
|
run "rails g start:heroku"
|
25
21
|
run "rails g start:heroku_wake_up"
|
26
|
-
run "rails g start:locales"
|
27
|
-
run "rails g start:slim"
|
28
22
|
run "rails g start:unicorn"
|
23
|
+
|
24
|
+
run "rails g start:locales"
|
25
|
+
|
26
|
+
|
29
27
|
application do
|
30
28
|
"config.i18n.default_locale = 'pt-BR'
|
31
29
|
config.time_zone = 'Brasilia'
|
@@ -37,6 +35,10 @@ def generate_appbombado
|
|
37
35
|
end"
|
38
36
|
end
|
39
37
|
|
38
|
+
run "rails g simple_form:install --bootstrap"
|
39
|
+
remove_file "config/initializers/simple_form_bootstrap.rb"
|
40
|
+
copy_file "simple_form_bootstrap.rb", "config/initializers/simple_form_bootstrap.rb"
|
41
|
+
|
40
42
|
remove_file "app/views/layouts/application.html.erb"
|
41
43
|
copy_file "application.html.slim", "app/views/layouts/application.html.slim"
|
42
44
|
|