neo4j 8.0.1 → 8.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 79b06eca50ac604bf3cc21dc933f185f3872400d
4
- data.tar.gz: 4b0f5473954554eef83245440f0afd05f973341b
3
+ metadata.gz: 6e1d3abc721f38751593c2ce40d83c5cf5a953cc
4
+ data.tar.gz: 2b30d8aff00b652f6d60c60bb82bc266fb90ddd4
5
5
  SHA512:
6
- metadata.gz: 9bdbacc3c1bd6ef318687644502aa4f17f45736431f5aabb0c235c7959c0a346c2d52129facc6e78fd7427a7e5e812b2247bdb6c07ed6744ad3f80d75e0c1631
7
- data.tar.gz: 4594f6dc770e1f9f7126433701157aeff9fb846c2de7876830e4a16c693d32ac71dd3036440e69025778bfaf1ad476530c0d75ecb2fd32285b1d8379fb5099ed
6
+ metadata.gz: 5089b2202d09635187df075a91e924d538a32eeae690cc5c0aa70098c3dc30545d58b5ae2f37da5e2477addc8832371b1d33bb65cb98615c44e73451cbcb7642
7
+ data.tar.gz: 3141210b4558049eaf6a90680aa56abe9f190c77ff5c32c5e292fd8efca51632c29b469093708eb074fbb6f93f08745f382d9d7fcc2a60f231ab71cc10926591
data/CHANGELOG.md CHANGED
@@ -3,7 +3,11 @@ All notable changes to this project will be documented in this file.
3
3
  This file should follow the standards specified on [http://keepachangelog.com/]
4
4
  This project adheres to [Semantic Versioning](http://semver.org/).
5
5
 
6
- ## [Unreleased]
6
+ ## [8.0.2] 2016-12-22
7
+
8
+ ### Fixed
9
+
10
+ - Camelization of class names for migrations should now match the snake case of the migration file name (see #1329)
7
11
 
8
12
  ## [8.0.1] 2016-12-20
9
13
 
@@ -101,7 +101,7 @@ namespace :neo4j do
101
101
  fail 'Label must be specified' if label.blank?
102
102
  fail 'Property name must be specified' if property_name.blank?
103
103
 
104
- migration_class_name = "ForceCreate#{label.camelize}#{property_name.camelize}#{index_or_constraint.capitalize}".gsub('::', '')
104
+ migration_class_name = "ForceCreate#{label.camelize}#{property_name.camelize}#{index_or_constraint.capitalize}".gsub('::', '').underscore.camelize
105
105
 
106
106
  require 'fileutils'
107
107
  FileUtils.mkdir_p('db/neo4j/migrate')
data/lib/neo4j/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Neo4j
2
- VERSION = '8.0.1'
2
+ VERSION = '8.0.2'
3
3
  end
@@ -1,4 +1,4 @@
1
- class <%= @migration_class_name %> < Neo4j::Migrations::Base
1
+ class <%= @migration_class_name.underscore.camelize %> < Neo4j::Migrations::Base
2
2
  def up
3
3
  <%= @content %>
4
4
  end
@@ -1,4 +1,4 @@
1
- class <%= @migration_class_name %> < Neo4j::Migrations::Base
1
+ class <%= @migration_class_name.underscore.camelize %> < Neo4j::Migrations::Base
2
2
  def up
3
3
  add_constraint :<%= class_name %>, :uuid
4
4
  end
@@ -1,4 +1,4 @@
1
- class <%= @migration_class_name %> < Neo4j::Migrations::Base
1
+ class <%= @migration_class_name.underscore.camelize %> < Neo4j::Migrations::Base
2
2
  def up
3
3
  <% @schema.each do |type, data|
4
4
  data.each do |element| %>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: neo4j
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.0.1
4
+ version: 8.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andreas Ronge, Brian Underwood, Chris Grigg
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-20 00:00:00.000000000 Z
11
+ date: 2016-12-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: orm_adapter