omeka-recipes 0.2.0 → 0.2.1

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.
data/README.md CHANGED
@@ -46,7 +46,6 @@ folder in the command line and enter the `capify` command:
46
46
 
47
47
  ```bash
48
48
  $ capify .
49
- $ cap multistage:prepare
50
49
  ```
51
50
 
52
51
  ### Configuration
@@ -56,8 +55,13 @@ Inside a newly created `config/deploy.rb` file, add this:
56
55
  ```ruby
57
56
  require 'capistrano/ext/multistage'
58
57
 
59
- # This should go at the end of the deploy.rb file
60
- require 'capistrano_omeka'
58
+ require 'omeka-recipes'
59
+ ```
60
+
61
+ Now set up capistrano to do multistage
62
+
63
+ ```bash
64
+ cap multistage:prepare
61
65
  ```
62
66
 
63
67
  ### Plugins
@@ -65,7 +69,7 @@ Plugins are defined in the `plugins` hash, giving a plugin name, and it's
65
69
  `git` repo. Be sure to use a **read-only** version.
66
70
 
67
71
  ```ruby
68
- plugins = {
72
+ set :plugins, {
69
73
  'Neatline' => 'git://github.com/scholarslab/Neatline.git',
70
74
  'NeatlineMaps' => 'git://github.com/scholarslab/NeatlineMaps.git',
71
75
  'CsvImport' => 'git://github.com/omeka/plugin-CsvImport.git',
@@ -79,8 +83,8 @@ Themes are defined in the `themes` hash, passing a theme name and it's
79
83
  `git` repository.
80
84
 
81
85
  ```ruby
