scaffold_logic 1.7.3 → 1.7.4

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/VERSION CHANGED
@@ -1 +1 @@
1
- 1.7.3
1
+ 1.7.4
@@ -1,4 +1,4 @@
1
- require File.dirname(__FILE__) + '/../spec_helper'
1
+ require 'spec_helper'
2
2
 
3
3
  describe <%= plural_class_name %>Controller do
4
4
  before :each do
@@ -1,4 +1,4 @@
1
- require File.dirname(__FILE__) + '/../spec_helper'
1
+ require 'spec_helper'
2
2
 
3
3
  describe <%= class_name %> do
4
4
  it 'should have specs'
@@ -66,7 +66,7 @@ module ScaffoldLogic
66
66
  private
67
67
 
68
68
  def initialize_fields!
69
- @fields = @row.map{ |f| f && f.strip.downcase.to_sym }
69
+ @fields = @row.map{ |f| f && f.strip.downcase.gsub(' ', '_').to_sym }
70
70
  @fields_initialized = true
71
71
  end
72
72
 
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "scaffold_logic"
8
- s.version = "1.7.3"
8
+ s.version = "1.7.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Corey Ehmke"]
12
- s.date = "2011-10-28"
12
+ s.date = "2011-12-01"
13
13
  s.description = "Scaffold and UI generator for SEO Logic applications."
14
14
  s.email = "corey@seologic.com"
15
15
  s.extra_rdoc_files = [
@@ -17,11 +17,9 @@ Gem::Specification.new do |s|
17
17
  ]
18
18
  s.files = [
19
19
  ".document",
20
- "Capfile",
21
20
  "README.rdoc",
22
21
  "Rakefile",
23
22
  "VERSION",
24
- "config/deploy.rb",
25
23
  "lib/generators/scaffold_logic/layout/USAGE",
26
24
  "lib/generators/scaffold_logic/layout/layout_generator.rb",
27
25
  "lib/generators/scaffold_logic/layout/templates/_nav_tabs.html.erb",
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scaffold_logic
3
3
  version: !ruby/object:Gem::Version
4
- hash: 13
4
+ hash: 3
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 7
9
- - 3
10
- version: 1.7.3
9
+ - 4
10
+ version: 1.7.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Corey Ehmke
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-10-28 00:00:00 Z
18
+ date: 2011-12-01 00:00:00 Z
19
19
  dependencies: []
20
20
 
21
21
  description: Scaffold and UI generator for SEO Logic applications.
@@ -28,11 +28,9 @@ extra_rdoc_files:
28
28
  - README.rdoc
29
29
  files:
30
30
  - .document
31
- - Capfile
32
31
  - README.rdoc
33
32
  - Rakefile
34
33
  - VERSION
35
- - config/deploy.rb
36
34
  - lib/generators/scaffold_logic/layout/USAGE
37
35
  - lib/generators/scaffold_logic/layout/layout_generator.rb
38
36
  - lib/generators/scaffold_logic/layout/templates/_nav_tabs.html.erb
data/Capfile DELETED
@@ -1,4 +0,0 @@
1
- load 'deploy' if respond_to?(:namespace) # cap2 differentiator
2
- Dir['vendor/plugins/*/recipes/*.rb'].each { |plugin| load(plugin) }
3
-
4
- load 'config/deploy' # remove this line to skip loading any of the default tasks
data/config/deploy.rb DELETED
@@ -1,41 +0,0 @@
1
- # Deploy this gem to the gem server.
2
- #
3
- # Usage for a gem already on the gem server:
4
- #
5
- # cap deploy
6
- #
7
- # For a new gem:
8
- #
9
- # cap deploy:new
10
-
11
- # Global Variables =================================================================================
12
-
13
- default_run_options[:pty] = true
14
- role :app, 'jose.seologic.com'
15
- set :deploy_to, '/home/containers/rails/system/scaffold_logic'
16
- set :repository, 'git@github.com:ivanoblomov/scaffold_logic.git'
17
- set :scm, :git
18
- set :use_sudo, false
19
- set :user, 'cnewton'
20
-
21
- namespace :deploy do
22
- desc "Clone a new gem's repository on the gem server."
23
- task :new do
24
- run "git clone -q #{repository} #{deploy_to}"
25
- end
26
-
27
- task :install do
28
- run "cd #{deploy_to}; sudo rake install"
29
- end
30
-
31
- # disable default behavior
32
- task :restart do
33
- end
34
-
35
- task :update do
36
- run "cd #{deploy_to}; git pull"
37
- end
38
- end
39
-
40
- after 'deploy', 'deploy:install'
41
- after 'deploy:new', 'deploy:install'