picky-generators 3.0.0.pre4 → 3.0.0.pre5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/picky-generators/generators/all_in_one/sinatra.rb +2 -1
- data/prototypes/all_in_one/sinatra/Gemfile +3 -3
- data/prototypes/all_in_one/sinatra/app.rb +1 -1
- data/prototypes/client/sinatra/Gemfile +1 -1
- data/prototypes/server/classic/Gemfile +2 -2
- data/prototypes/server/sinatra/Gemfile +2 -2
- metadata +3 -3
@@ -29,7 +29,8 @@ module Picky
|
|
29
29
|
exclaim "2. bundle install"
|
30
30
|
exclaim "3. rake index"
|
31
31
|
exclaim "4. unicorn -c unicorn.rb"
|
32
|
-
exclaim "5.
|
32
|
+
exclaim "5. open http://localhost:8080/"
|
33
|
+
exclaim "6. rake todo # (optional) shows you where Picky needs input from you"
|
33
34
|
exclaim " # if you want to define your own search."
|
34
35
|
end
|
35
36
|
|
@@ -5,7 +5,7 @@ source :gemcutter
|
|
5
5
|
|
6
6
|
# Gems required by the Picky client.
|
7
7
|
#
|
8
|
-
gem 'picky-client', '3.0.0.
|
8
|
+
gem 'picky-client', '3.0.0.pre5' # '~> 3.0'
|
9
9
|
gem 'i18n'
|
10
10
|
gem 'activesupport', :require => 'active_support/core_ext'
|
11
11
|
gem 'sinatra'
|
@@ -13,7 +13,7 @@ gem 'haml'
|
|
13
13
|
|
14
14
|
# Gems required by the Picky server.
|
15
15
|
#
|
16
|
-
gem 'picky', '3.0.0.
|
16
|
+
gem 'picky', '3.0.0.pre5' # '~> 3.0'
|
17
17
|
gem 'rake'
|
18
18
|
gem 'rack'
|
19
19
|
gem 'rack_fast_escape', '2009.06.24' # Optional.
|
@@ -29,6 +29,6 @@ gem 'activerecord', '~> 3.0', :require => 'active_record'
|
|
29
29
|
gem 'unicorn'
|
30
30
|
|
31
31
|
group :test do
|
32
|
-
gem 'picky-client', '3.0.0.
|
32
|
+
gem 'picky-client', '3.0.0.pre5'
|
33
33
|
gem 'rspec'
|
34
34
|
end
|
@@ -73,7 +73,7 @@ class BookSearch < Sinatra::Application
|
|
73
73
|
get '/search/full' do
|
74
74
|
results = books.search params[:query], params[:ids] || 20, params[:offset] || 0
|
75
75
|
AppLogger.info results.to_log(params[:query])
|
76
|
-
results = results.
|
76
|
+
results = results.to_hash
|
77
77
|
results.extend Picky::Convenience
|
78
78
|
results.populate_with Book do |book|
|
79
79
|
book.render
|
@@ -2,7 +2,7 @@ source :gemcutter
|
|
2
2
|
|
3
3
|
# Gems required by Picky.
|
4
4
|
#
|
5
|
-
gem 'picky', '3.0.0.
|
5
|
+
gem 'picky', '3.0.0.pre5' # '~> 3.0'
|
6
6
|
gem 'rake'
|
7
7
|
gem 'rack'
|
8
8
|
gem 'rack-mount'
|
@@ -22,6 +22,6 @@ gem 'mysql' # Project specific.
|
|
22
22
|
gem 'redis' # Project specific.
|
23
23
|
|
24
24
|
group :test do
|
25
|
-
gem 'picky-client', '3.0.0.
|
25
|
+
gem 'picky-client', '3.0.0.pre5'
|
26
26
|
gem 'rspec'
|
27
27
|
end
|
@@ -2,7 +2,7 @@ source :gemcutter
|
|
2
2
|
|
3
3
|
# Gems required by Picky.
|
4
4
|
#
|
5
|
-
gem 'picky', '3.0.0.
|
5
|
+
gem 'picky', '3.0.0.pre5' # '~> 3.0'
|
6
6
|
gem 'rake'
|
7
7
|
gem 'rack'
|
8
8
|
gem 'rack_fast_escape', '2009.06.24' # Optional.
|
@@ -22,6 +22,6 @@ gem 'mysql' # Project specific.
|
|
22
22
|
gem 'redis' # Project specific.
|
23
23
|
|
24
24
|
group :test do
|
25
|
-
gem 'picky-client', '3.0.0.
|
25
|
+
gem 'picky-client', '3.0.0.pre5'
|
26
26
|
gem 'rspec'
|
27
27
|
end
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: picky-generators
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease: 6
|
5
|
-
version: 3.0.0.
|
5
|
+
version: 3.0.0.pre5
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Florian Hanke
|
@@ -32,7 +32,7 @@ dependencies:
|
|
32
32
|
requirements:
|
33
33
|
- - ~>
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: 3.0.0.
|
35
|
+
version: 3.0.0.pre5
|
36
36
|
type: :runtime
|
37
37
|
version_requirements: *id002
|
38
38
|
- !ruby/object:Gem::Dependency
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
requirements:
|
44
44
|
- - ~>
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: 3.0.0.
|
46
|
+
version: 3.0.0.pre5
|
47
47
|
type: :runtime
|
48
48
|
version_requirements: *id003
|
49
49
|
description: Generators for Picky.
|