sinatra-decorator 0.0.1 → 0.0.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dac99779fb490d7e38e0d6865bc666ae9e195497
4
- data.tar.gz: a2ab9a7aedc6a84d3f21fdc90f193822b25633f9
3
+ metadata.gz: a520a7de4af54c40a8d0d31134a08290c620ef21
4
+ data.tar.gz: f3cd6cee69c92deff6bfd369ce6c1967c32e8ab6
5
5
  SHA512:
6
- metadata.gz: c0217bed1404b42db04b327bd16df42efbbdb0cc4437f4e4b1d8aa1543a7bae493012b3cb91c441c0d6a951946f30a8dc73bfd9624e12eeefd88414524eb8cf6
7
- data.tar.gz: b436860c01bd959f205427b471fd043f0c200baab6c66aa03b9f3dadc0a03e7b808f8591b9dd89ba79718260472e93f462f98db2f7249e411ff8841fea4eecbc
6
+ metadata.gz: bee14b9fca296290ec1823e751f93acd955fa42f1799dabfbec4745c80025f0027088231a48876cfa8171638f92032b88a7ad71c3ecc2d2e9c807384f4b0f8da
7
+ data.tar.gz: 4d07bb0c19e2a5eb025f46fcc1dc3b2c9e88a1ea9d18a1b00bc29b796d252ccfe3631b27adfc9389842dd0ca1a6c8eb5ac77343759cd424b5e0458ff24e6ab31
data/LICENSE CHANGED
@@ -1,3 +1,4 @@
1
+ Copyright (c) 2013 Takeshi Yabe
1
2
  Copyright (c) 2014 Naotoshi Seo
2
3
 
3
4
  MIT License
data/README.md CHANGED
@@ -13,7 +13,7 @@ Adds an object-oriented layer of presentation logic to your Sinatra application.
13
13
  Add the following to your `Gemfile`:
14
14
 
15
15
  ```ruby
16
- gem 'sinatra-decorator'
16
+ gem 'sinatra/decorator'
17
17
  ```
18
18
 
19
19
  And then execute:
@@ -28,7 +28,7 @@ $ bundle
28
28
  # app.rb
29
29
  require 'sinatra'
30
30
  require 'slim'
31
- require 'sinatra-decorator'
31
+ require 'sinatra/decorator'
32
32
  require_relative 'models/post'
33
33
  require_relative 'decorators/post_decorator'
34
34
 
@@ -74,7 +74,8 @@ div
74
74
 
75
75
  ## Copyright
76
76
 
77
- Copyright (c) 2014 Naotoshi Seo. See [LICENSE](LICENSE) for details.
77
+ * Copyright (c) 2013 Takeshi Yabe (the author of [padrino-decorator](https://github.com/tyabe/padrino-decorator)).
78
+ * Copyright (c) 2014 Naotoshi Seo. See [LICENSE](LICENSE) for details.
78
79
 
79
80
  ## Special Thanks
80
81
 
@@ -1,6 +1,2 @@
1
- require 'active_support/core_ext'
2
- require 'sinatra-decorator/version'
3
- require 'sinatra-decorator/base'
4
- require 'sinatra-decorator/decoratable'
5
- require 'sinatra-decorator/decorate_helpers'
1
+ require 'sinatra/decorator'
6
2
 
@@ -0,0 +1,7 @@
1
+ require 'active_support/core_ext'
2
+ require 'sinatra/decorator/version'
3
+ require 'sinatra/decorator/base'
4
+ require 'sinatra/decorator/decoratable'
5
+ require 'sinatra/decorator/decorate_helpers'
6
+
7
+
@@ -1,6 +1,6 @@
1
1
  module Sinatra
2
2
  module Decorator
3
- VERSION = '0.0.1' unless defined?(Sinatra::Decorator::VERSION)
3
+ VERSION = '0.0.2' unless defined?(Sinatra::Decorator::VERSION)
4
4
 
5
5
  def self.version
6
6
  VERSION
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env gem build
2
2
  # encoding: utf-8
3
3
 
4
- require File.expand_path('../lib/sinatra-decorator/version', __FILE__)
4
+ require File.expand_path('../lib/sinatra/decorator/version', __FILE__)
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "sinatra-decorator"
@@ -4,7 +4,7 @@ APP_ROOT = File.dirname(__FILE__)
4
4
  $: << File.expand_path(File.join(File.dirname(__FILE__), '..', '..','lib'))
5
5
  require 'rack/test'
6
6
  require File.expand_path("#{File.dirname(__FILE__)}/mini_shoulda")
7
- require 'sinatra-decorator'
7
+ require 'sinatra/decorator'
8
8
  require 'turn'
9
9
 
10
10
  class MiniTest::Spec
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sinatra-decorator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Naotoshi Seo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-27 00:00:00.000000000 Z
11
+ date: 2014-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -45,10 +45,11 @@ files:
45
45
  - example/models/post.rb
46
46
  - example/views/show.slim
47
47
  - lib/sinatra-decorator.rb
48
- - lib/sinatra-decorator/base.rb
49
- - lib/sinatra-decorator/decoratable.rb
50
- - lib/sinatra-decorator/decorate_helpers.rb
51
- - lib/sinatra-decorator/version.rb
48
+ - lib/sinatra/decorator.rb
49
+ - lib/sinatra/decorator/base.rb
50
+ - lib/sinatra/decorator/decoratable.rb
51
+ - lib/sinatra/decorator/decorate_helpers.rb
52
+ - lib/sinatra/decorator/version.rb
52
53
  - sinatra-decorator.gemspec
53
54
  - test/helpers/helper.rb
54
55
  - test/helpers/mini_shoulda.rb