mango 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +19 -1
- data/Gemfile.lock +1 -1
- data/README.md +28 -14
- data/lib/mango/templates/.gitignore +2 -0
- data/lib/mango/templates/Gemfile +1 -1
- data/lib/mango/version.rb +1 -1
- data/spec/lib/runner_spec.rb +3 -1
- data/spec/lib/version_spec.rb +1 -1
- metadata +2 -4
- data/spec/quality_spec.rb +0 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7685c31c936e50d362102bf920ffa7c5a05b3a22
|
4
|
+
data.tar.gz: 34a32bb487bcc39e3237bfdaa7d0b597de74ac20
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f57ed565ebea31bb9df0b4dc4c36ab4bc9c6e21fd2e5562dbde8d6538771bf98b59a17e357fe305de0c6a998a14257ce203d9fe5586a34bbc33a958774737e67
|
7
|
+
data.tar.gz: dff5211a99cd61cdbe0f0a37e7f612a71978529b5c9a5349cb7afdf2a75676df2b822edc372903afa905cca837adf4201fbfcff5779e7226e1bdbfa1f4183559
|
data/CHANGES.md
CHANGED
@@ -1,5 +1,23 @@
|
|
1
1
|
# CHANGES
|
2
2
|
|
3
|
+
## v0.7.1 / 2013-12-25
|
4
|
+
|
5
|
+
[Full changes](https://github.com/ryansobol/mango/compare/v0.7.0...v0.7.1)
|
6
|
+
|
7
|
+
### Features
|
8
|
+
|
9
|
+
* Speed up the spec suite [GH#85](https://github.com/ryansobol/mango/issues/85)
|
10
|
+
|
11
|
+
### Documentation
|
12
|
+
|
13
|
+
* Update installation instructions [GH#82](https://github.com/ryansobol/mango/issues/82)
|
14
|
+
* Update getting started instructions [GH#83](https://github.com/ryansobol/mango/issues/83)
|
15
|
+
|
16
|
+
### Integration
|
17
|
+
|
18
|
+
* Add vendor/bundle and bin directories to template .gitignore [GH#84](https://github.com/ryansobol/mango/issues/84)
|
19
|
+
|
20
|
+
|
3
21
|
## v0.7.0 / 2013-11-29
|
4
22
|
|
5
23
|
[Full changes](https://github.com/ryansobol/mango/compare/v0.6.3...v0.7.0)
|
@@ -22,7 +40,7 @@
|
|
22
40
|
Remove rack explicitly
|
23
41
|
|
24
42
|
* Add foreman ~> 0.63.0 [GH#80](https://github.com/ryansobol/mango/issues/80)
|
25
|
-
* Add puma ~> 2.6.0 [GH#
|
43
|
+
* Add puma ~> 2.6.0 [GH#81](https://github.com/ryansobol/mango/issues/81)
|
26
44
|
|
27
45
|
|
28
46
|
## v0.6.3 / 2013-11-28
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
Mango release 0.7.
|
1
|
+
Mango release 0.7.1 (2013-12-25)
|
2
2
|
================================
|
3
3
|
|
4
4
|
Copyright (c) 2013 Ryan Sobol. Licensed under the MIT license. Please see the {file:LICENSE} for more information.
|
@@ -84,7 +84,7 @@ REQUIREMENTS
|
|
84
84
|
|
85
85
|
* [Ruby](http://www.ruby-lang.org/) ~> 2.0.0
|
86
86
|
* [RubyGems](https://rubygems.org/) ~> 2.0.14 (bundled with Ruby)
|
87
|
-
* [Bundler](http://
|
87
|
+
* [Bundler](http://bundler.io/) ~> 1.3.5
|
88
88
|
* [Thor](https://github.com/wycats/thor) ~> 0.14.6
|
89
89
|
* [Sinatra](http://www.sinatrarb.com/) ~> 1.4.4
|
90
90
|
* [Haml](http://haml-lang.com/) ~> 4.0.4
|
@@ -104,7 +104,7 @@ REQUIREMENTS
|
|
104
104
|
INSTALLING
|
105
105
|
----------
|
106
106
|
|
107
|
-
### Ensuring Ruby
|
107
|
+
### Ensuring Ruby is installed
|
108
108
|
|
109
109
|
I highly recommend installing Ruby with a [version management tool](https://www.ruby-toolbox.com/categories/ruby_version_management).
|
110
110
|
|
@@ -113,21 +113,36 @@ I highly recommend installing Ruby with a [version management tool](https://www.
|
|
113
113
|
|
114
114
|
**TIP:** The revision and arch-type may differ on your machine.
|
115
115
|
|
116
|
-
###
|
116
|
+
### Ensuring Bundler is installed
|
117
117
|
|
118
|
-
|
118
|
+
I also highly recommend using [Bundler](http://bundler.io/) to install Mango and it's gem dependencies.
|
119
119
|
|
120
|
-
$
|
120
|
+
$ bundle -v
|
121
|
+
Bundler version 1.3.5
|
121
122
|
|
122
|
-
###
|
123
|
+
### Creating a new app
|
123
124
|
|
124
|
-
|
125
|
+
First, create a new directory for your app.
|
126
|
+
|
127
|
+
$ mkdir app-name
|
128
|
+
$ cd app-name
|
129
|
+
|
130
|
+
Then, create a `Gemfile` wit the following contents:
|
125
131
|
|
126
|
-
$ cd /path/to/your/app
|
127
|
-
$ cat Gemfile
|
128
132
|
source "http://rubygems.org"
|
129
133
|
ruby "2.0.0"
|
130
|
-
gem "mango", "~> 0.7.
|
134
|
+
gem "mango", "~> 0.7.1"
|
135
|
+
|
136
|
+
### Installing the Mango gem
|
137
|
+
|
138
|
+
I recommend installing Mango, and all its necessary components, inside your app's directory.
|
139
|
+
|
140
|
+
$ bundle install --path vendor/bundler --binstubs
|
141
|
+
|
142
|
+
### Upgrading a Mango website
|
143
|
+
|
144
|
+
Simply edit the Mango version in your website's `Gemfile` and re-install.
|
145
|
+
|
131
146
|
$ bundle install
|
132
147
|
|
133
148
|
GETTING STARTED
|
@@ -137,14 +152,13 @@ GETTING STARTED
|
|
137
152
|
|
138
153
|
With Mango installed, the `mango` command will generate a new website.
|
139
154
|
|
140
|
-
$ mango create
|
155
|
+
$ mango create .
|
141
156
|
|
142
157
|
### Starting a webserver
|
143
158
|
|
144
159
|
The `foreman start` command will start a Puma webserver listening at `http://0.0.0.0:5000`.
|
145
160
|
|
146
|
-
$
|
147
|
-
$ foreman start
|
161
|
+
$ bin/foreman start
|
148
162
|
16:32:20 web.1 | started with pid 7796
|
149
163
|
16:32:21 web.1 | Puma starting in single mode...
|
150
164
|
16:32:21 web.1 | * Version 2.6.0, codename: Pantsuit Party
|
data/lib/mango/templates/Gemfile
CHANGED
data/lib/mango/version.rb
CHANGED
data/spec/lib/runner_spec.rb
CHANGED
@@ -61,6 +61,8 @@ describe Mango::Runner do
|
|
61
61
|
.DS_Store
|
62
62
|
.bundle
|
63
63
|
.sass-cache
|
64
|
+
bin
|
65
|
+
vendor/bundle
|
64
66
|
EOS
|
65
67
|
end
|
66
68
|
|
@@ -79,7 +81,7 @@ run Mango::Application
|
|
79
81
|
File.read(expected).should == <<-EOS
|
80
82
|
source "http://rubygems.org"
|
81
83
|
ruby "2.0.0"
|
82
|
-
gem "mango", "~> 0.7.
|
84
|
+
gem "mango", "~> 0.7.1"
|
83
85
|
EOS
|
84
86
|
end
|
85
87
|
|
data/spec/lib/version_spec.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mango
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Sobol
|
8
8
|
autorequire:
|
9
9
|
bindir: exec
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-12-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -323,7 +323,6 @@ files:
|
|
323
323
|
- spec/lib/flavored_markdown_spec.rb
|
324
324
|
- spec/lib/runner_spec.rb
|
325
325
|
- spec/lib/version_spec.rb
|
326
|
-
- spec/quality_spec.rb
|
327
326
|
- spec/spec_helper.rb
|
328
327
|
- vendor/bundler/ruby/2.0.0/bin/autospec
|
329
328
|
- vendor/bundler/ruby/2.0.0/bin/bluecloth
|
@@ -2855,6 +2854,5 @@ test_files:
|
|
2855
2854
|
- spec/lib/flavored_markdown_spec.rb
|
2856
2855
|
- spec/lib/runner_spec.rb
|
2857
2856
|
- spec/lib/version_spec.rb
|
2858
|
-
- spec/quality_spec.rb
|
2859
2857
|
- spec/spec_helper.rb
|
2860
2858
|
has_rdoc:
|
data/spec/quality_spec.rb
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
require "spec_helper"
|
2
|
-
|
3
|
-
describe "This project's" do
|
4
|
-
|
5
|
-
#################################################################################################
|
6
|
-
|
7
|
-
describe Gem::Specification do
|
8
|
-
it "builds a .gem successfully" do
|
9
|
-
Dir.chdir(PROJECT_ROOT) do
|
10
|
-
`gem build mango.gemspec`
|
11
|
-
$?.should == 0
|
12
|
-
`rm mango-#{Mango::VERSION}.gem`
|
13
|
-
end
|
14
|
-
end
|
15
|
-
end
|
16
|
-
|
17
|
-
end
|