partially_useful 0.0.1 → 0.0.2

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: 4984329239fd5a85108938655401c329977ceb8e
4
- data.tar.gz: abd37c9937630d613140a3143ab9cc13bfd14f88
3
+ metadata.gz: 1e229c40c10a43e789e8898f07979db26e5f8568
4
+ data.tar.gz: 73857d35476f11ba4c64b35a42178f57d32e483e
5
5
  SHA512:
6
- metadata.gz: 4f6f880cc74e312e10e73c38f0695bcab871526f7061be02adfa52c72d1aebe4db82f88c60510b8d3908c84f96bc2864b7cca77d76a675da89db6605e2479415
7
- data.tar.gz: f8ec63080e1ff8efc7316665c6a3d6335636b7d8ab3419f214220496f680d0b348823adc1977573ef620679aa54449bccdc17b2e9cef9c59bcb219bf9c92f3e7
6
+ metadata.gz: 5f81ff24b5c74de8915a64f18fa74a27922ababe18cc0be3e9f1d66d3a005cee7f6bbd55ef06ce45973e85b3ba444c74407a087248e7906cb716cf2f3d6f3656
7
+ data.tar.gz: 7d7aa49f72198e4bb70376c1439608880863b0b823798bda1aec5acce21b88f8375f3c0418f99f8baeec02ab7f41fa50ce62b60fe4e72fcc9b8fc316cc35be27
data/.travis.yml CHANGED
@@ -1,3 +1,5 @@
1
1
  script: "bundle exec rake"
2
2
  rvm:
3
+ - 2.0.0
3
4
  - 2.1.0
5
+ - 2.1.1
data/CHANGELOG.md ADDED
@@ -0,0 +1,8 @@
1
+ # 0.0.2
2
+
3
+ * support ruby 2.0.0
4
+ * uses a railtie instead of an engine
5
+
6
+ # 0.0.1
7
+
8
+ * initial version
data/Gemfile.lock CHANGED
@@ -1,22 +1,22 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- partially_useful (0.0.1)
5
- railties (>= 4)
4
+ partially_useful (0.0.2)
5
+ railties (~> 4.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- actionpack (4.1.1)
11
- actionview (= 4.1.1)
12
- activesupport (= 4.1.1)
10
+ actionpack (4.1.0)
11
+ actionview (= 4.1.0)
12
+ activesupport (= 4.1.0)
13
13
  rack (~> 1.5.2)
14
14
  rack-test (~> 0.6.2)
15
- actionview (4.1.1)
16
- activesupport (= 4.1.1)
15
+ actionview (4.1.0)
16
+ activesupport (= 4.1.0)
17
17
  builder (~> 3.1)
18
18
  erubis (~> 2.7.0)
19
- activesupport (4.1.1)
19
+ activesupport (4.1.0)
20
20
  i18n (~> 0.6, >= 0.6.9)
21
21
  json (~> 1.7, >= 1.7.7)
22
22
  minitest (~> 5.1)
@@ -30,9 +30,9 @@ GEM
30
30
  rack (1.5.2)
31
31
  rack-test (0.6.2)
32
32
  rack (>= 1.0)
33
- railties (4.1.1)
34
- actionpack (= 4.1.1)
35
- activesupport (= 4.1.1)
33
+ railties (4.1.0)
34
+ actionpack (= 4.1.0)
35
+ activesupport (= 4.1.0)
36
36
  rake (>= 0.8.7)
37
37
  thor (>= 0.18.1, < 2.0)
38
38
  rake (10.3.1)
data/README.md CHANGED
@@ -31,6 +31,10 @@ The plugin is enabled by default, buy you can disable it in your rails configura
31
31
  config.partially_useful = false
32
32
  ```
33
33
 
34
+ ## Supported Ruby versions
35
+
36
+ See .travis.yml
37
+
34
38
  ## Contributing
35
39
 
36
40
  1. Fork it ( https://github.com/[my-github-username]/partially_useful/fork )
@@ -1,3 +1,3 @@
1
1
  require "partially_useful/version"
2
2
  require "partially_useful/partial_renderer"
3
- require "partially_useful/engine"
3
+ require "partially_useful/railtie"
@@ -1,10 +1,10 @@
1
1
  module PartiallyUseful
2
- class Engine < Rails::Engine
2
+ class Railtie < Rails::Railtie
3
3
  config.partially_useful = true
4
4
 
5
5
  initializer :partially_useful do |app|
6
6
  if app.config.partially_useful
7
- ActionView::PartialRenderer.prepend PartiallyUseful::PartialRenderer
7
+ ActionView::PartialRenderer.send(:prepend, PartiallyUseful::PartialRenderer)
8
8
  end
9
9
  end
10
10
  end
@@ -1,3 +1,3 @@
1
1
  module PartiallyUseful
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: partially_useful
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
  - phoet
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-11 00:00:00.000000000 Z
11
+ date: 2014-05-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -61,13 +61,14 @@ extra_rdoc_files: []
61
61
  files:
62
62
  - ".gitignore"
63
63
  - ".travis.yml"
64
+ - CHANGELOG.md
64
65
  - Gemfile
65
66
  - Gemfile.lock
66
67
  - README.md
67
68
  - Rakefile
68
69
  - lib/partially_useful.rb
69
- - lib/partially_useful/engine.rb
70
70
  - lib/partially_useful/partial_renderer.rb
71
+ - lib/partially_useful/railtie.rb
71
72
  - lib/partially_useful/version.rb
72
73
  - partially_useful.gemspec
73
74
  - test/dummy/Rakefile