git-blame
Version:
Shelling out to git blame in a streaming Node fashion.
181 lines (180 loc) • 5.51 kB
JSON
{
"lines": [{
"hash": "f79f9a74a4b593e8c36d14c43a030b9a12c69255",
"originalLine": "1",
"finalLine": "1",
"content": "version = ARGV.pop"
}, {
"hash": "f79f9a74a4b593e8c36d14c43a030b9a12c69255",
"originalLine": "2",
"finalLine": "2",
"content": ""
}, {
"hash": "66258c0e48ed5cf26641a3096272a272611a783c",
"originalLine": "3",
"finalLine": "3",
"content": "if version.nil?"
}, {
"hash": "66258c0e48ed5cf26641a3096272a272611a783c",
"originalLine": "4",
"finalLine": "4",
"content": " puts \"Usage: ruby install.rb version\""
}, {
"hash": "66258c0e48ed5cf26641a3096272a272611a783c",
"originalLine": "5",
"finalLine": "5",
"content": " exit(64)"
}, {
"hash": "66258c0e48ed5cf26641a3096272a272611a783c",
"originalLine": "6",
"finalLine": "6",
"content": "end"
}, {
"hash": "66258c0e48ed5cf26641a3096272a272611a783c",
"originalLine": "7",
"finalLine": "7",
"content": ""
}, {
"hash": "f1637bf2bb00490203503fbd943b73406e043d1d",
"originalLine": "3",
"finalLine": "8",
"content": "%w( activesupport activemodel activerecord actionpack actionmailer railties ).each do |framework|"
}, {
"hash": "f79f9a74a4b593e8c36d14c43a030b9a12c69255",
"originalLine": "4",
"finalLine": "9",
"content": " puts \"Installing #{framework}...\""
}, {
"hash": "2eb89627d844dec2a4ba420ca903bb139b860e43",
"originalLine": "10",
"finalLine": "10",
"content": " `cd #{framework} && gem build #{framework}.gemspec && gem install #{framework}-#{version}.gem --no-ri --no-rdoc && rm #{framework}-#{version}.gem`"
}, {
"hash": "f79f9a74a4b593e8c36d14c43a030b9a12c69255",
"originalLine": "6",
"finalLine": "11",
"content": "end"
}, {
"hash": "f79f9a74a4b593e8c36d14c43a030b9a12c69255",
"originalLine": "7",
"finalLine": "12",
"content": ""
}, {
"hash": "2eb89627d844dec2a4ba420ca903bb139b860e43",
"originalLine": "13",
"finalLine": "13",
"content": "puts \"Installing rails...\""
}, {
"hash": "f79f9a74a4b593e8c36d14c43a030b9a12c69255",
"originalLine": "9",
"finalLine": "14",
"content": "`gem build rails.gemspec`"
}, {
"hash": "2eb89627d844dec2a4ba420ca903bb139b860e43",
"originalLine": "15",
"finalLine": "15",
"content": "`gem install rails-#{version}.gem --no-ri --no-rdoc `"
}, {
"hash": "856f13ab053f6b5dfa58d6e6c726d43cc5e73d00",
"originalLine": "11",
"finalLine": "16",
"content": "`rm rails-#{version}.gem`"
}],
"commits": [{
"hash": "f79f9a74a4b593e8c36d14c43a030b9a12c69255",
"author": {
"name": "David Heinemeier Hansson",
"mail": "david@loudthinking.com",
"timestamp": 1280178550,
"tz": "-0500"
},
"committer": {
"name": "David Heinemeier Hansson",
"mail": "david@loudthinking.com",
"timestamp": 1280178550,
"tz": "-0500"
},
"summary": "Add install script for testing gems locally",
"filename": "install.rb"
}, {
"hash": "66258c0e48ed5cf26641a3096272a272611a783c",
"author": {
"name": "Tim Raymond",
"mail": "xtjraymondx@gmail.com",
"timestamp": 1357243730,
"tz": "-0500"
},
"committer": {
"name": "Tim Raymond",
"mail": "xtjraymondx@gmail.com",
"timestamp": 1357244064,
"tz": "-0500"
},
"summary": "Adding a usage message to install.rb script",
"previous": {
"hash": "a89660947bd5faeef2a741f71f913c352da50cd3",
"filename": "install.rb"
},
"filename": "install.rb"
}, {
"hash": "f1637bf2bb00490203503fbd943b73406e043d1d",
"author": {
"name": "Prem Sichanugrist",
"mail": "s@sikachu.com",
"timestamp": 1305488076,
"tz": "-0400"
},
"committer": {
"name": "Prem Sichanugrist",
"mail": "s@sikachu.com",
"timestamp": 1331664944,
"tz": "-0400"
},
"summary": "Remove Active Resource source files from the repository",
"previous": {
"hash": "a85714a673d2e06b923bd4eba443a3849d332cce",
"filename": "install.rb"
},
"filename": "install.rb"
}, {
"hash": "2eb89627d844dec2a4ba420ca903bb139b860e43",
"author": {
"name": "Rafael Mendonça França",
"mail": "rafaelmfranca@gmail.com",
"timestamp": 1361803866,
"tz": "-0300"
},
"committer": {
"name": "Rafael Mendonça França",
"mail": "rafaelmfranca@gmail.com",
"timestamp": 1361803909,
"tz": "-0300"
},
"summary": "Do not use --local option when installing the gems",
"previous": {
"hash": "c0bc9ce38c6528916f9dd440984a386511e4297d",
"filename": "install.rb"
},
"filename": "install.rb"
}, {
"author": {
"mail": "brooke.riggio@gmail.com",
"name": "Brook Riggio",
"timestamp": 1327735463,
"tz": "-0800"
},
"committer": {
"mail": "brooke.riggio@gmail.com",
"name": "Brook Riggio",
"timestamp": 1327735463,
"tz": "-0800"
},
"filename": "install.rb",
"hash": "856f13ab053f6b5dfa58d6e6c726d43cc5e73d00",
"previous": {
"filename": "install.rb",
"hash": "69aeecd358c285ef3c7b4431baf65be94c5c17c2"
},
"summary": "Whitespace only: Use single newline at end of file."
}]
}