css_convertor 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,7 +7,6 @@ Gem::Specification.new do |gem|
7
7
  gem.description = %q{css_convertor flips the layout of your CSS file. You can use it if you're designing a website that supports both LTR and RTL languages: css_convertor will create a seperate CSS file of the new layout.}
8
8
  gem.summary = %q{CSS LTR-RTL layout converter}
9
9
  gem.homepage = "http://rubygems.org/gems/css_convertor"
10
- gem.homepage = ""
11
10
 
12
11
  gem.files = `git ls-files`.split($\)
13
12
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
@@ -56,9 +56,10 @@ module CssConvertor
56
56
  'direction'=> :direction
57
57
  }
58
58
  def scan_and_replace(str)
59
- str.gsub(/([a-z\-]+)\s*:\s*(.+?)(?=\s*[;}])/) {"#{property($1)}: #{value($1, $2)}"}
59
+ str.gsub(/([a-z\-]+)\s*:\s*(.+?)(?=\s*[;}])/) {"#{property($1)}:#{value($1, $2)}"}
60
60
  end
61
61
  def property(property_name)
62
+ puts property_name
62
63
  PROPERTY_MAP[property_name] || property_name
63
64
  end
64
65
  def value(property_name, property_value)
@@ -1,3 +1,3 @@
1
1
  module CssConvertor
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: css_convertor
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-28 00:00:00.000000000 Z
12
+ date: 2013-03-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
@@ -66,7 +66,7 @@ files:
66
66
  - lib/css_convertor/simple_styler.rb
67
67
  - lib/css_convertor/version.rb
68
68
  - test/test_convertor.rb
69
- homepage: ''
69
+ homepage: http://rubygems.org/gems/css_convertor
70
70
  licenses: []
71
71
  post_install_message:
72
72
  rdoc_options: []
@@ -80,7 +80,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
80
80
  version: '0'
81
81
  segments:
82
82
  - 0
83
- hash: 533531759
83
+ hash: -377099343
84
84
  required_rubygems_version: !ruby/object:Gem::Requirement
85
85
  none: false
86
86
  requirements:
@@ -89,10 +89,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
89
89
  version: '0'
90
90
  segments:
91
91
  - 0
92
- hash: 533531759
92
+ hash: -377099343
93
93
  requirements: []
94
94
  rubyforge_project:
95
- rubygems_version: 1.8.24
95
+ rubygems_version: 1.8.25
96
96
  signing_key:
97
97
  specification_version: 3
98
98
  summary: CSS LTR-RTL layout converter