raygun-gl 0.10.2 → 1.0.1b
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/.ruby-version +5 -1
- data/CHANGES.md +9 -0
- data/README.md +37 -1
- data/lib/raygun/raygun.rb +2 -6
- data/lib/raygun/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cf8c18e919e7969d5ab9ba5a140c74579c32eb05
|
4
|
+
data.tar.gz: 7e1c6e76866a4fe3594088c7b8fcbb3d113eb18e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4df2621216ab13b93e457ce286a333a9aae48d26719c8167ad3a713ec97b8aa591b029e1af678eb33e89885737aa8dd4e81a633bcddd4fa7899426feddce4046
|
7
|
+
data.tar.gz: 559a9e1cfb52e5fdcf1aaa883d4b066cb649f1535cba4330e3793a52244b192293530d688bde44d224264ae2005c3783e627d63c8af7dcbd54afb8626bbe5d53
|
data/.ruby-version
CHANGED
data/CHANGES.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## 1.0.1 [2015-01-30]
|
4
|
+
|
5
|
+
* Simplify instructions: use ./bin/setup instead of explicit commands.
|
6
|
+
* Use ruby 2.2.0 for development.
|
7
|
+
|
8
|
+
## 1.0.0 [2014-07-01]
|
9
|
+
|
10
|
+
* 1.0 Release, because it's about time.
|
11
|
+
|
3
12
|
## 0.10.1 [2014-06-12]
|
4
13
|
|
5
14
|
* allow specifying a gitlab instance with -g
|
data/README.md
CHANGED
@@ -7,12 +7,34 @@ Rails application generator that builds a new project skeleton from prototype ap
|
|
7
7
|
|
8
8
|
`raygun-gl` generates Rails 4 projects by copying a sample app and massaging it gently into shape. It is a fork of https://github.com/carbonfive/raygun but does not supply an app prototype. Instead it allows you to use (your own) app prototype repos that are hosted either on **github** or a private **gitlab** instance. If you want to use Carbon Five's app prototype, `raygun-gl` does not provide any extra functionality over Carbon Five's original version (except for the `--embed_as` option)
|
9
9
|
|
10
|
+
Major tools/libraries:
|
11
|
+
|
12
|
+
* Rails
|
13
|
+
* PostgreSQL
|
14
|
+
* Slim
|
15
|
+
* Sass
|
16
|
+
* Bootstrap
|
17
|
+
* RSpec
|
18
|
+
* Factory Girl
|
19
|
+
* Jasmine
|
20
|
+
* SimpleCov
|
21
|
+
* Guard (rspec, jasmine, livereload)
|
22
|
+
* And many tweaks, patterns and common recipes (see [raygun-rails](https://github.com/carbonfive/raygun-rails) for all the details).
|
23
|
+
|
24
|
+
Raygun includes generator templates for controllers, views, and specs so that generated code follows best
|
25
|
+
practices. For example, view generation produces bootstrap compatible markup and rspec specs use factory
|
26
|
+
girl when appropriate.
|
27
|
+
|
28
|
+
Inspired by Xavier Shay work at Square and ThoughtBot's Suspenders. Thanks!
|
29
|
+
|
10
30
|
## Projects Goals
|
11
31
|
|
12
32
|
`raygun-gl`...
|
13
33
|
|
14
34
|
* Generates a new rails application that's ready for immediate feature development.
|
15
|
-
* Generates an application that has
|
35
|
+
* Generates an application that has best practices that apply to most projects baked in.
|
36
|
+
* Generates an application that includes specs for all built in functionality.
|
37
|
+
* Is a forum for discussing what should or should not be included as part of a standard stack.
|
16
38
|
|
17
39
|
## Installation
|
18
40
|
|
@@ -30,6 +52,20 @@ another ruby, just change the ```Gemfile``` and ```.ruby-version``` as necessary
|
|
30
52
|
$ raygun-gl your-project
|
31
53
|
|
32
54
|
## Using Project Template
|
55
|
+
Once your project is baked out, you can easily kick the wheels. Be sure that you have the prerequities
|
56
|
+
covered (see above).
|
57
|
+
|
58
|
+
$ cd your-project
|
59
|
+
$ ./bin/setup
|
60
|
+
|
61
|
+
# Run the specs, they should all pass
|
62
|
+
$ rake
|
63
|
+
|
64
|
+
# Fire up the app and open it in a browser
|
65
|
+
$ foreman start
|
66
|
+
$ open http://localhost:3000
|
67
|
+
|
68
|
+
## Using a Custom Project Template
|
33
69
|
|
34
70
|
The default is to use the project at [carbonfive/raygun-rails](https://github.com/carbonfive/raygun-rails) as a
|
35
71
|
starting point. You can use another repo as the project template with the ```-p``` and/or ```-g``` command line options.
|
data/lib/raygun/raygun.rb
CHANGED
@@ -256,13 +256,9 @@ module Raygun
|
|
256
256
|
puts ""
|
257
257
|
puts "Zap! Your application is ready. Next steps...".colorize(:yellow)
|
258
258
|
puts ""
|
259
|
-
puts "# Install updated dependencies".colorize(:light_green)
|
259
|
+
puts "# Install updated dependencies and prepare the database".colorize(:light_green)
|
260
260
|
puts "$".colorize(:blue) + " cd #{target_dir}".colorize(:light_blue)
|
261
|
-
puts "$".colorize(:blue) + "
|
262
|
-
puts "$".colorize(:blue) + " bundle".colorize(:light_blue)
|
263
|
-
puts ""
|
264
|
-
puts "# Prepare the database: schema and reference / sample data".colorize(:light_green)
|
265
|
-
puts "$".colorize(:blue) + " rake db:setup db:sample_data".colorize(:light_blue)
|
261
|
+
puts "$".colorize(:blue) + " ./bin/setup".colorize(:light_blue)
|
266
262
|
puts ""
|
267
263
|
puts "# Run the specs (they should all pass)".colorize(:light_green)
|
268
264
|
puts "$".colorize(:blue) + " rake".colorize(:light_blue)
|
data/lib/raygun/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: raygun-gl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.1b
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christian Nelson
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date:
|
14
|
+
date: 2015-05-12 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: gitlab
|
@@ -108,12 +108,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
108
108
|
version: '0'
|
109
109
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
110
110
|
requirements:
|
111
|
-
- - "
|
111
|
+
- - ">"
|
112
112
|
- !ruby/object:Gem::Version
|
113
|
-
version:
|
113
|
+
version: 1.3.1
|
114
114
|
requirements: []
|
115
115
|
rubyforge_project:
|
116
|
-
rubygems_version: 2.
|
116
|
+
rubygems_version: 2.4.4
|
117
117
|
signing_key:
|
118
118
|
specification_version: 4
|
119
119
|
summary: Generates and customizes Rails applications from prototype repos which can
|