82
- themes = {
83
- 'neatline' => 'git://github.com/scholarslab/neatlinetheme.git'
86
+ set :themes, {
87
+ 'neatline' => 'git://github.com/scholarslab/neatlinetheme.git',
84
88
  'emiglio' => 'git://github.com/omeka/theme-emiglio.git'
85
89
  }
86
90
  ```
@@ -102,7 +106,7 @@ set :scm, :git
102
106
 
103
107
  set :branch, 'stable-1.5'
104
108
 
105
- plugins = {
109
+ set :plugins, {
106
110
  'Neatline' => 'git://github.com/scholarslab/Neatline.git',
107
111
  'NeatlineFeatures' => 'git://github.com/scholarslab/NeatlineFeatures.git',
108
112
  'NeatlineMaps' => 'git://github.com/scholarslab/NeatlineMaps.git',
@@ -110,7 +114,7 @@ plugins = {
110
114
  'SolrSearch' => 'git://github.com/scholarslab/SolrSearch.git',
111
115
  }
112
116
 
113
- themes = {
117
+ set :themes, {
114
118
  'mcos-omeka-theme' => 'git://github.com/scholarslab/mcos-omeka-theme.git'
115
119
  }
116
120
 
@@ -154,4 +158,9 @@ See the [LICENSE](https://github.com/waynegraham/omeka-recipes/blob/master/LICEN
154
158
  2. Create your feature branch (`git checkout -b my-new-feature`)
155
159
  3. Commit your changes (`git commit -am 'Added some feature'`)
156
160
  4. Push to the branch (`git push origin my-new-feature`)
157
- 5. Create new Pull Request
161
+ 5. Create a new Pull Request
162
+
163
+ ## Contributors
164
+
165
+ * Jeremy Boggs ([clioweb](clioweb))
166
+ * Wayne Graham ([waynegraham](https://github.com/waynegraham))
@@ -10,41 +10,41 @@ Capistrano::Configuration.instance.load do
10
10
  end
11
11
 
12
12
  namespace :omeka do
13
- desc 'Ensure the archive directory has write permissions'
13
+ desc '|OmekaRecipes| Ensure the archive directory has write permissions'
14
14
  task :fix_archive_permissions do
15
15
  # This _should_ actually change the permissions of the archive directory to
16
16
  # be the owner of process running httpd/apache2 daemon.
17
17
  run "chmod -R 777 #{current_path}/archive"
18
18
  end
19
19
 
20
- desc 'Rename files'
20
+ desc '|OmekaRecipes| Rename files'
21
21
  # Omeka stages these files in its repo
22
22
  task :rename_files do
23
23
  run "cd #{current_path} && mv .htaccess.changeme .htaccess"
24
24
  run "cd #{current_path}/application/config && mv config.ini.changeme config.ini"
25
25
  end
26
26
 
27
- desc 'Move the archive directory out of the way'
27
+ desc '|OmekaRecipes| Move the archive directory out of the way'
28
28
  task :move_archive_dir do
29
29
  run "mv #{current_path}/archive #{current_path}/archive_deleteme"
30
30
  end
31
31
 
32
- desc 'Link the archive directoy for the project'
32
+ desc '|OmekaRecipes| Link the archive directoy for the project'
33
33
  task :link_archive_dir, :except => {:no_release => true} do
34
34
  run "cd #{current_path} && ln -snf #{shared_path}/archive"
35
35
  end
36
36
 
37
- desc 'Add the db.ini to the shared directory'
37
+ desc '|OmekaRecipes| Add the db.ini to the shared directory'
38
38
  task :db_ini do
39
39
  run "touch #{shared_path}/db.ini"
40
40
  end
41
41
 
42
- desc 'Deploy the plugins defined in the plugins hash'
42
+ desc '|OmekaRecipes| Deploy the plugins defined in the plugins hash'
43
43
  task :get_plugins do
44
44
  git_clone(plugins, 'plugins')
45
45
  end
46
46
 
47
- desc 'Deploy the themes defined in the themes hash'
47
+ desc '|OmekaRecipes| Deploy the themes defined in the themes hash'
48
48
  task :get_themes do
49
49
  git_clone(themes, 'themes')
50
50
  end
@@ -1,5 +1,5 @@
1
1
  module Omeka
2
2
  module Recipes
3
- VERSION = "0.2.0"
3
+ RECIPES_VERSION = "0.2.1"
4
4
  end
5
5
  end
@@ -13,7 +13,7 @@ Gem::Specification.new do |gem|
13
13
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
14
14
  gem.name = "omeka-recipes"
15
15
  gem.require_paths = ["lib"]
16
- gem.version = Omeka::Recipes::VERSION
16
+ gem.version = Omeka::Recipes::RECIPES_VERSION
17
17
 
18
18
  gem.extra_rdoc_files = %w(LICENSE README.md)
19
19
 
@@ -21,4 +21,5 @@ Gem::Specification.new do |gem|
21
21
  gem.add_dependency "capistrano-ext", ">= 1.2.1"
22
22
  gem.add_dependency "capistrano-multistage", "~> 0.0.4"
23
23
  gem.add_dependency "capistrano-php", "~> 1.0.0"
24
+ gem.add_dependency "inifile", "~> 2.0.2"
24
25
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omeka-recipes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
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-09-17 00:00:00.000000000 Z
12
+ date: 2012-09-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capistrano
@@ -75,6 +75,22 @@ dependencies:
75
75
  - - ~>
76
76
  - !ruby/object:Gem::Version
77
77
  version: 1.0.0
78
+ - !ruby/object:Gem::Dependency
79
+ name: inifile
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ~>
84
+ - !ruby/object:Gem::Version
85
+ version: 2.0.2
86
+ type: :runtime
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ~>
92
+ - !ruby/object:Gem::Version
93
+ version: 2.0.2
78
94
  description: Capistrano recipes for Omeka
79
95
  email:
80
96
  - wayne.graham@virginia.edu
@@ -114,7 +130,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
114
130
  version: '0'
115
131
  segments:
116
132
  - 0
117
- hash: -810689480567202438
133
+ hash: 2626221885588276034
118
134
  required_rubygems_version: !ruby/object:Gem::Requirement
119
135
  none: false
120
136
  requirements:
@@ -123,7 +139,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
123
139
  version: '0'
124
140
  segments:
125
141
  - 0
126
- hash: -810689480567202438
142
+ hash: 2626221885588276034
127
143
  requirements: []
128
144
  rubyforge_project:
129
145
  rubygems_version: 1.8.24