missing_t 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/.gitignore CHANGED
@@ -1,3 +1,4 @@
1
- pkg
1
+ pkg/
2
2
  doc
3
- Manifest
3
+ Manifest
4
+ .bundle/*
data/Gemfile ADDED
@@ -0,0 +1,3 @@
1
+ source "http://rubygems.org"
2
+
3
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,48 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ missing_t (0.3.0)
5
+
6
+ GEM
7
+ remote: http://rubygems.org/
8
+ specs:
9
+ coderay (1.0.8)
10
+ diff-lcs (1.1.3)
11
+ guard (1.5.4)
12
+ listen (>= 0.4.2)
13
+ lumberjack (>= 1.0.2)
14
+ pry (>= 0.9.10)
15
+ thor (>= 0.14.6)
16
+ guard-rspec (2.3.3)
17
+ guard (>= 1.1)
18
+ rspec (~> 2.11)
19
+ listen (0.7.2)
20
+ lumberjack (1.0.2)
21
+ method_source (0.8.1)
22
+ pry (0.9.11.4)
23
+ coderay (~> 1.0.5)
24
+ method_source (~> 0.8)
25
+ slop (~> 3.4)
26
+ rake (10.0.3)
27
+ rb-fsevent (0.9.3)
28
+ rspec (2.12.0)
29
+ rspec-core (~> 2.12.0)
30
+ rspec-expectations (~> 2.12.0)
31
+ rspec-mocks (~> 2.12.0)
32
+ rspec-core (2.12.2)
33
+ rspec-expectations (2.12.1)
34
+ diff-lcs (~> 1.1.3)
35
+ rspec-mocks (2.12.2)
36
+ slop (3.4.3)
37
+ thor (0.17.0)
38
+
39
+ PLATFORMS
40
+ ruby
41
+
42
+ DEPENDENCIES
43
+ guard (~> 1.5.4)
44
+ guard-rspec (~> 2.3.1)
45
+ missing_t!
46
+ rake (~> 10.0.3)
47
+ rb-fsevent (~> 0.9.1)
48
+ rspec (~> 2.12.0)
data/Guardfile ADDED
@@ -0,0 +1,6 @@
1
+ guard 'rspec' do
2
+ watch(%r{^spec/.+_spec\.rb$})
3
+ watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
4
+ watch('spec/spec_helper.rb') { "spec" }
5
+ end
6
+
data/Rakefile CHANGED
@@ -1,22 +1,2 @@
1
- require 'rake'
1
+ require "bundler/gem_tasks"
2
2
 
3
- begin
4
- require 'jeweler'
5
- Jeweler::Tasks.new do |gemspec|
6
- gemspec.name = "missing_t"
7
- gemspec.summary = "See all the missing I18n translations in your Rails project"
8
- gemspec.description = <<-EOF
9
- With missing_t you can easily find all the missing i18n translations in your Rails project.
10
- EOF
11
- gemspec.email = "balint.erdi@gmail.com"
12
- gemspec.homepage = "http://github.com/balinterdi/missing_t"
13
- gemspec.authors = ["Balint Erdi"]
14
- end
15
- Jeweler::GemcutterTasks.new
16
- rescue LoadError
17
- puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
18
- end
19
-
20
- task :default => :spec
21
-
22
- Dir["#{File.dirname(__FILE__)}/tasks/*.rake"].sort.each { |ext| load ext }
data/lib/missing_t.rb CHANGED
@@ -51,6 +51,9 @@ module Helpers
51
51
  end
52
52
 
53
53
  class MissingT
54
+
55
+ VERSION = "0.3.0"
56
+
54
57
  include Helpers
55
58
  extend Forwardable
56
59
  def_delegators :@translations, :[]
data/missing_t.gemspec CHANGED
@@ -1,57 +1,26 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
1
  # -*- encoding: utf-8 -*-
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
4
 
6
- Gem::Specification.new do |s|
7
- s.name = %q{missing_t}
8
- s.version = "0.2.0"
5
+ require 'missing_t'
9
6
 
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Balint Erdi"]
12
- s.date = %q{2010-09-11}
13
- s.default_executable = %q{missing_t}
14
- s.description = %q{ With missing_t you can easily find all the missing i18n translations in your Rails project.
15
- }
16
- s.email = %q{balint.erdi@gmail.com}
17
- s.executables = ["missing_t"]
18
- s.extra_rdoc_files = [
19
- "README.markdown"
20
- ]
21
- s.files = [
22
- ".gitignore",
23
- "CHANGELOG",
24
- "MIT-LICENSE",
25
- "README.markdown",
26
- "Rakefile",
27
- "VERSION",
28
- "bin/missing_t",
29
- "init.rb",
30
- "lib/missing_t.rb",
31
- "missing_t.gemspec",
32
- "spec/missing_t_spec.rb",
33
- "spec/spec_helper.rb",
34
- "tasks/missing_t.rake",
35
- "todos.markdown"
36
- ]
37
- s.homepage = %q{http://github.com/balinterdi/missing_t}
38
- s.rdoc_options = ["--charset=UTF-8"]
39
- s.require_paths = ["lib"]
40
- s.rubygems_version = %q{1.3.7}
41
- s.summary = %q{See all the missing I18n translations in your Rails project}
42
- s.test_files = [
43
- "spec/missing_t_spec.rb",
44
- "spec/spec_helper.rb"
45
- ]
7
+ Gem::Specification.new do |gem|
8
+ gem.name = "missing_t"
9
+ gem.version = MissingT::VERSION
10
+ gem.authors = ["Balint Erdi"]
11
+ gem.email = ["balint.erdi@gmail.com"]
12
+ gem.description = "Finds all the missing i18n translations in your Rails project"
13
+ gem.summary = "Finds all the missing i18n translations in your Rails project"
14
+ gem.homepage = "http://github.com/balinterdi/missing_t"
46
15
 
47
- if s.respond_to? :specification_version then
48
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
49
- s.specification_version = 3
16
+ gem.files = `git ls-files`.split($/)
17
+ gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
18
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
19
+ gem.require_paths = ["lib"]
50
20
 
51
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
52
- else
53
- end
54
- else
55
- end
21
+ gem.add_development_dependency 'rake', ['~> 10.0.3']
22
+ gem.add_development_dependency 'rspec', ['~> 2.12.0']
23
+ gem.add_development_dependency 'guard', ['~> 1.5.4']
24
+ gem.add_development_dependency 'guard-rspec', ['~> 2.3.1']
25
+ gem.add_development_dependency 'rb-fsevent', ['~> 0.9.1']
56
26
  end
57
-
metadata CHANGED
@@ -1,81 +1,171 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: missing_t
3
- version: !ruby/object:Gem::Version
4
- hash: 23
5
- prerelease: false
6
- segments:
7
- - 0
8
- - 2
9
- - 0
10
- version: 0.2.0
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.3.0
5
+ prerelease:
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Balint Erdi
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2010-09-11 00:00:00 +02:00
19
- default_executable: missing_t
20
- dependencies: []
21
-
22
- description: " With missing_t you can easily find all the missing i18n translations in your Rails project.\n"
23
- email: balint.erdi@gmail.com
24
- executables:
25
- - missing_t
12
+ date: 2013-02-07 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rake
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: 10.0.3
22
+ type: :development
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: 10.0.3
30
+ - !ruby/object:Gem::Dependency
31
+ name: rspec
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ~>
36
+ - !ruby/object:Gem::Version
37
+ version: 2.12.0
38
+ type: :development
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: 2.12.0
46
+ - !ruby/object:Gem::Dependency
47
+ name: guard
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ~>
52
+ - !ruby/object:Gem::Version
53
+ version: 1.5.4
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: 1.5.4
62
+ - !ruby/object:Gem::Dependency
63
+ name: guard-rspec
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ~>
68
+ - !ruby/object:Gem::Version
69
+ version: 2.3.1
70
+ type: :development
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: 2.3.1
78
+ - !ruby/object:Gem::Dependency
79
+ name: rb-fsevent
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ~>
84
+ - !ruby/object:Gem::Version
85
+ version: 0.9.1
86
+ type: :development
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ~>
92
+ - !ruby/object:Gem::Version
93
+ version: 0.9.1
94
+ description: Finds all the missing i18n translations in your Rails project
95
+ email:
96
+ - balint.erdi@gmail.com
97
+ executables:
98
+ - !binary |-
99
+ bWlzc2luZ190
26
100
  extensions: []
27
-
28
- extra_rdoc_files:
29
- - README.markdown
30
- files:
31
- - .gitignore
32
- - CHANGELOG
33
- - MIT-LICENSE
34
- - README.markdown
35
- - Rakefile
36
- - VERSION
37
- - bin/missing_t
38
- - init.rb
39
- - lib/missing_t.rb
40
- - missing_t.gemspec
41
- - spec/missing_t_spec.rb
42
- - spec/spec_helper.rb
43
- - tasks/missing_t.rake
44
- - todos.markdown
45
- has_rdoc: true
101
+ extra_rdoc_files: []
102
+ files:
103
+ - !binary |-
104
+ LmdpdGlnbm9yZQ==
105
+ - !binary |-
106
+ Q0hBTkdFTE9H
107
+ - !binary |-
108
+ R2VtZmlsZQ==
109
+ - !binary |-
110
+ R2VtZmlsZS5sb2Nr
111
+ - !binary |-
112
+ R3VhcmRmaWxl
113
+ - !binary |-
114
+ TUlULUxJQ0VOU0U=
115
+ - !binary |-
116
+ UkVBRE1FLm1hcmtkb3du
117
+ - !binary |-
118
+ UmFrZWZpbGU=
119
+ - !binary |-
120
+ VkVSU0lPTg==
121
+ - !binary |-
122
+ YmluL21pc3NpbmdfdA==
123
+ - !binary |-
124
+ aW5pdC5yYg==
125
+ - !binary |-
126
+ bGliL21pc3NpbmdfdC5yYg==
127
+ - !binary |-
128
+ bWlzc2luZ190LmdlbXNwZWM=
129
+ - !binary |-
130
+ c3BlYy9taXNzaW5nX3Rfc3BlYy5yYg==
131
+ - !binary |-
132
+ c3BlYy9zcGVjX2hlbHBlci5yYg==
133
+ - !binary |-
134
+ dGFza3MvbWlzc2luZ190LnJha2U=
135
+ - !binary |-
136
+ dG9kb3MubWFya2Rvd24=
46
137
  homepage: http://github.com/balinterdi/missing_t
47
138
  licenses: []
48
-
49
139
  post_install_message:
50
- rdoc_options:
51
- - --charset=UTF-8
52
- require_paths:
140
+ rdoc_options: []
141
+ require_paths:
53
142
  - lib
54
- required_ruby_version: !ruby/object:Gem::Requirement
143
+ required_ruby_version: !ruby/object:Gem::Requirement
55
144
  none: false
56
- requirements:
57
- - - ">="
58
- - !ruby/object:Gem::Version
59
- hash: 3
60
- segments:
145
+ requirements:
146
+ - - ! '>='
147
+ - !ruby/object:Gem::Version
148
+ version: '0'
149
+ segments:
61
150
  - 0
62
- version: "0"
63
- required_rubygems_version: !ruby/object:Gem::Requirement
151
+ hash: 1420340980301416439
152
+ required_rubygems_version: !ruby/object:Gem::Requirement
64
153
  none: false
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
68
- hash: 3
69
- segments:
154
+ requirements:
155
+ - - ! '>='
156
+ - !ruby/object:Gem::Version
157
+ version: '0'
158
+ segments:
70
159
  - 0
71
- version: "0"
160
+ hash: 1420340980301416439
72
161
  requirements: []
73
-
74
162
  rubyforge_project:
75
- rubygems_version: 1.3.7
163
+ rubygems_version: 1.8.23
76
164
  signing_key:
77
165
  specification_version: 3
78
- summary: See all the missing I18n translations in your Rails project
79
- test_files:
80
- - spec/missing_t_spec.rb
81
- - spec/spec_helper.rb
166
+ summary: Finds all the missing i18n translations in your Rails project
167
+ test_files:
168
+ - !binary |-
169
+ c3BlYy9taXNzaW5nX3Rfc3BlYy5yYg==
170
+ - !binary |-
171
+ c3BlYy9zcGVjX2hlbHBlci5yYg==