picky-generators 4.11.2 → 4.11.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -23,6 +23,7 @@ module Picky
23
23
  copy_all_files
24
24
  copy_all_files expand_prototype_path('shared/server')
25
25
  copy_all_files expand_prototype_path('shared/both')
26
+ copy_all_files expand_prototype_path('shared/client')
26
27
  exclaim "\"#{name}\" is a great project name! Have fun :)\n"
27
28
  exclaim ""
28
29
  exclaim "Next steps:"
@@ -22,6 +22,7 @@ module Picky
22
22
  create_target_directory
23
23
  copy_all_files
24
24
  copy_all_files expand_prototype_path('shared/both')
25
+ copy_all_files expand_prototype_path('shared/client')
25
26
  exclaim "\"#{name}\" is a great project name! Have fun :)\n"
26
27
  exclaim ""
27
28
  exclaim "Next steps:"
@@ -13,7 +13,7 @@ set :haml, { :format => :html5 }
13
13
  BooksSearch = Picky::Client.new :host => 'localhost', :port => 8080, :path => '/books'
14
14
 
15
15
  set :static, true
16
- set :public, File.dirname(__FILE__)
16
+ set :public_folder, File.dirname(__FILE__)
17
17
  set :views, File.expand_path('views', File.dirname(__FILE__))
18
18
 
19
19
  # Root, the search interface.
File without changes
@@ -25,7 +25,7 @@ describe Picky::Generators::Client::Sinatra do
25
25
  it "should do things in order" do
26
26
  @sinatra.should_receive(:exclaim).twice.ordered # Initial explanation
27
27
  @sinatra.should_receive(:create_target_directory).once.ordered
28
- @sinatra.should_receive(:copy_all_files).twice.ordered
28
+ @sinatra.should_receive(:copy_all_files).exactly(3).times.ordered
29
29
  @sinatra.should_receive(:exclaim).at_least(7).times.ordered # Some user steps to do
30
30
 
31
31
  @sinatra.generate
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: picky-generators
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.11.2
4
+ version: 4.11.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-06 00:00:00.000000000 Z
12
+ date: 2012-11-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
@@ -34,7 +34,7 @@ dependencies:
34
34
  requirements:
35
35
  - - ~>
36
36
  - !ruby/object:Gem::Version
37
- version: 4.11.2
37
+ version: 4.11.3
38
38
  type: :runtime
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
@@ -42,7 +42,7 @@ dependencies:
42
42
  requirements:
43
43
  - - ~>
44
44
  - !ruby/object:Gem::Version
45
- version: 4.11.2
45
+ version: 4.11.3
46
46
  - !ruby/object:Gem::Dependency
47
47
  name: picky-client
48
48
  requirement: !ruby/object:Gem::Requirement
@@ -50,7 +50,7 @@ dependencies:
50
50
  requirements:
51
51
  - - ~>
52
52
  - !ruby/object:Gem::Version
53
- version: 4.11.2
53
+ version: 4.11.3
54
54
  type: :runtime
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
@@ -58,7 +58,7 @@ dependencies:
58
58
  requirements:
59
59
  - - ~>
60
60
  - !ruby/object:Gem::Version
61
- version: 4.11.2
61
+ version: 4.11.3
62
62
  description: Generators for Picky.
63
63
  email: florian.hanke+picky-generators@gmail.com
64
64
  executables:
@@ -108,10 +108,10 @@ files:
108
108
  - prototypes/server/sinatra/log/README
109
109
  - prototypes/server/sinatra/Rakefile
110
110
  - prototypes/server/sinatra/spec/integration_spec.rb
111
- - prototypes/shared/both/book.rb
112
111
  - prototypes/shared/both/data/development/library.csv
113
112
  - prototypes/shared/both/data/production/library.csv
114
113
  - prototypes/shared/both/data/test/library.csv
114
+ - prototypes/shared/client/book.rb
115
115
  - prototypes/shared/server/config.ru
116
116
  - prototypes/shared/server/logging.rb
117
117
  - prototypes/shared/server/spec/spec_helper.rb