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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 11053ef109e54b908cec936888446d488f85a824
4
- data.tar.gz: 5652f12e9fe7c212f92d652c287ea4defff195aa
3
+ metadata.gz: 7685c31c936e50d362102bf920ffa7c5a05b3a22
4
+ data.tar.gz: 34a32bb487bcc39e3237bfdaa7d0b597de74ac20
5
5
  SHA512:
6
- metadata.gz: 7944ab2d50f404c767f9e197dfc034336a4fb4ac4461fb7d391be89a54ccc5f46f90d97403cd039470825ae8d42ab809b06c23f235f52210e0bc8c85f68e92f7
7
- data.tar.gz: 30d59d826d5049819d950a07feac249c856003d282cfcb01a0252038b262dc411a0f10286bd6c3c1d2ff1f5557f57793ae9f754d3ea4e5a23d7f0cfaba5bc608
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#80](https://github.com/ryansobol/mango/issues/81)
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
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mango (0.7.0)
4
+ mango (0.7.1)
5
5
  bluecloth (~> 2.1.0)
6
6
  bundler (~> 1.3.5)
7
7
  coffee-script (~> 2.2.0)
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- Mango release 0.7.0 (2013-11-29)
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://gembundler.com/) ~> 1.3.5
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 2.0.0 is installed and active
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
- ### Installing the Mango gem
116
+ ### Ensuring Bundler is installed
117
117
 
118
- Mango, and all its necessary components, are packaged as RubyGems for easy distribution.
118
+ I also highly recommend using [Bundler](http://bundler.io/) to install Mango and it's gem dependencies.
119
119
 
120
- $ gem install mango
120
+ $ bundle -v
121
+ Bundler version 1.3.5
121
122
 
122
- ### Upgrading a Mango website
123
+ ### Creating a new app
123
124
 
124
- Simply edit the gem version in your website's `Gemfile` and re-install with [Bundler](http://gembundler.com/).
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.0"
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 /path/to/your/app
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
- $ cd /path/to/your/app
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
@@ -1,3 +1,5 @@
1
1
  .DS_Store
2
2
  .bundle
3
3
  .sass-cache
4
+ bin
5
+ vendor/bundle
@@ -1,3 +1,3 @@
1
1
  source "http://rubygems.org"
2
2
  ruby "2.0.0"
3
- gem "mango", "~> 0.7.0"
3
+ gem "mango", "~> 0.7.1"
data/lib/mango/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Mango
2
2
  # Current stable released version
3
- VERSION = "0.7.0"
3
+ VERSION = "0.7.1"
4
4
  end
@@ -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.0"
84
+ gem "mango", "~> 0.7.1"
83
85
  EOS
84
86
  end
85
87
 
@@ -3,7 +3,7 @@ require "spec_helper"
3
3
  describe Mango do
4
4
  describe "version synchronizing" do
5
5
  before(:all) do
6
- @expected = "0.7.0"
6
+ @expected = "0.7.1"
7
7
  end
8
8
 
9
9
  it "is correct for Mango::VERSION" do
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.0
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-29 00:00:00.000000000 Z
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