truncate_html 0.5.2 → 0.5.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- truncate_html (0.5.2)
4
+ truncate_html (0.5.3)
5
5
 
6
6
  GEM
7
7
  remote: http://rubygems.org/
@@ -87,6 +87,6 @@ PLATFORMS
87
87
  ruby
88
88
 
89
89
  DEPENDENCIES
90
- rails (= 3.0.3)
91
- rspec-rails (= 2.3)
90
+ rails (~> 3.0.3)
91
+ rspec-rails (~> 2.3)
92
92
  truncate_html!
data/Rakefile CHANGED
@@ -35,21 +35,16 @@ RSpec::Core::RakeTask.new(:spec) do |t|
35
35
  end
36
36
 
37
37
  namespace :gem do
38
- def run(command)
39
- puts "+ #{command}"
40
- result = system(command)
41
- puts "- #{result}"
42
- end
43
38
  desc "Release to rubygems"
44
39
  task :release do
45
40
  require File.expand_path('lib/truncate_html/version', File.dirname(__FILE__))
46
41
  version = TruncateHtml::VERSION
47
42
  message = "Bump to version #{version}"
48
- run "git tag -a -m '#{message}' v#{version}"
49
- run "git push origin master"
50
- run "git push origin $(git tag | tail -1)"
51
- run "gem build truncate_html.gemspec"
52
- run "gem push truncate_html-#{version}.gem"
53
- run "rm truncate_html-#{version}.gem"
43
+ system "git tag -a -m '#{message}' v#{version}"
44
+ system "git push origin master"
45
+ system "git push origin $(git tag | tail -1)"
46
+ system "gem build truncate_html.gemspec"
47
+ system "gem push truncate_html-#{version}.gem"
48
+ system "rm truncate_html-#{version}.gem"
54
49
  end
55
50
  end
@@ -1,3 +1,3 @@
1
1
  module TruncateHtml
2
- VERSION = "0.5.2"
2
+ VERSION = "0.5.3"
3
3
  end
@@ -16,6 +16,6 @@ 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_development_dependency "rspec-rails", "2.3"
20
- s.add_development_dependency "rails", "3.0.3"
19
+ s.add_development_dependency "rspec-rails", "~> 2.3"
20
+ s.add_development_dependency "rails", "~> 3.0.3"
21
21
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: truncate_html
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,30 +9,30 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-02-20 00:00:00.000000000Z
12
+ date: 2012-02-21 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec-rails
16
- requirement: &70300852391320 !ruby/object:Gem::Requirement
16
+ requirement: &70176512127820 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
- - - =
19
+ - - ~>
20
20
  - !ruby/object:Gem::Version
21
21
  version: '2.3'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *70300852391320
24
+ version_requirements: *70176512127820
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rails
27
- requirement: &70300852390700 !ruby/object:Gem::Requirement
27
+ requirement: &70176512127320 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
- - - =
30
+ - - ~>
31
31
  - !ruby/object:Gem::Version
32
32
  version: 3.0.3
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70300852390700
35
+ version_requirements: *70176512127320
36
36
  description: Truncates html so you don't have to
37
37
  email:
38
38
  - harold.gimenez@gmail.com
@@ -99,7 +99,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
99
99
  version: '0'
100
100
  segments:
101
101
  - 0
102
- hash: -4030667347302923269
102
+ hash: -3004529323348749608
103
103
  required_rubygems_version: !ruby/object:Gem::Requirement
104
104
  none: false
105
105
  requirements:
@@ -108,7 +108,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
108
108
  version: '0'
109
109
  segments:
110
110
  - 0
111
- hash: -4030667347302923269
111
+ hash: -3004529323348749608
112
112
  requirements: []
113
113
  rubyforge_project:
114
114
  rubygems_version: 1.8.10