{"push_id":2581093472,"size":3,"distinct_size":3,"ref":"refs/heads/master","head":"468faec869ebed4b68892492b5da205a30de8d6e","before":"156dcbf134c990917adce799409d6695bea21285","commits":[{"sha":"211fb557a080203805c4a70badc75e3268f7767b","author":{"name":"Tim Rogers","email":"5ee0edb9e2229c0838f1959779f1949031de0123@gocardless.com"},"message":"Document how to check whether Spring is running from within your code\n\nYou can check whether Spring is running by checking whether the\n`Spring` constant is defined.\n\n```ruby\nif defined?(Spring)\n  # This code will only run if Spring is running.\nend\n```\n\nThis is the approach taken by Spring binary, [`bin/spring`][1].\n\nI've often personally wanted to check whether Spring is running\n(e.g. when I've been seeing strange behaviour that I suspect is\nrelated to class reloading), and this is potentially useful for\nother gems too (e.g. to warn if environment variables might not\nbe reflected as expected due to running through the Spring\npreloader).\n\n[1]: https://github.com/rails/spring/blob/master/bin/spring#L3","distinct":true,"url":"https://api.github.com/repos/rails/spring/commits/211fb557a080203805c4a70badc75e3268f7767b"},{"sha":"2962aac63e55a960c8c3e94d11700e03cc06e8ef","author":{"name":"Tim Rogers","email":"5ee0edb9e2229c0838f1959779f1949031de0123@gocardless.com"},"message":"Condense documentation on checking whether Spring is running","distinct":true,"url":"https://api.github.com/repos/rails/spring/commits/2962aac63e55a960c8c3e94d11700e03cc06e8ef"},{"sha":"468faec869ebed4b68892492b5da205a30de8d6e","author":{"name":"Michael Grosser","email":"17b9e1c64588c7fa6419b4d29dc1f4426279ba01@grosser.it"},"message":"Merge pull request #560 from timrogers/defined-spring\n\nDocument how to check whether Spring is running from within your code","distinct":true,"url":"https://api.github.com/repos/rails/spring/commits/468faec869ebed4b68892492b5da205a30de8d6e"}]}
{"actor":{"display_login":"grosser"}}