sinatra-chassis 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -345,7 +345,7 @@ A valid DateTime object is the only required argument. The others are recommende
345
345
  To convert back to a DateTime object, use the ```time_for``` Sinatra helper on the submitted form fields:
346
346
 
347
347
  ```ruby
348
- time_for("#{params[:dob_month]}-#{params[:dob_day]}-#{params[:dob_year]}")
348
+ time_for("#{params[:dob_year]}-#{params[:dob_month]}-#{params[:dob_day]}")
349
349
  ```
350
350
 
351
351
  ### Hiding Elements
@@ -421,51 +421,9 @@ chassis -e my_extension
421
421
 
422
422
  The generated extension includes placeholders to fill in your own code, tasks, and templates.
423
423
 
424
- ## Release Notes
424
+ ## More Info
425
425
 
426
- ##### v1.1.0 (June 17, 2013)
427
-
428
- - Added support for extensions.
429
- - Removed DataMapper and Pony (they're now extensions).
430
- - Updated the Gemfile to use the RubyGems url string.
431
- - Updated Sinatra version to 1.4.3.
432
- - Required ./app.rb from Chassis instead of the app.
433
- - Added an extension template generator.
434
- - Added a ton of documentation to the readme.
435
-
436
- ##### v1.0.5 (June 8, 2013)
437
-
438
- - Added the option to generate "bare" CoffeeScript if Tilt::CoffeeScriptTemplate.default\_bare is set to true.
439
-
440
- ##### v1.0.4 (June 7, 2013)
441
-
442
- - Updated the truncate helper to round numbers when truncating.
443
- - Updated the required gems to newer versions.
444
- - Cleaned up the default readme, no longer requiring Kramdown.
445
- - Added asset minifying.
446
-
447
-
448
- ##### v1.0.3 (May 7, 2013)
449
-
450
- - Added /modules to the default load path.
451
- - Fixed the truncate helper to work with the numberic? helper.
452
-
453
- ##### v1.0.2 (April 6, 2013)
454
-
455
- - Moved require_directory below session setup in app.rb.
456
- - Deprecated settings.load_path in favor of a default Array of directories.
457
- - Disabled settings.mobile\_views by default.
458
- - Fixed mobile view routing.
459
-
460
- ##### v1.0.1 (March 25, 2013)
461
-
462
- - Updated the gem license ownership.
463
- - Replaced the :rubygems symbol in the Gemfile with the string 'https://rubygems.org'.
464
- - Locked in Sinatra v.1.3.4 (until sinatra-contrib supports Sinatra v1.4).
465
-
466
- ##### v1.0.0 (February 5, 2013)
467
-
468
- - First!
426
+ Check out the [wiki](https://github.com/jarrodtaylor/sinatra-chassis/wiki) for more info.
469
427
 
470
428
  ## License
471
429
 
@@ -210,7 +210,7 @@ module Sinatra
210
210
  month = "<select class='month_select #{options[:select_class]}'#{month_id}#{month_name}>"
211
211
  months.each do |m|
212
212
  options[:month_name] ? d = m[:name] : d = m[:num]
213
- month << "<option value='#{m[:num]}' #{'selected' if m[:num] == date.strftime('%m').to_i}>#{d}</option>"
213
+ month << "<option value='#{m[:num]}' #{'selected' if m[:num] == date.strftime('%m')}>#{d}</option>"
214
214
  end
215
215
  month << "</select>"
216
216
 
@@ -4,7 +4,7 @@ gem 'coffee-script', '>= 2.2.0'
4
4
  gem 'jsmin', '>= 1.0.1'
5
5
  gem 'sass', '>= 3.2.9'
6
6
  gem 'sinatra', '>= 1.4.3'
7
- gem 'sinatra-chassis', '>= 1.1.0', require: 'sinatra/chassis'
7
+ gem 'sinatra-chassis', '>= 1.1.1', require: 'sinatra/chassis'
8
8
  gem 'sinatra-contrib', '>= 1.4.0', require: 'sinatra/contrib'
9
9
 
10
10
  # gem 'chassis-datamapper'
@@ -18,6 +18,6 @@ Gem::Specification.new do |s|
18
18
 
19
19
  s.required_ruby_version = ">= 1.9.2"
20
20
 
21
- s.add_dependency 'sinatra-chassis', '>= 1.1.0'
21
+ s.add_dependency 'sinatra-chassis', '>= 1.1.1'
22
22
 
23
23
  end
@@ -4,7 +4,7 @@ $:.push File.expand_path('../lib', __FILE__)
4
4
  Gem::Specification.new do |s|
5
5
 
6
6
  s.name = 'sinatra-chassis'
7
- s.version = '1.1.0'
7
+ s.version = '1.1.1'
8
8
  s.author = 'Jarrod Taylor'
9
9
  s.email = 'jarrodtaylor@icloud.com'
10
10
  s.homepage = 'http://jarrodtaylor.github.io/sinatra-chassis'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sinatra-chassis
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-06-17 00:00:00.000000000 Z
12
+ date: 2013-07-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: coffee-script