jhubert_common 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -2,8 +2,3 @@ source "http://rubygems.org"
2
2
 
3
3
  # Specify your gem's dependencies in jhubert_common.gemspec
4
4
  gemspec
5
-
6
- # Development dependencies
7
- gem "rake"
8
- gem "activesupport", "~>3.0"
9
- gem "sqlite3-ruby"
@@ -12,7 +12,6 @@ Gem::Specification.new do |s|
12
12
  s.summary = %q{A set of common helpers that I use in my projects}
13
13
  s.description = %q{A set of common helpers that I use in my projects}
14
14
 
15
- s.add_dependency "activerecord", "~> 3.0"
16
15
  s.rubyforge_project = "jhubert_common"
17
16
 
18
17
  s.files = `git ls-files`.split("\n")
File without changes
@@ -1,7 +1,9 @@
1
+ require 'jhubert_common/view_helpers'
2
+
1
3
  module JhubertCommon
2
4
  class Railtie < Rails::Railtie
3
5
  initializer "jhubert_common.view_helpers" do
4
- ActionView::Base.send :include, ViewHelpers
6
+ ActionView::Base.send :include, JhubertCommon::ViewHelpers
5
7
  end
6
8
  end
7
9
  end
@@ -1,3 +1,3 @@
1
1
  module JhubertCommon
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jhubert_common
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
10
- version: 0.0.1
9
+ - 2
10
+ version: 0.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jeremy Hubert
@@ -15,23 +15,9 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-02-19 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
21
- name: activerecord
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
24
- none: false
25
- requirements:
26
- - - ~>
27
- - !ruby/object:Gem::Version
28
- hash: 7
29
- segments:
30
- - 3
31
- - 0
32
- version: "3.0"
33
- type: :runtime
34
- version_requirements: *id001
18
+ date: 2012-02-21 00:00:00 Z
19
+ dependencies: []
20
+
35
21
  description: A set of common helpers that I use in my projects
36
22
  email:
37
23
  - jhubert@gmail.com
@@ -44,14 +30,13 @@ extra_rdoc_files: []
44
30
  files:
45
31
  - .gemtest
46
32
  - .gitignore
47
- - .rvmrc
48
33
  - Gemfile
49
34
  - Gemfile.lock
50
35
  - LICENSE
51
36
  - README.md
52
37
  - Rakefile
53
38
  - jhubert_common.gemspec
54
- - lib/jhubert_common.gemspec
39
+ - lib/jhubert_common.rb
55
40
  - lib/jhubert_common/railtie.rb
56
41
  - lib/jhubert_common/version.rb
57
42
  - lib/jhubert_common/view_helpers.rb
data/.rvmrc DELETED
@@ -1,47 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- # This is an RVM Project .rvmrc file, used to automatically load the ruby
4
- # development environment upon cd'ing into the directory
5
-
6
- # First we specify our desired <ruby>[@<gemset>], the @gemset name is optional.
7
- environment_id="ruby-1.8.7-p352@clean"
8
-
9
- #
10
- # Uncomment following line if you want options to be set only for given project.
11
- #
12
- # PROJECT_JRUBY_OPTS=( --1.9 )
13
-
14
- #
15
- # First we attempt to load the desired environment directly from the environment
16
- # file. This is very fast and efficient compared to running through the entire
17
- # CLI and selector. If you want feedback on which environment was used then
18
- # insert the word 'use' after --create as this triggers verbose mode.
19
- #
20
- if [[ -d "${rvm_path:-$HOME/.rvm}/environments" \
21
- && -s "${rvm_path:-$HOME/.rvm}/environments/$environment_id" ]]
22
- then
23
- \. "${rvm_path:-$HOME/.rvm}/environments/$environment_id"
24
-
25
- if [[ -s "${rvm_path:-$HOME/.rvm}/hooks/after_use" ]]
26
- then
27
- . "${rvm_path:-$HOME/.rvm}/hooks/after_use"
28
- fi
29
- else
30
- # If the environment file has not yet been created, use the RVM CLI to select.
31
- if ! rvm --create "$environment_id"
32
- then
33
- echo "Failed to create RVM environment '${environment_id}'."
34
- exit 1
35
- fi
36
- fi
37
-
38
- #
39
- # If you use an RVM gemset file to install a list of gems (*.gems), you can have
40
- # it be automatically loaded. Uncomment the following and adjust the filename if
41
- # necessary.
42
- #
43
- # filename=".gems"
44
- # if [[ -s "$filename" ]] ; then
45
- # rvm gemset import "$filename" | grep -v already | grep -v listed | grep -v complete | sed '/^$/d'
46
- # fi
47
-