spring 0.9.2 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +5 -4
- data/lib/spring/version.rb +1 -1
- data/spring.gemspec +1 -0
- data/test/acceptance/app_test.rb +8 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ab103d29ee132ac8637c7ddca8d5c41fc567c31e
|
4
|
+
data.tar.gz: 88e600c6e1d59b4150625769f20f6d543958087c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b4d762562b8d4c1832bcec43819b6bcc6d9168473095fac089a743c0c421d4450f77e7c0a3cf31902256ed42a3d0fa57e7767cd4a0cf9d0bd55dc24c758f460
|
7
|
+
data.tar.gz: 9c929b2636980dc30486f475caeacb1f3de296420c22e9f0a52c67ce732a8953e28f1b090258a18456d210ce217610e8e4df8ffeb7a1a8ebd0e2b546554235ec
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -162,7 +162,7 @@ Custom commands can be specified in the Spring config file. See
|
|
162
162
|
[`lib/spring/commands/`](https://github.com/jonleighton/spring/blob/master/lib/spring/commands/)
|
163
163
|
for examples.
|
164
164
|
|
165
|
-
You can
|
165
|
+
You can add the following gems to your Gemfile for additional commands:
|
166
166
|
|
167
167
|
* [spring-commands-rspec](https://github.com/jonleighton/spring-commands-rspec)
|
168
168
|
* [spring-commands-cucumber](https://github.com/jonleighton/spring-commands-cucumber)
|
@@ -198,9 +198,10 @@ speed-up).
|
|
198
198
|
|
199
199
|
Spring will read `~/.spring.rb` and `config/spring.rb` for custom
|
200
200
|
settings. Note that `~/.spring.rb` is loaded *before* bundler, but
|
201
|
-
`config/spring.rb` is loaded *after* bundler.
|
202
|
-
|
203
|
-
to be
|
201
|
+
`config/spring.rb` is loaded *after* bundler. So if you have any
|
202
|
+
`spring-commands-*` gems installed that you want to be available in all
|
203
|
+
projects without having to be added to the project's Gemfile, require
|
204
|
+
them in your `~/.spring.rb`.
|
204
205
|
|
205
206
|
### Application root
|
206
207
|
|
data/lib/spring/version.rb
CHANGED
data/spring.gemspec
CHANGED
@@ -11,6 +11,7 @@ Gem::Specification.new do |gem|
|
|
11
11
|
gem.description = %q{Rails application preloader}
|
12
12
|
gem.summary = %q{Rails application preloader}
|
13
13
|
gem.homepage = "http://github.com/jonleighton/spring"
|
14
|
+
gem.license = "MIT"
|
14
15
|
|
15
16
|
gem.files = `git ls-files`.split($/)
|
16
17
|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
data/test/acceptance/app_test.rb
CHANGED
@@ -179,8 +179,10 @@ class AppTest < ActiveSupport::TestCase
|
|
179
179
|
|
180
180
|
def generate_app
|
181
181
|
Bundler.with_clean_env do
|
182
|
+
# Sporadic SSL errors keep causing test failures so there are anti-SSL workarounds here
|
183
|
+
|
182
184
|
assert system("(gem list rails --installed --version '#{rails_version}' || " \
|
183
|
-
"gem install rails --version '#{rails_version}') > /dev/null")
|
185
|
+
"gem install rails --clear-sources --source http://rubygems.org --version '#{rails_version}') > /dev/null")
|
184
186
|
|
185
187
|
# Have to shell out otherwise bundler prevents us finding the gem
|
186
188
|
version = `ruby -e 'puts Gem::Specification.find_by_name("rails", "#{rails_version}").version'`.chomp
|
@@ -197,6 +199,11 @@ class AppTest < ActiveSupport::TestCase
|
|
197
199
|
File.read("#{app_root}/Gemfile") + "gem 'spring-commands-testunit'\n"
|
198
200
|
)
|
199
201
|
end
|
202
|
+
|
203
|
+
File.write(
|
204
|
+
"#{app_root}/Gemfile",
|
205
|
+
File.read("#{app_root}/Gemfile").sub("https://rubygems.org", "http://rubygems.org")
|
206
|
+
)
|
200
207
|
end
|
201
208
|
end
|
202
209
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spring
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jon Leighton
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-11-
|
11
|
+
date: 2013-11-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -88,7 +88,8 @@ files:
|
|
88
88
|
- test/unit/process_title_updater_test.rb
|
89
89
|
- test/unit/watcher_test.rb
|
90
90
|
homepage: http://github.com/jonleighton/spring
|
91
|
-
licenses:
|
91
|
+
licenses:
|
92
|
+
- MIT
|
92
93
|
metadata: {}
|
93
94
|
post_install_message:
|
94
95
|
rdoc_options: []
|