Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 192 lines (157 sloc) 6.676 kb
c0486666 »
2012-01-12 noe go --safe-override (1.7.0)
1 # We require your library, mainly to have access to the VERSION number.
c7eb383f »
2011-01-17 WLang turns to skeleton-driven coding with Noe
2 # Feel free to set $version manually.
3 $LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
309e8394 »
2011-02-25 Bundled noe's template up
4 require "wlang/version"
5 $version = WLang::Version.to_s
c7eb383f »
2011-01-17 WLang turns to skeleton-driven coding with Noe
6
7 #
8 # This is your Gem specification. Default values are provided so that your library
9 # should be correctly packaged given what you have described in the .noespec file.
10 #
11 Gem::Specification.new do |s|
c0486666 »
2012-01-12 noe go --safe-override (1.7.0)
12
c7eb383f »
2011-01-17 WLang turns to skeleton-driven coding with Noe
13 ################################################################### ABOUT YOUR GEM
c0486666 »
2012-01-12 noe go --safe-override (1.7.0)
14
15 # Gem name (required)
c7eb383f »
2011-01-17 WLang turns to skeleton-driven coding with Noe
16 s.name = "wlang"
c0486666 »
2012-01-12 noe go --safe-override (1.7.0)
17
c7eb383f »
2011-01-17 WLang turns to skeleton-driven coding with Noe
18 # Gem version (required)
19 s.version = $version
c0486666 »
2012-01-12 noe go --safe-override (1.7.0)
20
c7eb383f »
2011-01-17 WLang turns to skeleton-driven coding with Noe
21 # A short summary of this gem
22 #
23 # This is displayed in `gem list -d`.
24 s.summary = "WLang is a powerful code generation and templating engine"
25
26 # A long description of this gem (required)
27 #
28 # The description should be more detailed than the summary. For example,
29 # you might wish to copy the entire README into the description.
30 s.description = "WLang is a general-purpose *code generation*/*templating engine*. It's main aim is to help you generating\nweb pages, sql queries, ruby code (that is, generating code in general) without having to worry too much \nabout html entities encoding, sql back quoting, string escaping and the like. WLang proposes a generic \nengine that you can extend to fit your needs. It also proposes standard instantiations of this engine \nfor common tasks such as creating SQL queries, instantiating web pages, and so on."
c0486666 »
2012-01-12 noe go --safe-override (1.7.0)
31
c7eb383f »
2011-01-17 WLang turns to skeleton-driven coding with Noe
32 # The URL of this gem home page (optional)
33 s.homepage = "http://github.com/blambeau/wlang"
34
35 # Gem publication date (required but auto)
36 #
37 # Today is automatically used by default, uncomment only if
38 # you know what you do!
39 #
40 # s.date = Time.now.strftime('%Y-%m-%d')
c0486666 »
2012-01-12 noe go --safe-override (1.7.0)
41
c7eb383f »
2011-01-17 WLang turns to skeleton-driven coding with Noe
42 # The license(s) for the library. Each license must be a short name, no
43 # more than 64 characters.
44 #
45 # s.licences = %w{}
46
47 # The rubyforge project this gem lives under (optional)
48 #
49 # s.rubyforge_project = nil
50
51 ################################################################### ABOUT THE AUTHORS
c0486666 »
2012-01-12 noe go --safe-override (1.7.0)
52
c7eb383f »
2011-01-17 WLang turns to skeleton-driven coding with Noe
53 # The list of author names who wrote this gem.
54 #
55 # If you are providing multiple authors and multiple emails they should be
56 # in the same order.
c0486666 »
2012-01-12 noe go --safe-override (1.7.0)
57 #
c7eb383f »
2011-01-17 WLang turns to skeleton-driven coding with Noe
58 s.authors = ["Bernard Lambeau", "Louis Lambeau"]
c0486666 »
2012-01-12 noe go --safe-override (1.7.0)
59
c7eb383f »
2011-01-17 WLang turns to skeleton-driven coding with Noe
60 # Contact emails for this gem
61 #
62 # If you are providing multiple authors and multiple emails they should be
63 # in the same order.
64 #
c0486666 »
2012-01-12 noe go --safe-override (1.7.0)
65 # NOTE: Somewhat strangly this attribute is always singular!
c7eb383f »
2011-01-17 WLang turns to skeleton-driven coding with Noe
66 # Don't replace by s.emails = ...
67 s.email = ["blambeau@gmail.com", "llambeau@gmail.com"]
68
69 ################################################################### PATHS, FILES, BINARIES
c0486666 »
2012-01-12 noe go --safe-override (1.7.0)
70
71 # Paths in the gem to add to $LOAD_PATH when this gem is
c7eb383f »
2011-01-17 WLang turns to skeleton-driven coding with Noe
72 # activated (required).
73 #
74 # The default 'lib' is typically sufficient.
75 s.require_paths = ["lib"]
c0486666 »
2012-01-12 noe go --safe-override (1.7.0)
76
c7eb383f »
2011-01-17 WLang turns to skeleton-driven coding with Noe
77 # Files included in this gem.
78 #
79 # By default, we take all files included in the Manifest.txt file on root
c0486666 »
2012-01-12 noe go --safe-override (1.7.0)
80 # of the project. Entries of the manifest are interpreted as Dir[...]
c7eb383f »
2011-01-17 WLang turns to skeleton-driven coding with Noe
81 # patterns so that lazy people may use wilcards like lib/**/*
82 #
309e8394 »
2011-02-25 Bundled noe's template up
83 here = File.expand_path(File.dirname(__FILE__))
c7eb383f »
2011-01-17 WLang turns to skeleton-driven coding with Noe
84 s.files = File.readlines(File.join(here, 'Manifest.txt')).
309e8394 »
2011-02-25 Bundled noe's template up
85 inject([]){|files, pattern| files + Dir[File.join(here, pattern.strip)]}.
86 collect{|x| x[(1+here.size)..-1]}
c7eb383f »
2011-01-17 WLang turns to skeleton-driven coding with Noe
87
88 # Test files included in this gem.
89 #
90 s.test_files = Dir["test/**/*"] + Dir["spec/**/*"]
91
92 # The path in the gem for executable scripts (optional)
93 #
94 s.bindir = "bin"
95
96 # Executables included in the gem.
97 #
98 s.executables = (Dir["bin/*"]).collect{|f| File.basename(f)}
99
100 ################################################################### REQUIREMENTS & INSTALL
101 # Remember the gem version requirements operators and schemes:
102 # = Equals version
103 # != Not equal to version
104 # > Greater than version
105 # < Less than version
106 # >= Greater than or equal to
107 # <= Less than or equal to
108 # ~> Approximately greater than
109 #
c0486666 »
2012-01-12 noe go --safe-override (1.7.0)
110 # Don't forget to have a look at http://lmgtfy.com/?q=Ruby+Versioning+Policies
c7eb383f »
2011-01-17 WLang turns to skeleton-driven coding with Noe
111 # for setting your gem version.
112 #
113 # For your requirements to other gems, remember that
114 # ">= 2.2.0" (optimistic: specify minimal version)
115 # ">= 2.2.0", "< 3.0" (pessimistic: not greater than the next major)
116 # "~> 2.2" (shortcut for ">= 2.2.0", "< 3.0")
117 # "~> 2.2.0" (shortcut for ">= 2.2.0", "< 2.3.0")
118 #
119
120 #
121 # One call to add_dependency('gem_name', 'gem version requirement') for each
c0486666 »
2012-01-12 noe go --safe-override (1.7.0)
122 # runtime dependency. These gems will be installed with your gem.
c7eb383f »
2011-01-17 WLang turns to skeleton-driven coding with Noe
123 # One call to add_development_dependency('gem_name', 'gem version requirement')
124 # for each development dependency. These gems are required for developers
125 #
75ba8da4 »
2011-07-11 Bumped rake dep to 0.9.2
126 s.add_development_dependency("rake", "~> 0.9.2")
c7eb383f »
2011-01-17 WLang turns to skeleton-driven coding with Noe
127 s.add_development_dependency("bundler", "~> 1.0")
a8feec98 »
2012-01-12 Bump dependencies up
128 s.add_development_dependency("rspec", "~> 2.8.0")
c7eb383f »
2011-01-17 WLang turns to skeleton-driven coding with Noe
129 s.add_development_dependency("yard", "~> 0.6.4")
a8feec98 »
2012-01-12 Bump dependencies up
130 s.add_development_dependency("bluecloth", "~> 2.2.0")
c7eb383f »
2011-01-17 WLang turns to skeleton-driven coding with Noe
131 s.add_development_dependency("rdoc", ">= 0")
132 s.add_development_dependency("coderay", ">= 0")
133 s.add_development_dependency("RedCloth", ">= 0")
134
135
136 # The version of ruby required by this gem
137 #
138 # Uncomment and set this if your gem requires specific ruby versions.
139 #
140 # s.required_ruby_version = ">= 0"
141
142 # The RubyGems version required by this gem
143 #
144 # s.required_rubygems_version = ">= 0"
145
146 # The platform this gem runs on. See Gem::Platform for details.
147 #
148 # s.platform = nil
149
c0486666 »
2012-01-12 noe go --safe-override (1.7.0)
150 # Extensions to build when installing the gem.
c7eb383f »
2011-01-17 WLang turns to skeleton-driven coding with Noe
151 #
c0486666 »
2012-01-12 noe go --safe-override (1.7.0)
152 # Valid types of extensions are extconf.rb files, configure scripts
c7eb383f »
2011-01-17 WLang turns to skeleton-driven coding with Noe
153 # and rakefiles or mkrf_conf files.
154 #
155 s.extensions = []
c0486666 »
2012-01-12 noe go --safe-override (1.7.0)
156
157 # External (to RubyGems) requirements that must be met for this gem to work.
c7eb383f »
2011-01-17 WLang turns to skeleton-driven coding with Noe
158 # It’s simply information for the user.
159 #
160 s.requirements = nil
c0486666 »
2012-01-12 noe go --safe-override (1.7.0)
161
c7eb383f »
2011-01-17 WLang turns to skeleton-driven coding with Noe
162 # A message that gets displayed after the gem is installed
163 #
164 # Uncomment and set this if you want to say something to the user
165 # after gem installation
166 #
167 s.post_install_message = nil
168
169 ################################################################### SECURITY
170
171 # The key used to sign this gem. See Gem::Security for details.
172 #
173 # s.signing_key = nil
174
175 # The certificate chain used to sign this gem. See Gem::Security for
176 # details.
177 #
178 # s.cert_chain = []
c0486666 »
2012-01-12 noe go --safe-override (1.7.0)
179
c7eb383f »
2011-01-17 WLang turns to skeleton-driven coding with Noe
180 ################################################################### RDOC
181
182 # An ARGV style array of options to RDoc
183 #
184 # See 'rdoc --help' about this
185 #
186 s.rdoc_options = []
187
188 # Extra files to add to RDoc such as README
189 #
190 s.extra_rdoc_files = Dir["README.md"] + Dir["CHANGELOG.md"] + Dir["LICENCE.md"]
191
192 end
Something went wrong with that request. Please try again.