simpre 0.0.1 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e23e137c714ac8c43d7bafdba7a5a87a1a704145
4
- data.tar.gz: 9e153e1bfcadf381575a7b46005a6defaaf75c99
3
+ metadata.gz: 8110c3a15c12208aa58335a1b75d9d10e263bddd
4
+ data.tar.gz: 6986f19ad9ec7baa0ead2ea7b79af1466c314bc5
5
5
  SHA512:
6
- metadata.gz: f3c6bc663bb27fb108ef50071b4173286b74f1a346663b8e0011896549df7fe68ccf85e32448c35d7b063979ac3cf74db26051bcff7b41603e9f055096d7fed2
7
- data.tar.gz: 292ceca49d51f760eed3c00b441de0bdd51f7376554e508f30aaf91ee9677615dd5d7d472e3586586c7028e8d276b0d24a117352271f2d981d40bf16a79e3981
6
+ metadata.gz: 2d1638e859fbf8a740218ff5631a97d6fd38ec6423639a1e0e23f365e46742878844afa849ccebd95218246ee5b91777ee1c29876824c285fd5135486ab0ff94
7
+ data.tar.gz: 129d227f8061d87783f7a3c560b5988044f78eac6e29b636c1cfc31fc463454a5454d99835cb2feda178a58a72eb065ed1e7cdf1d4114de8552d0d9a9ccb7a13
data/lib/simpre.rb CHANGED
@@ -1,6 +1,7 @@
1
1
  require 'simpre/helper'
2
2
  require 'simpre/presenter'
3
3
  require 'simpre/version'
4
+ require 'simpre/railtie' if defined?(Rails) && Rails::VERSION::MAJOR >= 3
4
5
 
5
6
  module Simpre
6
7
  end
@@ -0,0 +1,5 @@
1
+ class Simpre::Presenter
2
+ def h
3
+ ActionController::Base.helpers
4
+ end
5
+ end
@@ -1,3 +1,3 @@
1
1
  module Simpre
2
- VERSION = "0.0.1"
2
+ VERSION = '0.1.0'
3
3
  end
metadata CHANGED
@@ -1,41 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simpre
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jamie Dyer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-15 00:00:00.000000000 Z
11
+ date: 2016-06-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ~>
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.7'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ~>
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.7'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ~>
32
32
  - !ruby/object:Gem::Version
33
33
  version: '10.0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ~>
39
39
  - !ruby/object:Gem::Version
40
40
  version: '10.0'
41
41
  description: A super simple presenter implementation for Rails apps
@@ -45,7 +45,7 @@ executables: []
45
45
  extensions: []
46
46
  extra_rdoc_files: []
47
47
  files:
48
- - ".gitignore"
48
+ - .gitignore
49
49
  - Gemfile
50
50
  - LICENSE.txt
51
51
  - README.md
@@ -53,6 +53,7 @@ files:
53
53
  - lib/simpre.rb
54
54
  - lib/simpre/helper.rb
55
55
  - lib/simpre/presenter.rb
56
+ - lib/simpre/railtie.rb
56
57
  - lib/simpre/version.rb
57
58
  - simpre.gemspec
58
59
  homepage: https://github.com/kernow/simpre
@@ -65,17 +66,17 @@ require_paths:
65
66
  - lib
66
67
  required_ruby_version: !ruby/object:Gem::Requirement
67
68
  requirements:
68
- - - ">="
69
+ - - '>='
69
70
  - !ruby/object:Gem::Version
70
71
  version: '0'
71
72
  required_rubygems_version: !ruby/object:Gem::Requirement
72
73
  requirements:
73
- - - ">="
74
+ - - '>='
74
75
  - !ruby/object:Gem::Version
75
76
  version: '0'
76
77
  requirements: []
77
78
  rubyforge_project:
78
- rubygems_version: 2.4.1
79
+ rubygems_version: 2.0.14.1
79
80
  signing_key:
80
81
  specification_version: 4
81
82
  summary: A super simple presenter implementation for Rails apps