This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lando:now stickwithjosh$ bundle exec rake neo4j:start --trace | |
** Invoke neo4j:start (first_time) | |
** Execute neo4j:start | |
Starting Neo4j development... | |
rake aborted! | |
Unable to run: db/neo4j/development/bin/neo4j start | |
/Users/stickwithjosh/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/neo4j-core-5.0.3/lib/neo4j/tasks/neo4j_server.rake:65:in `system_or_fail' | |
/Users/stickwithjosh/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/neo4j-core-5.0.3/lib/neo4j/tasks/neo4j_server.rake:78:in `start_starnix_server' | |
/Users/stickwithjosh/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/neo4j-core-5.0.3/lib/neo4j/tasks/neo4j_server.rake:60:in `start_server' | |
/Users/stickwithjosh/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/neo4j-core-5.0.3/lib/neo4j/tasks/neo4j_server.rake:137:in `block (2 levels) in <top (required)>' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lando:web stickwithjosh$ rspec | |
I, [2015-07-21T09:29:01.537897 #98796] INFO -- : Not reporting to Code Climate because ENV['CODECLIMATE_REPO_TOKEN'] is not set. | |
/Users/stickwithjosh/Work/copious/threads/web/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:274:in `require': cannot load such file -- rspec/rails (LoadError) | |
from /Users/stickwithjosh/Work/copious/threads/web/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:274:in `block in require' | |
from /Users/stickwithjosh/Work/copious/threads/web/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:240:in `load_dependency' | |
from /Users/stickwithjosh/Work/copious/threads/web/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:274:in `require' | |
from /Users/stickwithjosh/Work/copious/threads/web/spec/rails_helper.rb:5:in `<top (required)>' | |
from /Users/stickwithjosh/.rbenv/versions/2.2.2/lib/ruby/2.2.0/rubygems/core_ext/kernel_ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"notifications":[ | |
{ | |
"id":"86b7a0f4-7b23-47a6-9c39-68d77c12620a", | |
"read":false, | |
"created_at":"2015-07-17T15:30:14.000+00:00", | |
"updated_at":"2015-07-17T15:30:14.000+00:00", | |
"kind":"post", | |
"notified_object":{ | |
"type":"post", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"notifications":[ | |
{ | |
"id":"86b7a0f4-7b23-47a6-9c39-68d77c12620a", | |
"read":false, | |
"created_at":"2015-07-17T15:30:14.000+00:00", | |
"updated_at":"2015-07-17T15:30:14.000+00:00", | |
"kind":"post", | |
"notified_object":{ | |
"session":{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lando:now stickwithjosh$ rspec spec/policies/ | |
CYPHER 3ms MATCH (result:`User`) WHERE (result.email = {result_email}) RETURN COUNT(result) AS count | {:result_email=>"[email protected]"} | |
CYPHER 3ms MATCH (result_user:`User`) WHERE (result_user.authentication_token = {result_user_authentication_token}) RETURN result_user LIMIT {limit_1} | {:result_user_authentication_token=>"bra7tn-sHCxLwmUMTgo-", :limit_1=>1} | |
CYPHER 3ms CREATE (n:`User` {props}) RETURN ID(n) | {:props=>{:uuid=>"7dbddcbe-38b6-46b8-b2a9-e2468c99e652", :first_name=>"Dayana", :last_name=>"Cronin", :created_at=>1436911764, :updated_at=>1436911764, :email=>"[email protected]", :encrypted_password=>"$2a$04$C51iIbRzGmSVroT4qfCSQOF9w7f98AuzKBPALdFewocWxnWmmcZHm", :sign_in_count=>0, :confirmed_at=>1436911764, :authentication_token=>"bra7tn-sHCxLwmUMTgo-"}} | |
CYPHER 3ms CREATE (n:`Channel` {props}) RETURN ID(n) | {:props=>{:uuid=>"24e49ed1-3d8b-40ea-87f6-c2df699bf8d5", :name=>"Vision-oriented well-modulated function", :members_can |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lando:now stickwithjosh$ http get http://threads.dev/api/v1/channels 'Authorization: Token token="rr3RsRZcRGpJ5TK2jYFY", email="[email protected]"' | |
HTTP/1.1 200 OK | |
Cache-Control: max-age=0, private, must-revalidate | |
Connection: close | |
Content-Type: application/json; charset=utf-8 | |
Date: Tue, 14 Jul 2015 14:53:53 GMT | |
ETag: W/"683617963c3df5a5650b7feba3e6cde6" | |
X-Content-Type-Options: nosniff | |
X-Frame-Options: SAMEORIGIN | |
X-Request-Id: ebd794bd-df44-4530-a22e-3fc7b774558c |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lando:web stickwithjosh$ http get http://threads.dev/api/v1/posts/7eb7ab9c-cb0f-4f9d-9abb-149738426010 'Authorization: Token token="se6hSf8gd1MWzYLxypJ8", email="[email protected]"' | |
HTTP/1.1 200 OK | |
Cache-Control: max-age=0, private, must-revalidate | |
Connection: close | |
Content-Type: application/json; charset=utf-8 | |
Date: Fri, 10 Jul 2015 18:31:33 GMT | |
ETag: W/"a1c6f5911ebd3fd3a1ea5ba238aa6e67" | |
X-Content-Type-Options: nosniff | |
X-Frame-Options: SAMEORIGIN | |
X-Request-Id: c4f55aa4-ff54-4c6e-be79-2e37808901d5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
irb(main):010:0> Channel.where(owner: u).count | |
=> 3 | |
irb(main):011:0> Channel.where(owner: u).each do |c| | |
irb(main):012:1* puts c.owner.email | |
irb(main):013:1> end | |
[email protected] | |
[email protected] | |
[email protected] | |
=> [#<Channel uuid: "2318e107-ce7a-468a-85ee-83b0a8f2ce9a", description: nil, members_can_post: false, name: "Third thread">, #<Channel uuid: "e5ae5b3c-d3d7-4809-b074-400fb9877b56", description: nil, members_can_post: false, name: "Fourth Thread">, #<Channel uuid: "28ce4436-f86a-4cd5-a982-8c30f9242001", description: nil, members_can_post: false, name: "Fifth Trhead">] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lando:web stickwithjosh$ http get http://threads.dev/api/v1/channels 'Authorization: Token token="CQbQoy3gwYBT6uCTKGFy", email="[email protected]"' | |
HTTP/1.1 200 OK | |
Cache-Control: max-age=0, private, must-revalidate | |
Connection: close | |
Content-Type: application/json; charset=utf-8 | |
Date: Tue, 07 Jul 2015 04:27:51 GMT | |
ETag: W/"c773d6e60fb702f6f39b7cdb3b594422" | |
X-Content-Type-Options: nosniff | |
X-Frame-Options: SAMEORIGIN | |
X-Request-Id: 48831ce2-7e81-4230-87c8-5bc1f5a5a398 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lando:web stickwithjosh$ http get http://threads.dev/api/v1/channels/6841bd72-ea71-41e3-a859-b3b8a28bb12f 'Authorization: Token token="CQbQoy3gwYBT6uCTKGFy", email="[email protected]"' | |
HTTP/1.1 200 OK | |
Cache-Control: max-age=0, private, must-revalidate | |
Connection: close | |
Content-Type: application/json; charset=utf-8 | |
Date: Tue, 07 Jul 2015 04:27:14 GMT | |
ETag: W/"91b536a6c7a3605aa713ef6a2b2ef457" | |
X-Content-Type-Options: nosniff | |
X-Frame-Options: SAMEORIGIN | |
X-Request-Id: 7e59866c-46ba-44d3-9215-18abc271e254 |