drupal83 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -53,7 +53,7 @@ module Drupal
53
53
 
54
54
  def to_s
55
55
  "
56
- class #{content_type.camel_case}
56
+ class #{content_type.camelcase}
57
57
  #{Drupal.common}
58
58
  storage_names[:drupal] = '#{table}'
59
59
  property :nid, Integer
@@ -34,7 +34,7 @@ module Drupal
34
34
  def to_s
35
35
  return "" unless valid?
36
36
  "
37
- class #{field_name.camel_case}
37
+ class #{field_name.camelcase}
38
38
  #{Drupal.common}
39
39
  storage_names[:drupal] = '#{table}'
40
40
 
data/lib/drupal/cck.rb CHANGED
@@ -2,7 +2,7 @@ module Drupal
2
2
  module CCK
3
3
  module NodeMethods
4
4
  def cck_class
5
- @cck_class ||= eval("Drupal::#{type.camel_case}")
5
+ @cck_class ||= eval("Drupal::#{type.camelcase}")
6
6
  end
7
7
 
8
8
  def cck
@@ -47,7 +47,7 @@ module Drupal
47
47
  when 'userreference'
48
48
  if through?
49
49
  r = "has 1, :#{f},
50
- :class_name => Drupal::#{f.camel_case},
50
+ :class_name => Drupal::#{f.camelcase},
51
51
  :child_key => [:nid]
52
52
 
53
53
  has 1, :#{f}_user,
@@ -1,3 +1,3 @@
1
1
  module Drupal
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: drupal83
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
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-05-09 00:00:00.000000000 Z
12
+ date: 2012-06-13 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: A datamapper wrapper for a drupal database.. great for migrations - repackage
15
15
  original dm-drupal gem
@@ -59,7 +59,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
59
59
  version: '0'
60
60
  requirements: []
61
61
  rubyforge_project:
62
- rubygems_version: 1.8.21
62
+ rubygems_version: 1.8.24
63
63
  signing_key:
64
64
  specification_version: 3
65
65
  summary: ''