scriptlet_scanner 0.0.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.
@@ -0,0 +1 @@
1
+ v0.0.0+0
@@ -0,0 +1,3 @@
1
+ # ScriptletScanner
2
+
3
+ A great template parser that helps you to capture and inspect server-side scripts
@@ -0,0 +1,19 @@
1
+ $:.unshift(File.dirname(__FILE__)) unless $:.include?(File.dirname(__FILE__))
2
+
3
+ # Dependencies
4
+ require "rubygems"
5
+ require "bundler/setup"
6
+ # require other dependencies here...
7
+
8
+ # Gem requirements
9
+ # Your can require or autoload gem files here, see examples below
10
+ # require "gem_name/file"
11
+ # module GemName
12
+ # autoload :AClass , "migrator/a_class"
13
+ # autoload :AnotherClass, "migrator/another_class"
14
+ # end
15
+
16
+ module ScriptletScanner
17
+ autoload :VERSION, 'scriptlet_scanner/version'
18
+ end
19
+
@@ -0,0 +1,19 @@
1
+ module ScriptletScanner
2
+ module VERSION #:nodoc:
3
+ version = nil
4
+ version = $1 if ::File.expand_path('../..', __FILE__) =~ /\/scriptlet_scanner-(\d[\w\.]+)/
5
+ version_file = ::File.expand_path('../../../GEM_VERSION', __FILE__)
6
+ version = File.read(version_file) if version.nil? && ::File.exists?(version_file)
7
+ if version.nil? && ::File.exists?(::File.expand_path('../../../.git', __FILE__))
8
+ version = ::StepUp::Driver::Git.new.last_version_tag("HEAD", true) rescue "v0.0.0+0"
9
+ ::File.open(version_file, "w"){ |f| f.write version }
10
+ end
11
+
12
+ STRING = version.gsub(/^v?([^\+]+)\+?\d*$/, '\1')
13
+ MAJOR, MINOR, PATCH, TINY = STRING.scan(/\d+/)
14
+
15
+ def self.to_s
16
+ STRING
17
+ end
18
+ end
19
+ end
metadata ADDED
@@ -0,0 +1,88 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: scriptlet_scanner
3
+ version: !ruby/object:Gem::Version
4
+ hash: 31
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 0
9
+ - 0
10
+ version: 0.0.0
11
+ platform: ruby
12
+ authors:
13
+ - Marcelo Manzan
14
+ - Leonardo Campos
15
+ autorequire:
16
+ bindir: bin
17
+ cert_chain: []
18
+
19
+ date: 2011-09-06 00:00:00 -03:00
20
+ default_executable:
21
+ dependencies:
22
+ - !ruby/object:Gem::Dependency
23
+ version_requirements: &id001 !ruby/object:Gem::Requirement
24
+ none: false
25
+ requirements:
26
+ - - ~>
27
+ - !ruby/object:Gem::Version
28
+ hash: 7
29
+ segments:
30
+ - 0
31
+ - 6
32
+ - 0
33
+ version: 0.6.0
34
+ name: step-up
35
+ prerelease: false
36
+ requirement: *id001
37
+ type: :development
38
+ description:
39
+ email:
40
+ - manzan@gmail.com
41
+ - leonardoaugusto.campos@gmail.com
42
+ executables: []
43
+
44
+ extensions: []
45
+
46
+ extra_rdoc_files: []
47
+
48
+ files:
49
+ - lib/scriptlet_scanner/version.rb
50
+ - lib/scriptlet_scanner.rb
51
+ - GEM_VERSION
52
+ - README.md
53
+ has_rdoc: true
54
+ homepage: http://github.com/abril
55
+ licenses: []
56
+
57
+ post_install_message:
58
+ rdoc_options: []
59
+
60
+ require_paths:
61
+ - lib
62
+ required_ruby_version: !ruby/object:Gem::Requirement
63
+ none: false
64
+ requirements:
65
+ - - ">="
66
+ - !ruby/object:Gem::Version
67
+ hash: 3
68
+ segments:
69
+ - 0
70
+ version: "0"
71
+ required_rubygems_version: !ruby/object:Gem::Requirement
72
+ none: false
73
+ requirements:
74
+ - - ">="
75
+ - !ruby/object:Gem::Version
76
+ hash: 3
77
+ segments:
78
+ - 0
79
+ version: "0"
80
+ requirements: []
81
+
82
+ rubyforge_project:
83
+ rubygems_version: 1.3.7
84
+ signing_key:
85
+ specification_version: 3
86
+ summary: A great template parser that helps you to capture and inspect server-side scripts
87
+ test_files: []
88
+