Skip to content
This repository was archived by the owner on Apr 17, 2018. It is now read-only.
This repository was archived by the owner on Apr 17, 2018. It is now read-only.

[release 1.2] rspec failing #66

@nmccready

Description

@nmccready

What are the steps to get this working? I ran bundle install and all seemed well when the dm-core version was bumped to >= 1.2.1. However I keep getting the following error on running specs.

Users/nem/.rvm/gems/jruby-1.7.4@dm-types/gems/rspec-1.3.2/lib/spec/runner/options.rb:188: Use RbConfig instead of obsolete and deprecated Config.
NameError: uninitialized constant DataMapper::Property::BCryptHash::PassThroughLoadDump
           const_missing at org/jruby/RubyModule.java:2631
              BCryptHash at /Users/nem/Development/MyStuff/git/ruby/dm-types/lib/dm-types/bcrypt_hash.rb:7
                Property at /Users/nem/Development/MyStuff/git/ruby/dm-types/lib/dm-types/bcrypt_hash.rb:6
              DataMapper at /Users/nem/Development/MyStuff/git/ruby/dm-types/lib/dm-types/bcrypt_hash.rb:5
                  (root) at /Users/nem/Development/MyStuff/git/ruby/dm-types/lib/dm-types/bcrypt_hash.rb:4
               const_get at org/jruby/RubyModule.java:2546
                  (root) at /Users/nem/.rvm/gems/jruby-1.7.4@dm-types/bundler/gems/dm-core-efa363cd9bf1/lib/dm-core/property.rb:1
              find_class at /Users/nem/.rvm/gems/jruby-1.7.4@dm-types/bundler/gems/dm-core-efa363cd9bf1/lib/dm-core/property.rb:365
           const_missing at /Users/nem/.rvm/gems/jruby-1.7.4@dm-types/bundler/gems/dm-core-efa363cd9bf1/lib/dm-core/property/lookup.rb:22
                  Person at /Users/nem/Development/MyStuff/git/ruby/dm-types/spec/fixtures/person.rb:22
           TypesFixtures at /Users/nem/Development/MyStuff/git/ruby/dm-types/spec/fixtures/person.rb:3
              DataMapper at /Users/nem/Development/MyStuff/git/ruby/dm-types/spec/fixtures/person.rb:2
                 require at org/jruby/RubyKernel.java:1054
  require_with_backports at /Users/nem/.rvm/gems/jruby-1.7.4@dm-types/gems/backports-3.3.3/lib/backports/tools.rb:328
                  (root) at /Users/nem/Development/MyStuff/git/ruby/dm-types/spec/fixtures/person.rb:1
                  (root) at /Users/nem/Development/MyStuff/git/ruby/dm-types/spec/integration/bcrypt_hash_spec.rb:1
                  (root) at /Users/nem/Development/MyStuff/git/ruby/dm-types/spec/integration/bcrypt_hash_spec.rb:5
                    load at org/jruby/RubyKernel.java:1073
                try_spec at /Users/nem/Development/MyStuff/git/ruby/dm-types/spec/spec_helper.rb:22
                    each at org/jruby/RubyArray.java:1617
                  (root) at /Users/nem/Development/MyStuff/git/ruby/dm-types/spec/integration/bcrypt_hash_spec.rb:3
                  (root) at /Users/nem/.rvm/gems/jruby-1.7.4@dm-types/gems/rspec-1.3.2/lib/spec/runner/example_group_runner.rb:1
              load_files at /Users/nem/.rvm/gems/jruby-1.7.4@dm-types/gems/rspec-1.3.2/lib/spec/runner/example_group_runner.rb:15
              load_files at /Users/nem/.rvm/gems/jruby-1.7.4@dm-types/gems/rspec-1.3.2/lib/spec/runner/example_group_runner.rb:14
                    load at org/jruby/RubyKernel.java:1073
            run_examples at /Users/nem/.rvm/gems/jruby-1.7.4@dm-types/gems/rspec-1.3.2/lib/spec/runner/options.rb:134
                    eval at org/jruby/RubyKernel.java:1093
                  (root) at /Users/nem/.rvm/gems/jruby-1.7.4@dm-types/bin/ruby_noexec_wrapper:14

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions