instamatic 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c1abbaf57a3fba26920ecf16de4223f84229089d
4
- data.tar.gz: ad297b260338099060510d872c492661cfbd09f6
3
+ metadata.gz: 538e5d7d68c8575ef4e77f132bd5d57bc874fc0c
4
+ data.tar.gz: 9039d50e7e7c653f610f842ea0399553e47ed080
5
5
  SHA512:
6
- metadata.gz: 09cc8ea0ec15dbd297f8afebef4b4dd1328eb421a7712ae8bf811b199634f097919606b4af421ab9209d30eb76a58f6e9594dbb9854ac086bbf610612ee7153a
7
- data.tar.gz: 1788bfeccca55dd828cfdffeeba5c0d5cc3377d786c588c62d02882402584e43e21a1fd078f9971971b6415e40625777287965b8103e6375ae3b96d737811a30
6
+ metadata.gz: 063fae2c8bd79113803b0b6931a0685aa9c3f1a2c6351396fb8f49503e82cb4b0360b1f08f9fdcd0891cd14be28f09dd249680632e9650cb3fb96dfa472bed48
7
+ data.tar.gz: e008baf26a1b176a22544afd478bd046c0eb855482cde31313446b87150129a7609477067d96af90de9b7618f7e16e011b96579b3a0337fd17cc0b8028db2145
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # Instamatic
2
2
 
3
+ [![Gem Version](https://badge.fury.io/rb/instamatic.svg)](https://badge.fury.io/rb/instamatic)
4
+
3
5
  Instamatic is a gem that lets you run a generator to create an image placement service in minutes.
4
6
 
5
7
  Once your project is set up, just drop images (PNG files with transparency) into the `images/` folder and launch like any Sinatra app.
@@ -48,9 +50,9 @@ Getting started is easy!
48
50
  2. Drop your images into `images/` and run the server with `rackup`, `shotgun`, or `ruby`.
49
51
  3. That's it!
50
52
 
51
- <!--## Contributing-->
53
+ ## Contributing
52
54
 
53
- <!--Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/instamatic.-->
55
+ Bug reports and pull requests are welcome on GitHub at https://bitbucket.org/aneely/instamatic.
54
56
 
55
57
 
56
58
  ## License
@@ -105,8 +105,6 @@ module Instamatic
105
105
  end
106
106
 
107
107
  def response_image(image_name, width, height, color, percent)
108
- image_name = params[:image] if image_name.nil?
109
-
110
108
  image = assign_image("#{image_name}")
111
109
  width = assign_width("#{width}")
112
110
  height = assign_height("#{height}")
@@ -165,7 +163,7 @@ module Instamatic
165
163
 
166
164
  get '/?:image?/?:width?/?:height?/?:color?/?:percent?/?' do
167
165
 
168
- response_image(params[:images], params[:width], params[:height], params[:color], params[:percent])
166
+ response_image(params[:image], params[:width], params[:height], params[:color], params[:percent])
169
167
 
170
168
  end
171
169
 
@@ -1,3 +1,3 @@
1
1
  module Instamatic
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: instamatic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Neely
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-02-11 00:00:00.000000000 Z
11
+ date: 2016-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler