derelicte 0.0.7-java → 0.0.8-java

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: aa1dd5c05414ba885696563f358eb68842f2b4a5
4
- data.tar.gz: 3be1c863f27285bd59bbf87a8f984d997821351f
3
+ metadata.gz: 4241bf0bc3b4dfcd7cbc6d6657e617de3bfac16d
4
+ data.tar.gz: 73ec2b33daeae8f087eda4e11f70cbeffd3cbe9a
5
5
  SHA512:
6
- metadata.gz: c254547a333140932fcf521a8ebc486b4ddd7cd0fb0821c00a2276de763503704b89284b74970ec9490ed8b03c5a41bd7c8009dbee23120b482514c4c30e3f63
7
- data.tar.gz: fca6348e9a5b6e237770d279f0e6e43d44e4806e4463cf6556b4915b207991b847385bac545f8a5b09e0dfb26eba9f92d17bd7b98bc2a6eec113dca4f3dae792
6
+ metadata.gz: a1109f783ce6159fce4ca8d7ef32e59d728c9e121ac763d7fc2114979523a901fd8134f96a4880008491ab1f26a3e2ce6d52ae714ce3ec6194971aa867a32873
7
+ data.tar.gz: e04b33daea638139cf3ce3c8198c87aba1af19ead471252ae56f715dee417c25b8c9bdeeb045baabe4fcec67a65db24cedbdd54ade171176fbe2aa503247e833
@@ -1,3 +1,7 @@
1
1
  language: ruby
2
+ sudo: false
3
+ cache: bundler
2
4
  rvm:
3
- - jruby
5
+ - jruby-1.7
6
+ - jruby-9.0.4.0
7
+ - jruby-head
data/README.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # Derelicte
2
2
 
3
- [![Build Status](https://travis-ci.org/hqmq/derelicte.png)](https://travis-ci.org/hqmq/derelicte)
4
- [![Code Climate](https://codeclimate.com/github/hqmq/derelicte.png)](https://codeclimate.com/github/hqmq/derelicte)
5
- [![Dependency Status](https://gemnasium.com/hqmq/derelicte.png)](https://gemnasium.com/hqmq/derelicte)
3
+ [![Build Status](https://travis-ci.org/mmmries/derelicte.png)](https://travis-ci.org/mmmries/derelicte)
4
+ [![Code Climate](https://codeclimate.com/github/mmmries/derelicte.png)](https://codeclimate.com/github/mmmries/derelicte)
5
+ [![Dependency Status](https://gemnasium.com/mmmries/derelicte.png)](https://gemnasium.com/mmmries/derelicte)
6
6
 
7
7
  ![Derelicte Gif](http://24.media.tumblr.com/d7c64874eeae527c2661cda9c107984c/tumblr_msas87gWdt1qaehqco1_400.gif)
8
8
 
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ["michael@riesd.com"]
11
11
  spec.summary = "JRuby specific css inliner aiming for maximum performance"
12
12
  spec.description = "A JRuby specific gem that takes an html template and css file and inlines the css rules into style attributes. This is mostly useful for sending emails."
13
- spec.homepage = "https://github.com/hqmq/derelicte"
13
+ spec.homepage = "https://github.com/mmmries/derelicte"
14
14
  spec.license = "MIT"
15
15
  spec.platform = "java"
16
16
 
@@ -21,7 +21,6 @@ Gem::Specification.new do |spec|
21
21
 
22
22
  spec.add_development_dependency "bundler", "~> 1.5"
23
23
  spec.add_development_dependency "rake"
24
- spec.add_development_dependency "rspec", "~> 2.14"
25
- spec.add_development_dependency "better_receive", '~> 0.6'
24
+ spec.add_development_dependency "rspec", "~> 3.4"
26
25
  spec.add_development_dependency "pry-nav"
27
26
  end
@@ -1,3 +1,3 @@
1
1
  module Derelicte
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
@@ -8,11 +8,8 @@ describe ::Derelicte do
8
8
  let(:inliner) { ::Derelicte::Inliner.new }
9
9
 
10
10
  it "has a convenience method for doing inlining" do
11
- inliner.better_receive(:inline)
12
- .with(html, css).and_return(inlined)
13
-
14
- ::Derelicte::Inliner.better_receive(:new)
15
- .with().and_return( inliner )
11
+ expect(::Derelicte::Inliner).to receive(:new).with(no_args).and_return( inliner )
12
+ expect(inliner).to receive(:inline).with(html, css).and_return(inlined)
16
13
 
17
14
  expect(subject.inline(html, css)).to eq(inlined)
18
15
  end
@@ -1,11 +1,14 @@
1
1
  require 'bundler/setup'
2
2
  require 'rspec'
3
- require 'better_receive'
4
3
  require 'derelicte'
5
4
 
6
5
  RSpec.configure do |c|
7
6
  c.color = true
8
7
  c.order = :rand
8
+
9
+ c.mock_with :rspec do |mocks|
10
+ mocks.verify_partial_doubles = true
11
+ end
9
12
  end
10
13
 
11
14
  def file_contents(basename)
metadata CHANGED
@@ -1,85 +1,71 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: derelicte
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: java
6
6
  authors:
7
7
  - Michael Ries
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-25 00:00:00.000000000 Z
11
+ date: 2015-11-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: bundler
15
- version_requirements: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ~>
18
- - !ruby/object:Gem::Version
19
- version: '1.5'
20
14
  requirement: !ruby/object:Gem::Requirement
21
15
  requirements:
22
- - - ~>
16
+ - - "~>"
23
17
  - !ruby/object:Gem::Version
24
18
  version: '1.5'
19
+ name: bundler
25
20
  prerelease: false
26
21
  type: :development
27
- - !ruby/object:Gem::Dependency
28
- name: rake
29
22
  version_requirements: !ruby/object:Gem::Requirement
30
23
  requirements:
31
- - - '>='
24
+ - - "~>"
32
25
  - !ruby/object:Gem::Version
33
- version: '0'
26
+ version: '1.5'
27
+ - !ruby/object:Gem::Dependency
34
28
  requirement: !ruby/object:Gem::Requirement
35
29
  requirements:
36
- - - '>='
30
+ - - ">="
37
31
  - !ruby/object:Gem::Version
38
32
  version: '0'
33
+ name: rake
39
34
  prerelease: false
40
35
  type: :development
41
- - !ruby/object:Gem::Dependency
42
- name: rspec
43
36
  version_requirements: !ruby/object:Gem::Requirement
44
37
  requirements:
45
- - - ~>
38
+ - - ">="
46
39
  - !ruby/object:Gem::Version
47
- version: '2.14'
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
48
42
  requirement: !ruby/object:Gem::Requirement
49
43
  requirements:
50
- - - ~>
44
+ - - "~>"
51
45
  - !ruby/object:Gem::Version
52
- version: '2.14'
46
+ version: '3.4'
47
+ name: rspec
53
48
  prerelease: false
54
49
  type: :development
55
- - !ruby/object:Gem::Dependency
56
- name: better_receive
57
50
  version_requirements: !ruby/object:Gem::Requirement
58
51
  requirements:
59
- - - ~>
52
+ - - "~>"
60
53
  - !ruby/object:Gem::Version
61
- version: '0.6'
54
+ version: '3.4'
55
+ - !ruby/object:Gem::Dependency
62
56
  requirement: !ruby/object:Gem::Requirement
63
57
  requirements:
64
- - - ~>
58
+ - - ">="
65
59
  - !ruby/object:Gem::Version
66
- version: '0.6'
60
+ version: '0'
61
+ name: pry-nav
67
62
  prerelease: false
68
63
  type: :development
69
- - !ruby/object:Gem::Dependency
70
- name: pry-nav
71
64
  version_requirements: !ruby/object:Gem::Requirement
72
65
  requirements:
73
- - - '>='
66
+ - - ">="
74
67
  - !ruby/object:Gem::Version
75
68
  version: '0'
76
- requirement: !ruby/object:Gem::Requirement
77
- requirements:
78
- - - '>='
79
- - !ruby/object:Gem::Version
80
- version: '0'
81
- prerelease: false
82
- type: :development
83
69
  description: A JRuby specific gem that takes an html template and css file and inlines the css rules into style attributes. This is mostly useful for sending emails.
84
70
  email:
85
71
  - michael@riesd.com
@@ -87,10 +73,9 @@ executables: []
87
73
  extensions: []
88
74
  extra_rdoc_files: []
89
75
  files:
90
- - .gitignore
91
- - .ruby-gemset
92
- - .ruby-version
93
- - .travis.yml
76
+ - ".gitignore"
77
+ - ".ruby-gemset"
78
+ - ".travis.yml"
94
79
  - Gemfile
95
80
  - LICENSE.txt
96
81
  - README.md
@@ -118,7 +103,7 @@ files:
118
103
  - spec/lib/derelicte/inliner_spec.rb
119
104
  - spec/lib/derelicte_spec.rb
120
105
  - spec/spec_helper.rb
121
- homepage: https://github.com/hqmq/derelicte
106
+ homepage: https://github.com/mmmries/derelicte
122
107
  licenses:
123
108
  - MIT
124
109
  metadata: {}
@@ -128,17 +113,17 @@ require_paths:
128
113
  - lib
129
114
  required_ruby_version: !ruby/object:Gem::Requirement
130
115
  requirements:
131
- - - '>='
116
+ - - ">="
132
117
  - !ruby/object:Gem::Version
133
118
  version: '0'
134
119
  required_rubygems_version: !ruby/object:Gem::Requirement
135
120
  requirements:
136
- - - '>='
121
+ - - ">="
137
122
  - !ruby/object:Gem::Version
138
123
  version: '0'
139
124
  requirements: []
140
125
  rubyforge_project:
141
- rubygems_version: 2.2.1
126
+ rubygems_version: 2.5.0
142
127
  signing_key:
143
128
  specification_version: 4
144
129
  summary: JRuby specific css inliner aiming for maximum performance
@@ -1 +0,0 @@
1
- jruby-1.7.10