haml-i18n-extractor 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- OWE4MmIxYTMzMzQwMWU3YWRkYjg1ZDYyNjNkZmM4ZTgxMzY1ZTQ5Yg==
4
+ ZDE3ZjJhMzg1OGM5MTIxYjJjZjljMWE0NDMzMjZkNmNkNDJjZGU0OA==
5
5
  data.tar.gz: !binary |-
6
- ZmE2OTQ5MjFmNmZiYTI1YzFiMmU1MzVlMWVmNGUwZDFlODBjMWU1ZA==
6
+ YzBhODViNGViM2VlYjM4YzY1ZjhmMjM2YTJmNzkxNWViMzI1Y2EzZQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- MWRkY2QyNGU2NDhhYTQzYWM4MTJiNGI0NmY3MjFmMWIyYWFhZjNlNzBjNzRi
10
- NmU4MGYxNDM3ODYwNDFmMDNiZDI4NGQ2NWU4NDgyZjRmNzU0MTFkZjg2MWI4
11
- NGEyNDJiMWNiNjMxYjRmNDM2YTUwYWY4MDBkZTExY2JlMTIzOGI=
9
+ ZDE0ZDFkYjZkOTg2Y2Q3MTRhOGY4ZWUwN2UzOTliMWExYTIxNGY5ZTBhOTE4
10
+ YmY3YTg2MmY1YTQ3MzdmMmQwMDA3YjQ0ZDZhZDBlYmE4ZThjZDU0Y2M5OGY3
11
+ MTBmNDViNzc2NzU0MGIxYWI0YWI4ZmNkYmIwZjY4ZjlkZTdiNzY=
12
12
  data.tar.gz: !binary |-
13
- ODE5MGJiZWQ4MGNhZWQzMDczZTRmNWJiYTMwNDUxMWYzOTI2M2YyZmYxM2Ew
14
- YmFkZjBkYmMwNGZmYWVlMzJmMTRjMjc0M2FiZjM2MjViZjA1ZTA5NzRjZWNj
15
- MTJkNjhiOGFkYzk1YjM0YTkwMzhhYzk0YzdiZTlmMDUyNmY4ZDM=
13
+ NDEzZjMyODk1YWM5YWU2ZGI0OWE0NmVmYWVmNjQxYzVhMjE1ZjZlODg1Yzg0
14
+ MzY5MDI0ZDYyZGY0YmM3MGQyMWQ2NTBlYzJkMGIwMzM5Mzc4YjgzN2FlYmQ1
15
+ MjFlZDUxMThmMDE3MWE3NjZhZjI1NTc2OGY5ZjZlOWU4YzBhOWQ=
data/README.md CHANGED
@@ -33,10 +33,12 @@ Check out the quite brief movie/swf file demo of this lib's executable in `demo/
33
33
 
34
34
  [Demo](http://shairosenfeld.com/haml-i18n-extractor-demo.swf)
35
35
 
36
- Things that have been added since recording demo:
36
+ The demo will probably be outdated at some point, but the main idea holds. Some of the stuff not in there:
37
37
 
38
38
  - A "tag" functionality, which enables you to tag a line you want to review for later, if you are unsure you want to replace it. It will create a list of /file/path:42 tags for you to go and revisit later.
39
39
  - You can use "Next" if you're in the middle of processing a file and go to the next file.
40
+ - Option parsing.
41
+ - Other stuff that will come up.
40
42
 
41
43
  Have any other ideas? Let me know or better yet, submit a pull request.
42
44
 
@@ -5,10 +5,16 @@ require 'haml-i18n-extractor'
5
5
  @prompter = Haml::I18n::Extractor::Prompter.new
6
6
 
7
7
  option_parser = Trollop::Parser.new do
8
+ banner <<-EOB
9
+
10
+ haml-i18n-extractor -p <path> [--interactive|--non-interactive] [--other-options]
11
+
12
+ See options list:
13
+ EOB
8
14
  version "Current version: #{Haml::I18n::Extractor::VERSION}"
15
+ opt :path, "path", :type => String
9
16
  opt :interactive, "interactive mode", :short => 'i'
10
17
  opt :non_interactive, "non interactive mode", :short => 'n'
11
- opt :path, "path", :type => String
12
18
  opt :yaml_file, "yaml file, defaults to en", :type => String
13
19
  end
14
20
 
@@ -1,7 +1,7 @@
1
1
  module Haml
2
2
  module I18n
3
3
  class Extractor
4
- VERSION = "0.2.0"
4
+ VERSION = "0.2.1"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: haml-i18n-extractor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shai Rosenfeld