neo4j 8.1.0.rc.1 → 8.1.0.rc.2

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,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 48710007e99e018577ac5dfd171806ab778f4e14
4
- data.tar.gz: 5f36d371ba8289fbf1412cf064330763f97019a8
3
+ metadata.gz: b49df0012739e5603cda3eaba5d4fe024edc8e65
4
+ data.tar.gz: a16074ac8321d35a35e6ea73f9fe1b0cddb8a0df
5
5
  SHA512:
6
- metadata.gz: 2ecbd9e36ba67936bb7106e5d2897d75a2c9acc5f7c0733aaa77f6d8e41d56e2b03dda129010338b2e014c511e118d146d628be03c0877ec3c30c22c27ca7f5a
7
- data.tar.gz: 644b80a450e056e0df194d5288e80a87e48052853568c1ef41dfea694f918e5b6d06f67ecd1da9b222dc57fa602619f5c50b48722a74d596736d1d8e612c87ae
6
+ metadata.gz: faf203cac1103a3413690712050249ddac2c1ba774f408b577f4f69f76eecefd32c9dde5c14ce7d0ec8eb1d90aa940914a10c2974cdf88f4809ecb898539f9f0
7
+ data.tar.gz: 7ab5e855c010a2e012651d75fe4ea3f91186b31f86e877d90046d477ffaca754d62e9e8a8cbc6842dfd8d89666cc248d7034c932d464cbbf4f003e218e0afd06
@@ -3,7 +3,13 @@ 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.1.0.rc.2] 2017-06-06
7
+
8
+ ### Removed
9
+
10
+ - Support for jRuby 1.7.x
11
+
12
+ ## [8.1.0.rc.1] 2017-05-05
7
13
 
8
14
  ### Added
9
15
 
