caboose-cms 0.2.71 → 0.2.78

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YjZiMGI3ZWI5NTY4YTBkNDA2NjlhMjVlM2E5YjUzODVkYWNhY2NhNg==
4
+ NWY2MmY1YzRiZTQ3ZGYxM2ZkZDBiMTI4NTVmY2Q3YjM1NzU2M2Q3YQ==
5
5
  data.tar.gz: !binary |-
6
- YjZlZmM5YWY2NWMxNjNlNDlhNGZiNzYwNDQ2ZWQ1OTg5ZmE4OTQyMA==
6
+ MTQ1NTYxOGNkNjk0ZDFhZjI5NmU2ZDliMTIwZGFjNjFmNmU2ZGE2ZA==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- ZmRiN2VkMDRhMWNhNWU3Mzg4YTY5YzZlZGE2ZmMyNTU2MGU2NTg2NDMxOTEw
10
- NjliYTU2ZTBmNzlhOTA0MDc0MzQ1MGQyZDg3MDFhYzRhYjUxY2MxZWRjYTFj
11
- ZmM2ZDczZDJiNmUxOGRiMzJjNDUzMzNkN2U3NjZmZTJkZDYwMzU=
9
+ MzIzNGMyMjM5MGQ0YjFhZjIzNmJkYWEyNzU1N2JkYmJjODNlYmQ0NGJiZDYz
10
+ YTc3M2NlNjE3NjY3YzA5MTY2ZDFmZGMzMzcwYTgyODAxZjk0YzMzYWZlMzNh
11
+ ZDUwMmNlNThmYTYwZGNmYzJhZjkwZDhkODE0YmIwOTI5MDhlZDA=
12
12
  data.tar.gz: !binary |-
13
- NjJkYzUxYmNhZGFmMjMxYjA3MmE5YTBkMzliNWNmYmY3MGVlZDY0YzdlYmJl
14
- MzBlNjc0NTJkN2VkOWRkM2FhYWFjYjBlMGUzZDgyMDg4M2NiNzU5NGYwZmNh
15
- ZTU4NDI4NTQ0ZmM1YmEwNGQ2ODZhOGM3ZDU0MWI4MTliYmVlOWY=
13
+ YzNkYTFjNTRmNDk5Yjk5MDZhNmQyNTVkMjZhZmFkNTk2MDFiNDA3MGZjZGRi
14
+ NTE4ZGU5Y2JjNmNjMjgwNGUwNDY5NGUyYWM3YzcyODYzNTQ2MDAyNGMzMTY2
15
+ NWQ0YTQ2NTlkODRjOWRiMmE1NzdmNzdhN2QwMmI1ZjRlZGMyYjg=
@@ -22,7 +22,7 @@ BoundSelect = BoundControl.extend({
22
22
  .css('position', 'relative')
23
23
  );
24
24
  $('#'+this.el+'_container').empty();
25
- if (this.attribute.fixed_placeholder)
25
+ if (this.attribute.fixed_placeholder == true)
26
26
  {
27
27
  $('#'+this.el+'_container').append($('<div/>')
28
28
  .attr('id', this.placeholder)
@@ -63,6 +63,15 @@ when 'init'
63
63
 
64
64
  helper = CabooseHelper.new(path, opts.force)
65
65
  helper.init_all
66
+
67
+ when 'pg_restore'
68
+
69
+ puts "\nTo what database do you want to restore?"
70
+ db = gets.chomp
71
+ puts "\nWhere's the dump file?"
72
+ dump_file = gets.chomp
73
+ puts "\nRunning pg_restore...\n"
74
+ `pg_restore --verbose --clean --no-acl --no-owner -h localhost -d #{db} #{dump_file}`
66
75
 
67
76
  else
68
77
  end
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.2.71'
2
+ VERSION = '0.2.78'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caboose-cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.71
4
+ version: 0.2.78
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-10-17 00:00:00.000000000 Z
11
+ date: 2013-10-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ~>
18
18
  - !ruby/object:Gem::Version
19
- version: 3.2.12
19
+ version: 3.2.13
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ~>
25
25
  - !ruby/object:Gem::Version
26
- version: 3.2.12
26
+ version: 3.2.13
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: jquery-rails
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -52,20 +52,6 @@ dependencies:
52
52
  - - ! '>='
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
- - !ruby/object:Gem::Dependency
56
- name: activesupport
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - ! '>='
60
- - !ruby/object:Gem::Version
61
- version: '0'
62
- type: :runtime
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - ! '>='
67
- - !ruby/object:Gem::Version
68
- version: '0'
69
55
  - !ruby/object:Gem::Dependency
70
56
  name: tinymce-rails
71
57
  requirement: !ruby/object:Gem::Requirement