sooner 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
data/Github ADDED
@@ -0,0 +1,25 @@
1
+ Global setup:
2
+ Download and install Git
3
+ git config --global user.name "Shenouda Bertel"
4
+ git config --global user.email ShenoudaB@gmail.com
5
+
6
+ Next steps:
7
+ mkdir sooner
8
+ cd sooner
9
+ git init
10
+ touch README
11
+ git add README
12
+ git commit -m 'first commit'
13
+ git remote add origin git@github.com:shenoudab/sooner.git
14
+ git push origin master
15
+
16
+ Existing Git Repo?
17
+ cd existing_git_repo
18
+ git remote add origin git@github.com:shenoudab/sooner.git
19
+ git push origin master
20
+
21
+ Importing a Subversion Repo?
22
+ Click here
23
+
24
+ When you're done:
25
+ Continue
@@ -18,9 +18,9 @@ module Sooner
18
18
  result = @subscriber.save
19
19
  end
20
20
  if result
21
- format.html { render :partial => "subscribed" }
21
+ format.html { render "subscribed" }
22
22
  else
23
- format.html { render :partial => "already_subscribed" }
23
+ format.html { render "already_subscribed" }
24
24
  end
25
25
  end
26
26
  end
@@ -12,14 +12,11 @@ Some setup you must do manually if you haven't yet:
12
12
  actual host of your application
13
13
 
14
14
  2. Ensure you have defined root_url to *something* in your config/routes.rb.
15
- For example:
16
15
 
17
- root :to => "home#index"
16
+ root :to => "sooner/subscribers#new"
18
17
 
19
18
  3. Ensure you have flash messages in app/views/layouts/application.html.erb.
20
- For example:
21
19
 
22
- <p class="notice"><%= notice %></p>
23
- <p class="alert"><%= alert %></p>
20
+ <p class="sooner"><%= sooner %></p>
24
21
 
25
22
  ===============================================================================
@@ -1,6 +1,6 @@
1
1
  class SoonerCreateSubscribers < ActiveRecord::Migration
2
2
  def self.up
3
- create_table :subscribers, :id => false do |t|
3
+ create_table :subscribers do |t|
4
4
  t.string :name
5
5
  t.string :email
6
6
  #Any additional fields here
@@ -15,4 +15,4 @@ class SoonerCreateSubscribers < ActiveRecord::Migration
15
15
  def self.down
16
16
  drop_table :subscribers
17
17
  end
18
- end
18
+ end
@@ -1,3 +1,3 @@
1
1
  module Sooner
2
- VERSION = "0.0.4".freeze
2
+ VERSION = "0.0.5".freeze
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 4
9
- version: 0.0.4
8
+ - 5
9
+ version: 0.0.5
10
10
  platform: ruby
11
11
  authors:
12
12
  - Shenouda Bertel
@@ -29,6 +29,7 @@ extra_rdoc_files: []
29
29
  files:
30
30
  - README.rdoc
31
31
  - Gemfile
32
+ - Github
32
33
  - MIT-LICENSE
33
34
  - Rakefile
34
35
  - app/controllers/sooner/subscribers_controller.rb