teleporter 0.0.34 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +63 -19
- data/lib/generators/initial/templates/bootstrap/bootstrap_flash_helper.rb +2 -2
- data/lib/teleporter/version.rb +1 -1
- data/teleporter.gemspec +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 62589391fbd9f6388ea3ab8621bcf35083923491
|
4
|
+
data.tar.gz: 73e3bcd6e162dc11d22229dba41a03bc97fc870c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4af55564082b3f522176f67014e0e2f96e83b2b477d3f2c7258f6c9aafc3f1a95b4573f045c67b406fdcff137a51a1a6d7f8abbba2fea959521f64894a4dab75
|
7
|
+
data.tar.gz: 9a37eef4edcfdd716142a6b2784b8f22a6d6d1256c49ddc3dd99846487d318633db71b95e6eb54f8b43a7f7487075147dec1e164c9d41e47e9949d3da2e3edea
|
data/README.md
CHANGED
@@ -1,25 +1,69 @@
|
|
1
|
+
Teleporter
|
2
|
+
----------
|
3
|
+
Generators for a fresh Rails application
|
4
|
+
|
1
5
|
[![Gem Version](https://badge.fury.io/rb/teleporter.svg)](http://badge.fury.io/rb/teleporter)
|
2
6
|
|
3
|
-
|
7
|
+
|
8
|
+
Table of content
|
9
|
+
----------------
|
10
|
+
* [rails g initial:start](#rails-g-initialstart)
|
11
|
+
* [rails g initial:gemfile](#rails-g-initialgemfile)
|
12
|
+
* [rails g initial:gitignore](#rails-g-initialgitignore)
|
13
|
+
* [rails g initial:database](#rails-g-initialdatabase)
|
14
|
+
* [rails g initial:rspec](#rails-g-initialrspec)
|
15
|
+
* [rails g initial:welcome](#rails-g-initialwelcome)
|
16
|
+
* [rails g initial:capistrano](#rails-g-initialcapistrano)
|
17
|
+
* [rails g initial:bootstrap](#rails-g-initialbootstrap)
|
18
|
+
* [rails g initial:simple_form](#rails-g-initialsimple_form)
|
19
|
+
* [rails g initial:devise](#rails-g-initialdevise)
|
20
|
+
* [rails g initial:devise_oauth](#rails-g-initialdevise_oauth)
|
21
|
+
|
22
|
+
## rails g initial:start
|
23
|
+
```shell
|
4
24
|
$ rails g initial:start
|
5
|
-
$ rails g initial:gemfile
|
6
|
-
$ rails g initial:gitignore
|
7
|
-
$ rails g initial:database
|
8
|
-
$ rails g initial:rspec
|
9
|
-
$ rails g initial:welcome
|
10
|
-
$ rails g initial:capistrano
|
11
|
-
$ rails g initial:bootstrap
|
12
|
-
$ rails g initial:simple_form
|
13
|
-
$ rails g initial:devise
|
14
|
-
$ rails g initial:devise_oauth
|
15
|
-
|
16
|
-
$ rails g admin:start
|
17
25
|
```
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
26
|
+
runs all generators below
|
27
|
+
|
28
|
+
### rails g initial:gemfile
|
29
|
+
```shell
|
30
|
+
$ rails g initial:gemfile
|
31
|
+
```
|
32
|
+
adds gemfiles: `russian`, `sidekiq`, `puma`, `haml-rails`, `therubyracer`, `quiet_assets`
|
33
|
+
adds timezone and locale
|
34
|
+
```ruby
|
35
|
+
config.time_zone = 'Moscow'
|
36
|
+
config.i18n.default_locale = :ru
|
37
|
+
```
|
38
|
+
|
39
|
+
### rails g initial:gitignore
|
40
|
+
copies template for `.gitignore` file with all common excludes
|
41
|
+
|
42
|
+
### rails g initial:database
|
43
|
+
`database.yml` for postgresql and `rake db:create`
|
44
|
+
|
45
|
+
### rails g initial:rspec
|
46
|
+
adds gems `rspec-rails`, `spring`, `sping-commands-rspec`, `factory_girl_rails`, `capybara`, `database_cleeaner`, `shoulds-matchers`, `poltergeist`, `phantomjs`, `vcr`, `webmock`
|
47
|
+
and configures them all for a testing rails app
|
48
|
+
|
49
|
+
### rails g initial:welcome
|
50
|
+
generates `WelcomeController#index` and uses it as `root_path`
|
51
|
+
|
52
|
+
### rails g initial:capistrano
|
53
|
+
adds gems: `capistrano`, `capistrano-rbenv`, `capistrano-bundler`, `capistrano-rails`, `capistrano-sidekiq`, `capistrano-puma`
|
54
|
+
generate Capistrano 3 configs for deployment
|
55
|
+
|
56
|
+
### rails g initial:bootstrap
|
57
|
+
adds gems `bootstrap-sass`, `kaminari-bootstrap`, `bh`, `autoprefixer-rails`
|
58
|
+
binds them with a fresh rails application
|
59
|
+
|
60
|
+
### rails g initial:simple_form
|
61
|
+
adds gem `simple-form`
|
62
|
+
generates wrappers for: `Basic` | `Bootstrap` | `Zurb`
|
22
63
|
|
23
|
-
|
24
|
-
|
64
|
+
### rails g initial:devise
|
65
|
+
adds gems: `devise`, `cancancan`, `letter-opener`
|
66
|
+
generates files for devise installation into a fresh rails application
|
25
67
|
|
68
|
+
#### rails g initial:devise_oauth
|
69
|
+
generates files for devise-oauth providers
|
@@ -16,8 +16,8 @@ module BootstrapFlashHelper
|
|
16
16
|
|
17
17
|
Array(message).each do |msg|
|
18
18
|
text = content_tag(:div,
|
19
|
-
content_tag(:button, raw("×"), :
|
20
|
-
msg, :
|
19
|
+
content_tag(:button, raw("×"), class: "close", "data-dismiss" => "alert") +
|
20
|
+
msg, class: "alert fade in alert-#{type} #{options[:class]}")
|
21
21
|
flash_messages << text if msg
|
22
22
|
end
|
23
23
|
end
|
data/lib/teleporter/version.rb
CHANGED
data/teleporter.gemspec
CHANGED
@@ -8,8 +8,8 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.version = Teleporter::VERSION
|
9
9
|
spec.authors = ["Ponomarev Nikolay"]
|
10
10
|
spec.email = ["itsnikolay@gmail.com"]
|
11
|
-
spec.summary = %q{
|
12
|
-
spec.description = %q{Generators for
|
11
|
+
spec.summary = %q{Generators for a fresh Rails application}
|
12
|
+
spec.description = %q{Generators for a fresh Rails application}
|
13
13
|
spec.homepage = ""
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: teleporter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ponomarev Nikolay
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-10-
|
11
|
+
date: 2014-10-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -52,7 +52,7 @@ dependencies:
|
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
|
-
description: Generators for
|
55
|
+
description: Generators for a fresh Rails application
|
56
56
|
email:
|
57
57
|
- itsnikolay@gmail.com
|
58
58
|
executables: []
|
@@ -143,5 +143,5 @@ rubyforge_project:
|
|
143
143
|
rubygems_version: 2.2.2
|
144
144
|
signing_key:
|
145
145
|
specification_version: 4
|
146
|
-
summary:
|
146
|
+
summary: Generators for a fresh Rails application
|
147
147
|
test_files: []
|