@@ -13,91 +19,97 @@ This project adheres to [Semantic Versioning](http://semver.org/).
13
19
 
14
20
  - Removed `before` and `after` callback options from associations (model callbacks still exist)
15
21
 
16
- ## [8.0.17] 2016-05-03
22
+ ## [8.0.18] 2017-06-04
23
+
24
+ ### Fixed
25
+
26
+ - Migration name when generating a model shouldn't be the same as the model (see #1387 / thanks @thefliik and @apotonick)
27
+
28
+ ## [8.0.17] 2017-05-03
17
29
 
18
30
  ### Fixed
19
31
 
20
32
  - Don't lock out Rails 5.1 in `gemspec`
21
33
 
22
- ## [8.0.16] 2016-05-01
34
+ ## [8.0.16] 2017-05-01
23
35
 
24
36
  ### Fixed
25
37
 
26
38
  - Don't lock out Rails 5.1 in `gemspec`
27
39
 
28
- ## [8.0.15] 2016-04-24
40
+ ## [8.0.15] 2017-04-24
29
41
 
30
42
  ### Fixed
31
43
 
32
44
  - Error message for getting distinct on count was not clear
33
45
 
34
- ## [8.0.14] 2016-04-15
46
+ ## [8.0.14] 2017-04-15
35
47
 
36
48
  ### Fixed
37
49
 
38
50
  - Simple change to description in gemspec file to remove "Ruby on Rails" and "Rack" as the gem can be use in any Ruby-based script / application
39
51
 
40
- ## [8.0.13] 2016-04-07
52
+ ## [8.0.13] 2017-04-07
41
53
 
42
54
  ### Fixed
43
55
 
44
56
  - Removed `put(s|c)` statements to avoid issues with background jobs (thanks @andyweiss1982 and @sureshblp71)
45
57
 
46
- ## [8.0.12] 2016-03-28
58
+ ## [8.0.12] 2017-03-28
47
59
 
48
60
  ### Fixed
49
61
 
50
62
  - Sessions in the `neo4j` gem are automatically set to have `wrap_level: :proc` to ensure that nodes and relationships are wrapped in models (even if you aren't using Rails)
51
63
 
52
- ## [8.0.11] 2016-03-23
64
+ ## [8.0.11] 2017-03-23
53
65
 
54
66
  ### Fixed
55
67
 
56
68
  - Fix issue where an association (which hasn't been accessed) is accessed from an ActiveNode callback
57
69
 
58
- ## [8.0.9] 2016-03-15
70
+ ## [8.0.9] 2017-03-15
59
71
 
60
72
  ### Fixed
61
73
 
62
74
  - Fix more Ruby 2.4 deprecations re: Integer (see #1363 / thanks @jboler)
63
75
 
64
- ## [8.0.9] 2016-03-09
76
+ ## [8.0.9] 2017-03-09
65
77
 
66
78
  ### Fixed
67
79
 
68
80
  - Support `to_ary` on association proxies to help support serializers (thanks @gnapse / see #1362)
69
81
 
70
- ## [8.0.8] 2016-02-27
82
+ ## [8.0.8] 2017-02-27
71
83
 
72
84
  ### Fixed
73
85
 
74
86
  - Performance and response consistency improvements to `exists?` methods
75
87
 
76
- ## [8.0.7] 2016-02-24
88
+ ## [8.0.7] 2017-02-24
77
89
 
78
90
  ### Fixed
79
91
 
80
92
  - Fix Ruby 2.4 deprecations re: Integer (see #1360 / thanks @jboler)
81
93
 
82
- ## [8.0.6] 2016-02-04
94
+ ## [8.0.6] 2017-02-04
83
95
 
84
96
  ### Fixed
85
97
 
86
98
  - Rake tasks broken without Rails (thanks @CoralineAda, @phreakocious, and @Joshfindit, see #1330, #1331, and #1353)
87
99
 
88
- ## [8.0.5] 2016-01-05
100
+ ## [8.0.5] 2017-01-05
89
101
 
90
102
  ### Fixed
91
103
 
92
104
  - When invalid session type is given, an exception will be raised to aid debugging (see #1335 / thanks @Joshfindit)
93
105
 
94
- ## [8.0.4] 2016-01-03
106
+ ## [8.0.4] 2017-01-03
95
107
 
96
108
  ### Fixed
97
109
 
98
110
  - Fixed/refactored `wait_for_connection`
99
111
 
100
- ## [8.0.3] 2016-01-03
112
+ ## [8.0.3] 2017-01-03
101
113
 
102
114
  ### Fixed
103
115
 
@@ -45,7 +45,7 @@ namespace :neo4j do
45
45
  Rake::Task['neo4j:migrate:all'].invoke
46
46
  end
47
47
 
48
- # TODO Make sure these tasks don't run in versions of Neo4j before 3.0
48
+ # TODO: Make sure these tasks don't run in versions of Neo4j before 3.0
49
49
  namespace :schema do
50
50
  SCHEMA_YAML_PATH = 'db/neo4j/schema.yml'
51
51
 
@@ -58,7 +58,7 @@ namespace :neo4j do
58
58
  end
59
59
 
60
60
  desc 'Creates a db/neo4j/schema.yml file which represents the indexes / constraints in the Neo4j DB'
61
- task :dump => :environment do
61
+ task dump: :environment do
62
62
  check_neo4j_version_3 do
63
63
  require 'neo4j/migrations/schema'
64
64
 
@@ -75,7 +75,7 @@ namespace :neo4j do
75
75
  end
76
76
 
77
77
  desc "Loads a db/neo4j/schema.yml file into the database\nOptionally removes schema elements which aren't in the schema.yml file (defaults to false)"
78
- task :load, [:remove_missing] => :environment do |t, args|
78
+ task :load, [:remove_missing] => :environment do |_t, args|
79
79
  check_neo4j_version_3 do
80
80
  require 'neo4j/migrations/schema'
81
81
 
@@ -1,3 +1,3 @@
1
1
  module Neo4j
2
- VERSION = '8.1.0.rc.1'
2
+ VERSION = '8.1.0.rc.2'
3
3
  end
@@ -16,7 +16,7 @@ class Neo4j::Generators::ModelGenerator < Rails::Generators::NamedBase #:nodoc:
16
16
 
17
17
  def create_model_file
18
18
  template 'model.erb', File.join('app/models', class_path, "#{singular_name}.rb")
19
- migration_template 'migration.erb'
19
+ migration_template 'migration.erb', 'create_'
20
20
  end
21
21
 
22
22
  protected
@@ -1,4 +1,4 @@
1
- class <%= @migration_class_name.underscore.camelize %> < Neo4j::Migrations::Base
1
+ class Create<%= @migration_class_name.underscore.camelize %> < Neo4j::Migrations::Base
2
2
  def up
3
3
  add_constraint :<%= class_name %>, :uuid
4
4
  end
@@ -9,12 +9,12 @@ end
9
9
  module Neo4j::Generators::MigrationHelper
10
10
  extend ActiveSupport::Concern
11
11
 
12
- def migration_file_name(file_name)
13
- "#{Time.now.utc.strftime('%Y%m%d%H%M%S')}_#{file_name.parameterize}.rb"
12
+ def migration_file_name(file_name, prefix = '')
13
+ "#{Time.now.utc.strftime('%Y%m%d%H%M%S')}_#{prefix}#{file_name.parameterize}.rb"
14
14
  end
15
15
 
16
- def migration_template(template_name)
17
- real_file_name = migration_file_name(file_name)
16
+ def migration_template(template_name, prefix = '')
17
+ real_file_name = migration_file_name(file_name, prefix)
18
18
  @migration_class_name = file_name.camelize
19
19
 
20
20
  template template_name, File.join('db/neo4j/migrate', real_file_name)
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.1.0.rc.1
4
+ version: 8.1.0.rc.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: 2017-05-05 00:00:00.000000000 Z
11
+ date: 2017-06-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: orm_adapter