Permalink
Browse files

completely remodelled structure

  • Loading branch information...
1 parent 96240df commit 6ea6cff89f9bf90bdc3c1ebd16da98104dbc8cf1 fastcatch committed Jul 18, 2011
View
5 .document
@@ -1,5 +0,0 @@
-lib/**/*.rb
-bin/*
--
-features/**/*.feature
-LICENSE.txt
View
13 .gemspec
@@ -1,13 +0,0 @@
-Gem::Specification.new do |gem|
- gem.name = "i18n-verify"
- gem.homepage = "http://github.com/fastcatch/i18n-verify"
- gem.version = "0.0.3"
- gem.platform = Gem::Platform::RUBY
- gem.license = "MIT"
- gem.summary = %Q{Tools to verify your Ruby on Rails localizations}
- gem.description = %Q{It helps you find keys, undefined translations, duplicate keys, and more}
- gem.email = "axz10@cwru.edu"
- gem.authors = ["fastcatch"]
- gem.files = Dir.glob("lib/**/*") + %w(LICENSE.txt README.markdown)
- gem.require_path = 'lib'
-end
View
47 .gitignore
@@ -1,48 +1 @@
-# rcov generated
-coverage
-
-# rdoc generated
-rdoc
-
-# yard generated
-doc
-.yardoc
-
-# bundler
-.bundle
-
-# jeweler generated
pkg
-
-# Have editor/IDE/OS specific files you need to ignore? Consider using a global gitignore:
-#
-# * Create a file at ~/.gitignore
-# * Include files you want ignored
-# * Run: git config --global core.excludesfile ~/.gitignore
-#
-# After doing this, these files will be ignored in all your git projects,
-# saving you from having to 'pollute' every project you touch with them
-#
-# Not sure what to needs to be ignored for particular editors/OSes? Here's some ideas to get you started. (Remember, remove the leading # of the line)
-#
-# For MacOS:
-#
-#.DS_Store
-
-# For TextMate
-#*.tmproj
-#tmtags
-
-# For emacs:
-#*~
-#\#*
-#.\#*
-
-# For vim:
-#*.swp
-
-# For redcar:
-#.redcar
-
-# For rubinius:
-#*.rbc
View
5 CHANGELOG.md
@@ -0,0 +1,5 @@
+## 0.0.1 (July 10, 2010)
+
+Features:
+
+ - initial import of this dummy gem
View
1 Gemfile
@@ -0,0 +1 @@
+gemspec
View
13 Gemfile.lock
@@ -0,0 +1,13 @@
+PATH
+ remote: .
+ specs:
+ i18n-verify (0.0.4)
+
+GEM
+ specs:
+
+PLATFORMS
+ x86-mingw32
+
+DEPENDENCIES
+ i18n-verify!
View
0 LICENSE.txt → LICENSE
File renamed without changes.
View
0 README.markdown → README.md
File renamed without changes.
View
31 Rakefile
@@ -0,0 +1,31 @@
+begin
+ require "bundler"
+ Bundler.setup
+rescue LoadError
+ $stderr.puts "You need to have Bundler installed to be able build this gem."
+end
+
+gemspec = eval(File.read(Dir["*.gemspec"].first))
+
+
+desc "Validate the gemspec"
+task :gemspec do
+ gemspec.validate
+end
+
+desc "Build gem locally"
+task :build => :gemspec do
+ system "gem build #{gemspec.name}.gemspec"
+ FileUtils.mkdir_p "pkg"
+ FileUtils.mv "#{gemspec.name}-#{gemspec.version}.gem", "pkg"
+end
+
+desc "Install gem locally"
+task :install => :build do
+ system "gem install pkg/#{gemspec.name}-#{gemspec.version}"
+end
+
+desc "Clean automatically generated files"
+task :clean do
+ FileUtils.rm_rf "pkg"
+end
View
BIN i18n-verify-0.0.3.gem
Binary file not shown.
View
31 i18n-verify.gemspec
@@ -0,0 +1,31 @@
+# coding: UTF-8
+
+Gem::Specification.new do |s|
+ s.name = "i18n-verify"
+ s.homepage = "http://github.com/fastcatch/i18n-verify"
+ s.version = "0.0.4"
+ s.platform = Gem::Platform::RUBY
+ s.summary = %Q{Tools to verify your Ruby on Rails localizations}
+ s.description = %Q{It helps you find keys, undefined translations, duplicate keys, and more}
+ s.email = "axz10@cwru.edu"
+ s.authors = ["fastcatch"]
+ s.rubyforge_project = s.name
+
+ s.required_rubygems_version = ">= 1.3.6"
+
+ # If you have runtime dependencies, add them here
+ # s.add_runtime_dependency "other", "~> 1.2"
+
+ # If you have development dependencies, add them here
+ # s.add_development_dependency "another", "= 0.9"
+
+ # The list of files to be contained in the gem
+ s.files = `git ls-files`.split("\n")
+ # s.executables = `git ls-files`.split("\n").map{|f| f =~ /^bin\/(.*)/ ? $1 : nil}.compact
+ # s.extensions = `git ls-files ext/extconf.rb`.split("\n")
+
+ s.require_path = 'lib'
+
+ # For C extensions
+ # s.extensions = "ext/extconf.rb"
+end
View
1 lib/i18n-verify.rb
@@ -0,0 +1 @@
+require 'i18n-verify/railtie' if defined?(Rails)
View
4 lib/verify/railtie.rb → lib/i18n-verify/railtie.rb
@@ -1,7 +1,5 @@
-require 'verify'
-
module Verify
- class VerifyRailtie < Rails::Railtie
+ class I18nVerifyRailtie < Rails::Railtie
rake_tasks do
load "tasks/verify.rake"
end
View
2 lib/verify.rb
@@ -1,2 +0,0 @@
-puts "Loading verify..."
-require 'verify/railtie' if defined?(Rails)

0 comments on commit 6ea6cff

Please sign in to comment.