commitshots 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in arnsbomedia-rails-js-vendor.gemspec
4
+ gemspec
@@ -0,0 +1,14 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ commitshots (0.0.6)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+
10
+ PLATFORMS
11
+ ruby
12
+
13
+ DEPENDENCIES
14
+ commitshots!
@@ -0,0 +1,23 @@
1
+ A simple ruby script to iterate over the commits in a project, and save a screenshot of a given url for each commit id.
2
+
3
+ You can set the width and height of the image via the --width and --height options.
4
+
5
+ Install the gem
6
+
7
+ ```
8
+ gem install commitshots
9
+ ```
10
+
11
+ **Usage: **
12
+
13
+ ```
14
+ commitshots --width 1024 --height 800 http://youproject.dev
15
+ ```
16
+
17
+ For each commit (starting from the first one) it will save a screenshot in ./screenshots
18
+
19
+
20
+ The script requires that you have git and phantomjs in your path.
21
+
22
+ It has been tested with phantomjs -v 1.6.1 and ruby-1.9.3-p362
23
+
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
@@ -0,0 +1,18 @@
1
+ # -*- encoding: utf-8 -*-
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'commitshots/version'
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = 'commitshots'
8
+ s.version = Commitshots::VERSION
9
+ s.date = '2013-01-22'
10
+ s.summary = "commitshots"
11
+ s.description = "a little utility to create a screenshot from each commit of a project"
12
+ s.authors = ["Claus Witt"]
13
+ s.email = 'wittnezz@gmail.com'
14
+ s.files = `git ls-files`.split($/)
15
+ s.executables = s.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
16
+ s.homepage = 'http://rubygems.org/gems/commitshots'
17
+ s.require_paths = ["lib"]
18
+ end
@@ -0,0 +1,4 @@
1
+ module Commitshots
2
+ VERSION = "0.0.7"
3
+ end
4
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: commitshots
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -18,10 +18,16 @@ executables:
18
18
  extensions: []
19
19
  extra_rdoc_files: []
20
20
  files:
21
+ - Gemfile
22
+ - Gemfile.lock
23
+ - README.markdown
24
+ - Rakefile
25
+ - bin/commitshots
26
+ - commitshots.gemspec
21
27
  - lib/commitshots.rb
22
28
  - lib/commitshots/commits.rb
29
+ - lib/commitshots/version.rb
23
30
  - lib/phantomjs/screenshot.js
24
- - bin/commitshots
25
31
  homepage: http://rubygems.org/gems/commitshots
26
32
  licenses: []
27
33
  post_install_message: