jasper-rails 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -1,8 +1,5 @@
1
1
  source "http://rubygems.org"
2
2
 
3
- gem 'rspec', '>= 2.8.0'
4
- gem 'rspec-rails', '>= 2.8.0'
5
3
  gem 'rjb', '>= 1.4.0'
6
- gem 'pdf-inspector', '>= 1.0.1', :require => "pdf/inspector"
7
4
 
8
5
  gemspec
data/jasper-rails.gemspec CHANGED
@@ -16,8 +16,5 @@ Gem::Specification.new do |s|
16
16
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
17
17
  s.require_paths = ["lib"]
18
18
 
19
- s.add_dependency('rspec', '>= 2.8.0')
20
- s.add_dependency('rspec-rails', '>= 2.8.0')
21
19
  s.add_dependency('rjb', '>= 1.4.0')
22
- s.add_dependency('pdf-inspector', '>= 1.0.1')
23
20
  end
data/lib/jasper-rails.rb CHANGED
@@ -1,8 +1,8 @@
1
1
  require "jasper-rails/version"
2
2
  require "rails"
3
3
  require "rjb"
4
- require "rspec"
5
- require "pdf/inspector"
4
+
5
+ Mime::Type.register "application/pdf", :pdf
6
6
 
7
7
  module JasperRails
8
8
 
@@ -88,18 +88,3 @@ module JasperRails
88
88
  end
89
89
 
90
90
  end
91
-
92
- RSpec::Matchers.define :contain do |string|
93
- match do |response|
94
- @pdf = PDF::Inspector::Text::analyze(response.body)
95
- @pdf.strings.include? string
96
- end
97
-
98
- failure_message_for_should do |response|
99
- "expected that the PDF text would contain #{expected}. It only contains: #{@pdf.strings.to_s}"
100
- end
101
-
102
- failure_message_for_should_not do |response|
103
- "expected that the PDF text would not contain #{expected}. But it does: #{@pdf.strings.to_s}"
104
- end
105
- end
@@ -1,4 +1,4 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  module JasperRails
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jasper-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,33 +10,11 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-05-16 00:00:00.000000000Z
13
+ date: 2012-05-17 00:00:00.000000000Z
14
14
  dependencies:
15
- - !ruby/object:Gem::Dependency
16
- name: rspec
17
- requirement: &70277456604960 !ruby/object:Gem::Requirement
18
- none: false
19
- requirements:
20
- - - ! '>='
21
- - !ruby/object:Gem::Version
22
- version: 2.8.0
23
- type: :runtime
24
- prerelease: false
25
- version_requirements: *70277456604960
26
- - !ruby/object:Gem::Dependency
27
- name: rspec-rails
28
- requirement: &70277456604480 !ruby/object:Gem::Requirement
29
- none: false
30
- requirements:
31
- - - ! '>='
32
- - !ruby/object:Gem::Version
33
- version: 2.8.0
34
- type: :runtime
35
- prerelease: false
36
- version_requirements: *70277456604480
37
15
  - !ruby/object:Gem::Dependency
38
16
  name: rjb
39
- requirement: &70277456603940 !ruby/object:Gem::Requirement
17
+ requirement: &70175555391060 !ruby/object:Gem::Requirement
40
18
  none: false
41
19
  requirements:
42
20
  - - ! '>='
@@ -44,18 +22,7 @@ dependencies:
44
22
  version: 1.4.0
45
23
  type: :runtime
46
24
  prerelease: false
47
- version_requirements: *70277456603940
48
- - !ruby/object:Gem::Dependency
49
- name: pdf-inspector
50
- requirement: &70277456603480 !ruby/object:Gem::Requirement
51
- none: false
52
- requirements:
53
- - - ! '>='
54
- - !ruby/object:Gem::Version
55
- version: 1.0.1
56
- type: :runtime
57
- prerelease: false
58
- version_requirements: *70277456603480
25
+ version_requirements: *70175555391060
59
26
  description: Generate pdf reports on Rails using Jasper Reports reporting tool
60
27
  email: rodrigomaia@grupofortes.com.br
61
28
  executables: []